ThresholdMethod
Defines the method a function uses for binary thresholding. For information about automatic thresholding methods, refer to Chapter 8, Thresholding, of the NI Vision Concepts Manual.
Elements
Name | Value | Description |
---|---|---|
IMAQ_THRESH_CLUSTERING | 0 | The function uses a method that sorts the histogram of the image within a discrete number of classes corresponding to the number of phases perceived in an image. |
IMAQ_THRESH_ENTROPY | 1 | The function uses a method that is best for detecting particles that are present in minuscule proportions on the image. |
IMAQ_THRESH_METRIC | 2 | The function uses a method that is well-suited for images in which classes are not too disproportionate. |
IMAQ_THRESH_MOMENTS | 3 | The function uses a method that is suited for images that have poor contrast. |
IMAQ_THRESH_INTERCLASS | 4 | The function uses a method that is well-suited for images in which classes have well separated pixel value distributions. |
IMAQ_THRESHOLD_METHOD_SIZE_GUARD | 0xFFFFFFFF | Reserved |