Click or drag to resize

IMcThresholdAutoFindPhase Property

Specifies the intensity range "phase" to automatically find to set the IntensityRange property.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Property AutoFindPhase As mcFindPhase
	Get
	Set

Property Value

Type: mcFindPhase
Remarks
An intensity phase is some section of the source luminance range from McImage.RangeMin to McImage.RangeMax. When this property is set to some value less than mcfpManual, then before Execute does the thresholding, it will call FindIntensityRange to automatically set the IntensityRange property to this phase. If the value is mcfpManual, then no change at all is made to the IntensityRange property values; i.e., caller must assign the IntensityRange property themself prior to calling Execute. Otherwise this can be either mcfpDarkest for the darkest phase (this is always phase 0) or mcfpBrightest for the brightest phase (this is always McThreshold.Histogram.MaxThresholdPhases-1). Or it can be a numeric phase number starting at zero (lowest luminance phase) up through McThreshold.Histogram.MaxThresholdPhases-1 (highest luminance phase). Phase numbers greater than McThreshold.Histogram.MaxThresholdPhases-1 are silently set to be mcfpBrightest. By default there are only these two phases. See FindIntensityRange for more discussion. By default the AutoFindPhase property is set to mcfpBrightest.
Note Note
The mcfpIgnoreAoi bit may be OR'ed into the property value to cause the Aoi to be ignored during both phase intensity range detection and the threshold Execute operation. This AutoFindPhase property bit also controls whether the region detected by Execute when a SeedPoint is given is restricted to the Aoi --- if mcfpIgnoreAoi is set, then it is not restricted to the Aoi, otherwise it is.
See Also