Image.make8bit
void make8bit(hid_t locId, string imageName, hsize_t width, hsize_t height,
const ubyte[] data)Creates an 8-bit grayscale image.
Parameters
locId | Location identifier (file or group handle) |
imageName | Name of the image dataset |
width | Width of the image in pixels |
height | Height of the image in pixels |
data | Pixel data (width * height bytes) |
Throws
HDF5Exception if image creation fails