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
SyntaxPublic Enumeration mcFeatureMaskFlags
Members
| Member name | Value | Description |
---|
| mcfmfNoFlags | 0 | no flag bits |
| mcfmfReturnMaskImage | 0 | A 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. |
| mcfmfReturn8BitLabeledImage | 1 | A 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) |
| mcfmfReturn16BitLabeledImage | 2 | A 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). |
| mcfmfReturnMcBitMask | 4 | A McBitMask instance iscreated and returned. This instance holds a copy of a scan list for
the foreground regions. |
| mcfmfInvertBits | 8 | Foreground and backgroundbits are inverted in the result bitmap or labeled image. |
| mcfmfUseFeatureBoundsAsDefault | 16 | if 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. |
| mcfmfUseAoiBoundsAsDefault | 32 | if 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. |
| mcfmfReturn12BitLabeledImage | 64 | A 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). |
| mcfmfAddMaskImageToCollection | 256 | if 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. |
| mcfmfDisplayMaskImage | 512 | if 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. |
| mcfmfForceConnect8 | 4096 | If 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. |
| mcfmfForceConnect4 | 8192 | If 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. |
| mcfmfForceXorOnMerge | 65536 | If 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. |
| mcfmfForceOrOnMerge | 131072 | If 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. |
| mcfmfDefaultFlags | 0 | default 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