Napari Plugin

ViterBrain Napari Plugin Installation

  • First, install brainlit [Documentation] (you may need to install from source with pip install -e ., since our pypi version may not reflect the latest changes in the repo).

  • Second, install napari.

  • The Plugins tab of napari should automatically find the brainlit plugin (Documentation).

How to Use the ViterBrain Napari Plugin

  • Build a ViterBrain object according to an image and some voxel-wise predictions. loading.py can be used for this with sample data found in experiments/ViterBrain/data/sample.zip.

  • Make sure you are using Python3.9 to run loading.py

  • Open the ViterBrain object in napari.

  • Launch the ViterBrain plugin widget.

  • Select the labels layer and hover over fragments with your cursor to identify fragment ID numbers in the bottom left of the napari window. Identify the desired start and end fragment and enter the ID's in the widget box.

  • Click trace and the plugin should generate a new path layer that shows the trace between the two fragments.