LibraryLink`
LibraryLink`

MImage_getRawData

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 Mathematica.
  • 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);

教程