AutoThresholdMethod Property

NI Vision for Visual Basic

AutoThresholdMethod Property

Syntax

CWIMAQParticlePreprocessingOptions.AutoThresholdMethod

Data Type

CWIMAQAutoThresholdMethods

You can use the following constants with this data type:

  • cwimaqATMethodCluster—Sorts the histogram of the image within a discrete number of classes corresponding to the number of phases perceived in an image.
  • cwimaqATMethodEntropy—Best for detecting particles that are present in minuscule proportions on the image.
  • cwimaqATMethodInterVar—Well-suited for images in which classes have well separated pixel value distributions.
  • cwimaqATMethodMetric—Well-suited for images in which classes are not too disproportionate.
  • cwimaqATMethodMoments—Suited for images that have poor contrast.

Purpose

Option to automatically threshold the image.

See Also

ManualThreshold