IMcImageSetExtractImage Method
|
|
Extract an image containing the specified portion of the set
Namespace:
MediaCy.IQL.Sets
Assembly:
MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
SyntaxFunction ExtractImage (
Region As McImageSetRegion,
Flags As Integer
) As McImage
Parameters
- Region
- Type: MediaCy.IQL.SetsMcImageSetRegion
the region over which to extract the specified extent to an image - Flags
- Type: SystemInt32
the mcImageCreateFlags flags to apply to the new image
Return Value
Type:
McImage
RemarksCreates a McImage that contains the specified region of the set.
It is important to realize that specifying the wrong portion of
a mixed type set can cause this function to fail. A McImage can
only have a single type of pixel (i.e. grayscale or color, 8- or
16-bit or floating point), and a single image dimension, but a set can
include a mix of images including different image types and sizes.
The desired region should be checked using GetRegionType to see that a McImageType
can be returned for that extent.
See Also