MIL_ID SrcBufId, | //in |
MIL_ID SysId, | //in |
MIL_INT SizeX, | //in |
MIL_INT SizeY, | //in |
MIL_INT Type, | //in |
MIL_INT64 Attribute, | //in |
MIL_INT64 ControlFlag, | //in |
MIL_ID *VarBufIdPtr | //out |
This function allocates a buffer with the same size, number of bands, type, and attributes as the source buffer, unless you specify that certain characteristics of the source buffer be different for the clone (for example, its size).
If you clone a child buffer, the clone will be similar to the source child, but it will not be a child itself. A clone of a band child of a packed buffer will be a one band planar equivalent.
When you clone a buffer, certain characteristics of the source buffer (such as region of interest) cannot be duplicated for the clone. Note that an error is generated when the source buffer contains a region of interest.
If requested, you can also copy the source buffer's data to the clone (using M_COPY_SRC_DATA).
Specifies the identifier of the source buffer to clone.
This image buffer must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error.
Specifies the system on which to allocate the clone.
For specifying the system
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that the clone is allocated on the same system as the source buffer. |
Specifies the data type of the clone.
For specifying the data type of the
buffer
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that the clone has the same data type as the source buffer. |
Specifies the attributes of the clone.
For specifying the attributes of the
buffer
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that the clone has the same attributes as the source buffer. |
Specifies the control settings for the cloning operation.
For specifying which information to
copy
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies to copy only the number of bands, type, and attributes of the source buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_COPY_SRC_DATA |
Specifies to copy the number of bands, type, attributes, and data of the source buffer, including the calibration information and information dependent on the content of the buffer (such as M_MIN and M_MAX). |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |