LibraryLink`
LibraryLink`

MImage_getChannels (C Function)

gets the number of channels of an MImage.

Details

  • Used in C/C++ code in a library function called from the Wolfram Language.

Examples

Basic Examples  (1)

This gets the number of channels of an MImage:

MImage I0;
mint channels;
...
slices = libData->MImage_getChannels(I0);