LibraryLink`
LibraryLink`

MImage_getSliceCount (C 函数)

gets the number of slices of an MImage.

更多信息

  • Used in C/C++ code in a library function called from the Wolfram Language.
  • For a 2D images, 1 is returned.

范例

基本范例  (1)

This gets the number of slices of an MImage:

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