Skip to content

AnniekStok/napari-lumen-segmentation

Repository files navigation

napari-lumen-segmentation

License BSD-3 PyPI Python Version tests codecov napari hub

This plugin is still under development. It serves as a toolbox for segmentation and analysis of luminal structures.

The plugin heavily relies on several very useful open source packages and other napari plugins:


This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

Installation

You can install napari-lumen-segmentation via pip:

To install latest development version :

pip install git+https://github.com/AnniekStok/napari-lumen-segmentation.git

Usage

The 'Orthogonal Views' tab shows the xy and xz views, implementing the napari multiple viewer widget: napari multiple viewer widget

The 'Segmentation' tab aims to offer various tools for segmentation and measuring the size of the objects. The measured properties of the selected label mask can be viewed in the 'Label Plots' tab.

The 'Skeleton Analysis' tab implements skeletonization (skimage.morphology.skeletonize) of the selected label image, and displays skeleton properties (Skan)

The 'Distance Analysis' tab implements geodesic distance measurements from DIPlib, calculating distance maps that reflect the geodesic distance of any pixel on the 'mask' layer to pixels on the 'marker' layer. The marker can be either a Points layer or a Label layer. In case of a Label layer or a single points layer, the geodesic distance map will be added to the viewer. In case of a multi-point Points layer, the euclidean and geodesic distances from each point to each other point are calculated, and visualized in a table and plot.

The 'Calculate local thickness' button serves to run the 'local_thickness' function from localthickness on the selected Labels layer. In the resulting image, the voxel intensity reflects the local thickness of the foreground mask.

Note that voxel anisotropy is NOT taken into account here, and that all measurements are in voxels. Data should therefore be rescaled to isotropic dimensions before using this plugin.

License

Distributed under the terms of the BSD-3 license, "napari-lumen-segmentation" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages