Skip to main content
Version: 2026.11-beta

ROI

The ROI post-processing steps are used to create ROIs based on labels, create labels based on ROIs, or change an existing ROI from one type to another.

Outline As ROI

The Outline As ROI step creates an ROI around a chosen label. This step is primarily used in workflows where multiple APPs are run on the same image. Running a new APP overwrites any existing classification labels, but by outlining a classification label as an ROI, the detected region is preserved and can be used as input for later APPs in the workflow. Details on ensuring that the output from one APP is correctly used as input for another APP can be found under Input and Output Matching.

OptionDescription
LabelChoose a label to outline with an ROI. An ROI will be drawn around the edges of the label, and the Label will remain in the image.
To ROIChoose the ROI to draw.

Original Image
Original Image
Image after postprocessing

Original image (left). Image of the classification labels (Glomeruli and Background) with no post-processing steps (middle). Image with the Outline As ROI step applied to the Glomeruli label and two Change steps used to change the Glomeruli and Background labels to Clear for better visibility (right).

Create From ROI

The Create From ROI step will create a label from a ROI.

OptionDescription
ROIChoose the ROI that the label should be created from.
To labelChoose the label to create from the ROI.

Change ROI

The Change ROI step will replace all occurrences of a selected ROI with another ROI.

OptionDescription
ROIChoose a ROI to convert to another ROI.
Replace withChoose the ROI to convert to.

Enumerate Objects

The Enumerate Objects step identifies all objects with the selected label and/or ROI and assigns a unique sequential label or ROI type to each object. The objects label or ROI types are numbered according to the selected Direction.

OptionDescription
Objects
LabelChoose the label to enumerate or choose "Don't use" to only enumerate ROIs.
ROIChoose the ROI to enumerate or choose "Don't use" to only enumerate labels.
Output
As ROIsChoose As ROIs to create sequential ROI types.
As labelsChoose As labels to create sequential label types.
Start fromDefines the ROI or label number assigned to the first object in the sequence. For example, if ROI 001 and ROI 002 already exist, entering 3 starts the sequence from ROI 003.
DirectionSelect the order in which objects are identified and numbered. Available options are Top -> Bottom, Bottom -> Top, Left -> Right, and Right -> Left.

Original Image
Image after postprocessing
Image before applying the Enumerate Objects step, where all objects are assigned ROI 002 (left). Image after applying the Enumerate Objects step (right). In this example, Label is set to Don't Use, ROI is set to ROI 002, Output is set to As ROIs, and Start from is set to 1 (ROI 001, green). The numbering direction is set to Top -> Bottom, resulting in the topmost object being assigned ROI 001, the second object ROI 002, and so on.