LibraryLink`
LibraryLink`

MImage_getRawData

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

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

    Basic Examples  (1)

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

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

    Tutorials