Skip to content

Commands Overview

Pipeline commands are the building blocks of an analysis. Each command takes either an image or a set of objects as input and produces either a processed image or an updated set of objects as output.

Command Categories

CategoryColourInputOutput
Image processingGreyImageImage
Edge & feature detectionGreyImageImage
SegmentationWhiteImageBinary mask
MorphologyWhiteBinary/greyscale imageImage
Object processingGreenObjectsObjects / measurements

Image Processing

Commands for reducing noise and enhancing signal before segmentation.

CommandPurpose
BlurBox/average blur to reduce noise
Gaussian BlurEdge-preserving Gaussian blur
Rolling BallBackground subtraction
Rank FilterMin / median / max neighbourhood filter
Enhance ContrastHistogram-based contrast enhancement
Color FilterRetain pixels within an HSV colour range
Intensity TransformBrightness and contrast adjustment
Median SubtractSubtract the local median for background removal
Image MathCombine two images mathematically
Image CacheStore or retrieve an image from cache slots

Edge & Feature Detection

Commands for detecting edges, ridges, and local structures.

CommandPurpose
Canny Edge DetectionGradient-based edge detection with thresholding
Sobel Edge DetectionFast gradient-magnitude edge detection
HessianSecond-order structure (blobs and ridges)
LaplacianZero-crossing edge detection
Structure TensorLocal orientation and coherence
Weighted DeviationWeighted local standard deviation

Segmentation

Commands for separating foreground objects from background.

CommandPurpose
ThresholdConvert greyscale to binary with manual or automatic threshold
Connected ComponentsLabel each connected foreground region
WatershedSplit touching objects using intensity valleys

Morphology

Commands for modifying the shape of binary or greyscale regions.

CommandPurpose
Morphological TransformErosion, dilation, opening, closing

Object Processing

Commands that operate on extracted objects.

CommandPurpose
Extract ROIsConvert binary mask regions to segmentation-class objects
Classify ROIsFilter and assign final object classes
ColocalizationFind overlapping objects across classes
VoronoiPartition space from object centroids
Distance TransformMeasure distances between object pairs
Save ImageWrite a control image to disk

Typical Pipeline Order

Image
└─ Preprocessing (Blur, Rolling Ball, …)
└─ Segmentation (Threshold → Connected Components → Watershed)
└─ Extract ROIs
└─ Classify ROIs
└─ Object Processing (Colocalization, Distance, …)
└─ Save Image