Segmentation Assistant for ROItool (nnInteractive)

image.png

This assistant allows users to create and refine 3D ROIs using interactions. Images, masks, and successive interactions are processed by a deep learning model hosted on a remote server.

The current version of the model is nnInteractive (Isensee, Rokuss, Krämer et. al., 2025). nnInteractive repository

1. Usage

First, select an ROI from the ROI list to make it the active target for segmentation.

Point Interaction

Scribble Interaction

BBox Interaction

Reset Interactions

2. Server Setup

The segmentation server must be running, typically on a machine with a GPU. First, navigate to the src/python/segmentation_assistant_server directory and launch the setup.sh script (requires internet access):



bash

cd src/python/segmentation_assistant_server
./setup.sh

This will create a Python virtual environment and install the necessary dependencies.

Next, start the server from a computing node with:



bash

cd src/python/segmentation_assistant_server
./start.sh

3. Client Configuration

Once the server is running, it will log its port. You must update this client's configuration to point to that address.

Edit the file: conf/segmentationserver.conf

Set the REMOTE_SEGMENTATION_BASE_URL to the server's address, for example:



json

{"REMOTE_SEGMENTATION_BASE_URL":"http://<SERVER_IP>:PORT"}

Important: You must restart Nora for the changes to take effect.


Revision #4
Created 16 October 2025 09:31:51 by reisertm
Updated 20 November 2025 14:16:44 by Tidiane