SuperHDRImage

HDR image interface

abstract
class SuperHDRImage : SuperImage {}

Members

Properties

pixelFormat
uint pixelFormat [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From SuperImage

width
uint width [@property getter]

Image width in pixels

height
uint height [@property getter]

Image height in pixels

bitDepth
uint bitDepth [@property getter]

Bits per channel

channels
uint channels [@property getter]

Number of channels

pixelSize
uint pixelSize [@property getter]

Bytes per pixel

pixelFormat
uint pixelFormat [@property getter]

This 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

data
ubyte[] data [@property getter]

Returns raw buffer of image data in scan order. Pixel layout is specified by pixelFormat

opIndex
Color4f opIndex(int x, int y)

Pixel access operator. Should always return floating-point sRGBa or linear RGBa, depending on format family (IntegerPixelFormat or FloatPixelFormat)

opIndexAssign
Color4f opIndexAssign(Color4f c, int x, int y)

Pixel assignment operator. Accepts floating-point sRGBa or linear RGBa, depending on format family (IntegerPixelFormat or FloatPixelFormat)

dup
SuperImage dup [@property getter]

Makes a copy of the image

createSameFormat
SuperImage createSameFormat(uint w, uint h)

Makes a blank image of the same format

row
auto row [@property getter]

Range of x pixel indices

col
auto col [@property getter]

Range of y pixel indices

opApply
int opApply(int delegate(ref Color4f p, uint x, uint y) dg)

Enumerates all pixels of the image in scan order

Meta