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
SyntaxPublic Enumeration mcHistThresholdsMethod
Members
| Member name | Value | Description |
---|
| mchmCurrentMethod | 0 | Whatever method was already set. |
| mchmMinimumVarianceMethod | 1 | The 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. |
| mchmLegacyIPP4Method | 2 | A version of MinimumVariant with a biastowards low values. works with two phases only. |
| mchmTrimmedHistogramMethod | 3 | Three 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. |
| mchmMaskMethods | 255 | mask for the mchmXxxxMethod values |
| mchmIgnoreBlack | 4096 | Pixels in the leftmost bin are notincluded in the threshold computations, allowing you to ignore under
illuminanted regions. |
| mchmIgnoreWhite | 8192 | Pixels in the rightmost bin are notincluded in the threshold computations, allowing you to ignore
oversaturated regions. |
See Also