Image segmentation with markers

../../../../_images/image_segmentation_markers.svg

Segments an input color or grayscale image into regions with integer labels starting from an input “marker” image giving initial labels

Documentation

Algorithms

Random walker

Segments grayscale or color image based on random walkers originating from labelled seed markers

beta:

Penalization for random walker motion, larger values give less diffusion

Watershed

Floods watershed basins starting from the labels in the input marker image

compact:

If not zero then use the compact-watershed algorithm giving more regularly shaped basins

line:

Draws a one-pixel area with value=0 around each region

Definition

Input ports

source image

source image to segment

markers image

image with markers to guide segmentation

Output ports

result image

result after segmentation

Configuration

Algorithm (algorithm)

(no description)

beta (beta)

(no description)

compact (compact)

(no description)

line (line)

(no description)

Implementation

class node_segmentation.SegmentationWithMarkers[source]