Thresholding an image

NI Vision Builder AI Vision Assistant

Thresholding an image

  1. Click Grayscale»Threshold or click Threshold in the Grayscale tab of the Processing Functions palette.
  2. Select the type of threshold you want to perform.
Note  You cannot adjust the threshold levels of the automatic thresholds. If none of the automatic thresholds work for the image, select Manual Threshold and adjust the pointers on the histogram until all of the particles of interest are highlighted in red.
  1. Click OK to threshold the image and add this step to the script.
Tips  
  • If you have trouble finding a threshold range that selects all of the pixels in the range, draw an ROI around the portion of the image that you want to keep. The histogram displays the intensities of the ROI only. Use the minimum and maximum values for the threshold.
  • You can display the histogram in either linear or logarithmic form.

Related Topics

Grayscale Threshold (Grayscale»Threshold)