Wiki source code of Segmentation with nninteractive
Version 1.1 by flenners on 2026-02-06 11:35
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | **Segmentation with NN Interactive** |
| 2 | |||
| 3 | |||
| 4 | NN-interactive is an automated segmentation tool | ||
| 5 | |||
| 6 | [[https:~~/~~/github.com/MIC-DKFZ/napari-nninteractive?tab=readme-ov-file>>url:https://github.com/MIC-DKFZ/napari-nninteractive?tab=readme-ov-file]] | ||
| 7 | |||
| 8 | [[https:~~/~~/arxiv.org/abs/2503.08373>>url:https://arxiv.org/abs/2503.08373]] | ||
| 9 | |||
| 10 | The NN-interactive napari plugin is pre-installed on the maxwell cluster, so users do not need their own installation. To start Napari, use: | ||
| 11 | |||
| 12 | {{{module load maxwell napari | ||
| 13 | |||
| 14 | napari -w napari-nninteractive}}} | ||
| 15 | |||
| 16 | |||
| 17 | Start loading your image stack, e.g. via file-> open files as stack | ||
| 18 | |||
| 19 | After the stack is loaded, you can first need to click Initialize on the right side. | ||
| 20 | |||
| 21 | Then you can select a specific object, e.g. by selecting the point interaction tool, each time you click in the image, the selection is refined, also in the adjacent slices. The tool is designed to select single, interconnected objects. If you need to select a second object, click on “Next Object” and it will create a new layer for the second object. The different layers can be saved by using the export button on the lower right. | ||
| 22 | |||
| 23 | More details on how to use the plugin can be found in the arxiv paper. |