Structure LogLUV24Pixel
See Also: Class Color., Structure LogUV32Pixel
struct LogLUV24Pixel
Description:
This class is available in release 4.0 and later only.
This structure is a 24 bit pixel format that stores 10 bits for log of luminance and 14 bits of chroma.
Data Members:
unsigned char value[3];
Storage for the pixel value.
Methods:
public:
Prototype:
operator Color() const;
Remarks:
This method will return the pixel format as a Color.
Prototype:
LogLUV24Pixel& operator=(const float c[3]);
Remarks:
Assignment operator.
Parameters:
const float c[3]
The array of color values to assign in RGB order.
Prototype:
void GetRGB(float rgb[3]) const;
Remarks:
This method will return the RGB space values.
Parameters:
float rgb[3]
The results are stored in this array.
Prototype:
void SetRGB(const float rgb[3]);
Remarks:
This method allows you to set the RGB space values.
Parameters:
const float rgb[3]
The values to set.
Prototype:
void GetXYZ(float xyz[3]) const;
Remarks:
This method will return the XYZ space values.
Parameters:
float xyz[3]
The values are stored in this array.
Prototype:
void SetXYZ(const float xyz[3]);
Remarks:
This method allows you to set the XYZ space values.
Parameters:
const float xyz[3]
The values to set.
Prototype:
static void XYZtoRGB(const float xyz[3], float rgb[3]);
Remarks:
This method will convert from XYZ space to RGB space.
Parameters:
const float xyz[3]
The input values to convert.
float rgb[3]
The output values are stored in this array.
Prototype:
static void RGBtoXYZ(const float rgb[3], float xyz[3]);
Remarks:
This method will convert from RGB space to XYZ space.
Parameters:
const float rgb[3]
The input values to convert.
float xyz[3]
The output values are stored in this array.