Click or drag to resize

mcSegmentationControlFlags Enumeration

Values for the IMcThresholdEx.SegmentationControlFlags property.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcSegmentationControlFlags
Members
  Member nameValueDescription
mcscfNoFlags0no flags. This is the default
mcscfHonorNonNaturalSizeRatio1By default, when this flag isclear, the IMcThresholdEx.ScalingSizeRatio property denotes the largest acceptable X,Y size ratio (sub-sampling) at which to apply the thresholding so as to decrease the time that the operation takes. The actual thresholding will be performed at the largest natural SizeRatio which is no larger than the assigned ScalingSizeRatio. If this flag is set, then the thresholding is performed at the sub-sampling specified by the IMcThresholdEx.ScalingSizeRatio property. Available natural size ratios are taken advantage of if possible, but between those size ratios simple pixel/scanline skipping is used for the sub-sampling.
mcscfExposeSizeRatioAsAssigned2If set, then on access, theIMcThresholdEx.ScalingSizeRatio property exposes whatever value was last assigned to that property. If clear, the default, the IMcThresholdEx.ScalingSizeRatio property exposes the Size Ratio that was actually used to process the last McThreshold.Execute operation. Note that if the mcscfHonorNonNaturalSizeRatio flag is clear (as it is by default), then the size ratio actually used to access image data may be different than the assigned IMcThresholdEx.ScalingSizeRatio property value.
mcscfNoRescaleResults4If set and the size ratioused to access image data during the McThreshold.Execute operation is anything other than 1, then the detected foreground features are left unscaled at the sub-sampled size ratio. If clear, the default, then after foreground features are detected at a subsampled size ratio, the resulting scan list is rescaled to the original full scale coordinates.
mcscfUnlabelOperation16If set, then the source image Type mustbe monochrome 8, 16 or 32-bit integer where each non-zero pixel value is a feature label and each zero pixel value is unlabeled background. When mcscfUnlabelOperation is set, thresholds are completely ignored by McThreshold.Execute; instead, features are areas where the same label value exists in adjacent pixels. Note that since adjacent pixels can have different non-zero labels and widely scattered pixels might have the same label value, there is no guarantee that the foreground bits in any given feature are in a single connected region. The parent McRegions is forced into union mode.
mcscfUnlabelKeepTags32A bit that can be combined with themcscfUnlabelOperation flag to cause the feature indices in the created McRegions or McBitMask to have the same values as the labels in the source image if possible. To make this possible, the label values within the thresholded ROI must go from 1 up to some maximum value with no missing intervening label values. If this bit is clear or if the existing labels do not go continuously from 1 to some maximum, then the McRegions feature indices will represent unique image label values, but will usually not be the same numbers as the labels. Relabeled feature indices will tend to start at 0 in the upper left of the ROI and increase to the right and down.
See Also