Analysing segmentation from other napari plugins#
While manual analysis of regions can be effective for various applications, there are instances where automated methods are necessary. In such cases, other napari plugins can be used.
Plugins exist to segment many features common to biomedical images, and their results can be incorporated with BrainGlobe to analyse the distribution of features of interest within the context of an anatomical atlas.
To be compatible with
brainreg-segment, the third-party napari plugin must be able to take a 3D image layer as
input and return one of:
A 3D labels layer with either a 2 or 3D region labeled (e.g., segmenting bulk axonal projections)
A 3D points layer with a series of points corresponding to a trajectory through 3D space
It is possible to segment structures outside the
brainreg-segment plugin and import them in later (e.g., by
saving to a
.tiff and reloading). However, it is simpler to load the data using
brainreg-segment and then segment
it using a third-party plugin. This ensures that the coordinate spaces you are using are consistent.
Segmenting your feature of interest#
Analyse the segmented layer#
At this point you could load a layer segmented previously and saved to disk
If required, rename the layer to be analysed
Click either the
Region segmentationbuttons to load the respective panels.
Highlight the layer to be analysed in the napari layers list:
Click either the
Add track from selected layeror
Add region from selected layerbutton as applicable. This will add the region/points from the layer to the
brainreg-segmentanalysis list (in the same way as if it had been analysed manually within
Follow the instructions for either:
All data will be saved into your brainreg output directory