MIL_ID DestBufId, | //in |
const void *UserArrayPtr | //in |
This function copies data from a user-supplied array to a specified MIL destination buffer. If the destination buffer has multiple bands, MIL copies the data from the user-supplied array to the destination buffer sequentially. The internal data format of the user-supplied array need not match the data format of the MIL destination buffer (planar); an internal conversion will be performed if necessary. Note, however, if the formats do match, the operation will be much faster. For more information, refer to MbufPutColor() with M_PLANAR.
Specifies the identifier of the destination buffer.
If the specified buffer is an image buffer with an associated region of interest (ROI), an error will occur.
Data type: array of the same
type as the buffer (DestBufId) [optionally, in C++: a reference to a
std::vector of the same type
as the buffer]
Required array size: MbufInquire ( M_SIZE_X ) * MbufInquire ( M_SIZE_Y ) * MbufInquire ( M_SIZE_BAND )
Specifies the address of the user array from which to put data into the destination buffer. Ensure that user array is large enough to contain the data to be copied to the destination buffer.
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |