An expression evaluating to an object of type McGeometry.
Left
Required. A Long value.
ROI left upper corner x coordinnate
Top
Required. A Long value.
ROI left upper corner y coordinnate
Right
Required. A Long value.
ROI bottom right corner x coordinnate
Bottom
Required. A Long value.
ROI bottom right corner y coordinnate
lFlags
Optional image creation flags for the new image. By default the value is zero, which creates a visible image that is part of the Images collection. See mcImageCreateFlags for the list of supported flags.
Optional source image, operator applies to parent image when parameter is omitted.
Settings
The settings for Flags are:
Constant
Value
Description
mcicfDefault
0
mcicfContiguous
1
If set, frames are allocated contiguously, and you cannot add to the FrameCount at a later time.
mcicfNoInit
2
Default is to initialize to 0 (black), this flag suppresses initialization.
mcicfNoAddToCollection
4
If set, the image is created, but not added to the collection (see Notes).
mcicfNotVisible
8
If set, the image is created, possibly added to collection (see above), but not made visible.
mcipfNoImportProperties
8388608
Suppress ImportProperties for functions creating an image from another.
Remarks
The new image has the same type as the source image, and the same number of frames as the currently selected active frame range. The new image never has an Aoi.
Notes
The McImage CopyToNewImage method is a much more flexible routine that can also be used to create a new image from a portion of a source image. In addition to other features, CopyToNewImage allows you to name the new image optionally copy the Aoi and/or mask by it.