Thresholding an image
From NI Vision Builder AI Vision Assistant
Thresholding an image
- Click Color»Color Threshold or click Color Threshold in the Color tab of the Processing Functions palette.
- Select the color model (RGB, HSL, HSV, or HSI) you want to use to process the image.
- Adjust the blue and red lines on the Red (Hue), Green (Saturation), and Blue (Luminance/Value/Intensity) histograms until all of the particles of interest are highlighted with the color specified in Preview Color.
- Click OK to threshold the image and add this step to the script.
Tips
|