Click or drag to resize

mcFeatureMaskFlags Enumeration

Flags for the eControlFlags argument of the McFeatures.GetFeatureFlagsmethod

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcFeatureMaskFlags
Members
  Member nameValueDescription
mcfmfNoFlags0no flag bits
mcfmfReturnMaskImage0A McImage instance isreturned. This McImage is a mcImageQuickTypes of mciqtGray (that is 8-bit monochrome), where each pixel is 0xff for a foreground bit and 0x00 for a background bit of the mask.
mcfmfReturn8BitLabeledImage1A McImage instance isreturned. This McImage is an mcImageQuickTypes of mciqtGray (that is 8-bit monochrome), where each pixel is a value from 0x1 through 0xFF labeling connected blobs of foreground bits of the mask. The pixel value is an index+1 for the first 254 connected blobs (the value cycles from 1-255 thereafter - see mcfmfReturn12BitLabeledImage, mcfmfReturn16BitLabeledImage and mcfmfReturnMcBitMask for how to deal with counts larger than 254)
mcfmfReturn16BitLabeledImage2A McImage instance isreturned. This McImage is an mcImageQuickTypes of mciqtGray16 (that is 16-bit monochrome), where each pixel is a value from 0x0001 through 0xFFFF labeling connected blobs of foreground bits of the mask. The pixel value is an index+1 for the first 65534 connected blobs (see mcfmfReturn8BitLabeledImage for cases known to have fewer than 254 connected regions and mcfmfReturn12BitLabeledImage for cases with fewer than 4094 blobs).
mcfmfReturnMcBitMask4A McBitMask instance iscreated and returned. This instance holds a copy of a scan list for the foreground regions.
mcfmfInvertBits8Foreground and backgroundbits are inverted in the result bitmap or labeled image.
mcfmfUseFeatureBoundsAsDefault16if the vrectBoundsargument is missing, then the bounds of the returned image or scan list will be the bounds of the selected features (an error is generated if no features are selected). Without this argument or the mcfmfUseAoiBoundsAsDefault flag, the default mask bounds are those of the whole parent image (if any) or of the optional varImage argument (if any). Any supplied vrectBounds, overrides this flag.
mcfmfUseAoiBoundsAsDefault32if the vrectBounds argumentis missing and the mcfmfUseFeatureBoundsAsDefault flag is not set, then the bounds of the returned image or scan list will be the bounds of the parent McImage.Aoi (if any) or of the optional varImage argument's Aoi (if any). Any supplied vrectBounds, overrides this flag.
mcfmfReturn12BitLabeledImage64A McImage instance isreturned. This McImage is an mcImageQuickTypes of mciqtGray12 (that is 12-bit monochrome), where each pixel is a value from 0x0001 through 0x0FFF labeling connected sets of foreground bits of the mask. The pixel value is an index+1 for the first 4094 connected blobs (see mcfmfReturn8BitLabeledImage for cases known to have fewer than 254 connected regions).
mcfmfAddMaskImageToCollection256if McImage creation isdone, the new image is added to the collection. If not set, the new image is not part of the Images collection; the image will not be visible unless the mcfmfMakeMaskImageVisible flag bit is set.
mcfmfDisplayMaskImage512if McImage creationis done, the new image is displayed in a new window. If not set, the new image is not immediately displayed. It may be displayed later by adding it to the collection (mcfmfAddMaskImageToCollection) and then setting its Visible property True. Setting this bit effectively forces on mcfmfAddMaskImageToCollection.
mcfmfForceConnect84096If set, sub-regions arecounted and labeled using an 8-connected (rather than a 4-connected) test. If not set, then the OptionFlags' mcofConnect8 bit is used to determine the test.
mcfmfForceConnect48192If set, sub-regions arecounted and labeled using a 4-connected (rather than an 8-connected) test. If not set, then the OptionFlags' mcofConnect8 bit is used to determine the test.
mcfmfForceXorOnMerge65536If set, foreground bitsof overlapping features are combined using an Xor operation (rather than an Or operation). If not set, then the features' Status mcfsfXorOnMerge bit is used to determine the merge method.
mcfmfForceOrOnMerge131072If set, foreground bitsof overlapping features are combined using an Or operation (rather than an Xor operation). If not set, then the features' Status mcfsfXorOnMerge bit is used to determine the merge method.
mcfmfDefaultFlags0default is an undisplayedimage, not part of the collection or displayed, with bounds of those of any parent image or varImage argument. The the features' Status mcfsfXorOnMerge bit is used to determine the merge method (Xor or Or) for overlapping features.
See Also