GammaRamp

Contains a gamma ramp. LUM_BASETYPE and PIX_BASETYPE should be numeric types indicating the channel type for the colors that will be converted.

Constructors

this
this(double gamma)

Create a GammaRamp with the given gamma value.

this
this(ColorSpace colorSpace)

Create a GammaRamp with the given colorspace.

Members

Functions

lum2pix
auto lum2pix(LUMCOLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.
pix2lum
auto pix2lum(PIXCOLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

lum2pixValues
PIX_BASETYPE[LUM_BASETYPE.max + 1] lum2pixValues;
Undocumented in source.
pix2lumValues
LUM_BASETYPE[PIX_BASETYPE.max + 1] pix2lumValues;
Undocumented in source.

Meta