CWIMAQLocalThresholdMethods Enumeration

NI Vision for Visual Basic

CWIMAQLocalThresholdMethods Enumeration

CWIMAQLocalThresholdMethods are the constants for the Method property on the CWIMAQLocalThresholdOptions object.

You can use the following constants with this data type:

  • cwimaqLocalThresholdMethodBackgroundCorrection—The method performs background correction first to eliminate non-uniform lighting effects, then performs thresholding using the Otsu thresholding algorithm.
  • cwimaqLocalThresholdMethodNiblack—The method computes thresholds for each pixel based on its local statistics using the Niblack local thresholding algorithm.

See Also

CWIMAQVision.LocalThreshold

CWIMAQLocalThresholdOptions