Click or drag to resize

mcHistThresholdsMethod Enumeration

Values for the McHistogram SetThresholdParameters function's andMaxThresholdPhases property's' Method argument. The mchmIgnoreBlack and mchmIgnoreWhite flags may be or'ed with one of the mchmXxxxMethod values.

Namespace:  MediaCy.IQL.Operations
Assembly:  MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcHistThresholdsMethod
Members
  Member nameValueDescription
mchmCurrentMethod0Whatever method was already set.
mchmMinimumVarianceMethod1The ratio of between-phase to total varianceis minimized (method of Otsu). Works with either two or three phases. This is the default method if SetThresholdParameters has not been called.
mchmLegacyIPP4Method2A version of MinimumVariant with a biastowards low values. works with two phases only.
mchmTrimmedHistogramMethod3Three phases are computed, based on theTrimLeftPercent and TrimRightPercent arguments to SetThresholdParameters. Phase 0 is the leftmost, trimmed section of the histogram, Phase 1 is the middle section between the trimmed portions, and Phase 2 is the rightmost, trimmed section of the histogram. If only two phases are set as the NumberOfPhases, then only the left two are available.
mchmMaskMethods255mask for the mchmXxxxMethod values
mchmIgnoreBlack4096Pixels in the leftmost bin are notincluded in the threshold computations, allowing you to ignore under illuminanted regions.
mchmIgnoreWhite8192Pixels in the rightmost bin are notincluded in the threshold computations, allowing you to ignore oversaturated regions.
See Also