MImage_getRawData


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

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

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

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