Class SuperHDRImage

HDR image interface

class SuperHDRImage
  : SuperImage ;

Properties

NameTypeDescription
bitDepth[get] uintBits per channel
channels[get] uintNumber of channels
data[get] ubyte[]Returns raw buffer of image data in scan order. Pixel layout is specified by pixelFormat
dup[get] SuperImageMakes a copy of the image
height[get] uintImage height in pixels
pixelFormat[get] uintThis is compatible with IntegerPixelFormat and other internal format enums in dlib. Values from 0 to 255 are reserved for dlib. Values 256 and above are application-specific and can be used for custom SuperImage implementations
pixelSize[get] uintBytes per pixel
width[get] uintImage width in pixels

Methods

NameDescription
col (, ) Range of y pixel indices
createSameFormat (w, h) Makes a blank image of the same format
opApply (dg) Enumerates all pixels of the image in scan order
opIndex (x, y) Pixel access operator. Should always return floating-point sRGBa or linear RGBa, depending on format family (IntegerPixelFormat or FloatPixelFormat)
opIndexAssign (c, x, y) Pixel assignment operator. Accepts floating-point sRGBa or linear RGBa, depending on format family (IntegerPixelFormat or FloatPixelFormat)
row (, ) Range of x pixel indices