LibraryLink`
LibraryLink`MImage_setByte (C Function)
sets a single element of an MImage of MImage_Type_Byte type.
Details
- Used in C/C++ code in a library function called from the Wolfram Language.
- Uses the same numbering scheme as the Wolfram Language parts, i.e. the first element is 1.
- The array pos is assumed to have length at least equal to the rank of image.
- In 2D, the first two elements of pos are assumed to be {row,column}.
- In 3D, the first three elements of pos are assumed to be {slice,row,column}.
- A nonzero error code value will be returned if the element does not exist or if image is not an MImage of MImage_Type_Byte type.