Any existing region features in the parent McRegions are cleared before performing the threshold operation. It is quite feasible to have a count of zero features after this operation.
If the AutoFindPhase is not mcfpManual (and if no SeedPoint is given), then before Execute does the thresholding, it will call FindIntensityRange to automatically set the IntensityRange property to the AutoFindPhase. When a SeedPoint argument is given, the IntensityRange property is used to set the window around the SeedPoint luminance and it must be set by the caller.
If the AutoFindPhase mcfpIgnoreAoi bit is set then the Aoi will be ignored during both phase intensity range detection and the threshold Execute operation. By default this bit is cleared, so these operations are restricted to the Aoi, and all regions detected will be interior to the Aoi.
After regions are detected, if the Smoothing property is anything other than 0 then the region boundaries are smoothed using the Smoothing property as the filter size.
The McThreshold instance must always be a child of an McRegions object. It is into this parent McRegions that the results are placed.
If the SeedPoint is outside of the Aoi (or outside of the Image when the AutoFindPhase mcfpIgnoreAoi bit is set), then no region is found and the McRegions will be left in the IsReset state.