Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Using Nara

Components

Common Process InputsBrightnessCircle Detection1D/2D Code ReaderColor DetectionColor ThresholdContrastMulti CropCropDetection Count ZonesFace DetectionFace RecognitionFeature MatchingFire & Smoke DetectionFlipGeneral Object DetectionImage ClassificationImage SimilarityKey Points DetectionNumber Plate ReaderObject DetectionOCRPose EstimationResizeRotateSaturationInstance SegmentationWatershed SegmentPolygon DetectionWhite Balance

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
NodesProcess

Color Threshold

Slot Usage: 0

Overview

Color threshold example

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 required

The image frame to threshold. Connect this to a camera or upstream image output.

Color Thresholds

array required

One or more color rules that define which pixels become white in the output mask. See Color Thresholds for configuration details.

Morphology

object required

Morphological operations applied to the binary mask to remove noise and fill gaps. See Morphology for details.

Post-Operation Crop Box

object advanced

Optional 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

image

Binary mask image. White pixels match the configured color rules; black pixels do not.

Non-Zero Pixel Coverage

number

Ratio 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.

Color Detection

Previous Page

Contrast

Next Page

On this page

OverviewInputInput ImageColor ThresholdsMorphologyPost-Operation Crop BoxOutputFrame OutNon-Zero Pixel Coverage