LibraryLink`
LibraryLink`

MImage_getRawData (C 函数)

gets a void pointer to an array of the data elements of an MImage.

更多信息

  • Used in C/C++ code in a library function called from the Wolfram Language.
  • The array has a length equal to the flattened length.

范例

基本范例  (1)

This gets a void pointer to the data elements of an MImage:

MImage I0;
void* data;
...
data = libData->MImage_getRawData(I0);