LibraryLink`
LibraryLink`

MImage_getChannels (C 函数)

gets the number of channels of an MImage.

更多信息

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

范例

基本范例  (1)

This gets the number of channels of an MImage:

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