Color Threshold
Overview

Color Threshold node converts selected color ranges in the input frame into a binary mask where matching pixels are white and non-matching pixels are black.
Use this node to isolate color regions before feeding the mask into contour analysis, segmentation, or rule-based logic. It is also a useful tool for tuning Color Thresholds rules before connecting them to other nodes.
Input
Input Image
image requiredThe image frame to threshold. Connect this to a camera or upstream image output.
Color Thresholds
array requiredOne or more color rules that define which pixels become white in the output mask. See Color Thresholds for configuration details.
Morphology
object requiredMorphological operations applied to the binary mask to remove noise and fill gaps. See Morphology for details.
Post-Operation Crop Box
object advancedOptional rectangular region applied after thresholding and morphology. Only pixels inside this box are kept in the final mask. Defined by x, y, width, height in image pixel coordinates.
Output
Frame Out
imageBinary mask image. White pixels match the configured color rules; black pixels do not.
Non-Zero Pixel Coverage
numberRatio of white (matching) pixels to the total image area. Use this value in downstream logic nodes to detect when a target color occupies a significant portion of the frame.