dng_color_space Class Reference
An abstract color space.
More...
#include <dng_color_space.h>
List of all members.
|
Public Member Functions |
const dng_matrix & | MatrixToPCS () const |
| Return a matrix which transforms source data in this color space into the Profile Connection Space.
|
const dng_matrix & | MatrixFromPCS () const |
| Return a matrix which transforms Profile Connection Space data into this color space.
|
bool | IsMonochrome () const |
| Predicate which is true if this color space is monochrome (has only a single column).
|
virtual const dng_1d_function & | GammaFunction () const |
| Getter for the gamma function for this color space.
|
bool | IsLinear () const |
| Returns true if this color space is linear. (I.e. has gamma 1.0.).
|
real64 | GammaEncode (real64 x) const |
| Map an input value through this color space's encoding gamma.
|
real64 | GammaDecode (real64 y) const |
| Map an input value through this color space's decoding gamma (inverse of the encoding gamma).
|
virtual bool | ICCProfile (uint32 &size, const uint8 *&data) const |
Protected Member Functions |
void | SetMonochrome () |
void | SetMatrixToPCS (const dng_matrix_3by3 &M) |
Protected Attributes |
dng_matrix | fMatrixToPCS |
dng_matrix | fMatrixFromPCS |
Detailed Description
An abstract color space.
Member Function Documentation
bool dng_color_space::ICCProfile |
( |
uint32 & |
size, |
|
|
const uint8 *& |
data | |
|
) |
| | const [virtual] |
The documentation for this class was generated from the following files: