|
Lines 832-845
Link Here
|
| 832 |
The maximum value for each RGB component defaults to 255. |
832 |
The maximum value for each RGB component defaults to 255. |
| 833 |
*/ |
833 |
*/ |
| 834 |
RGBPrime2XYZFunctor() |
834 |
RGBPrime2XYZFunctor() |
| 835 |
: max_(component_type(255.0)), gamma_(1.0/ 0.45) |
835 |
: gamma_(1.0/ 0.45), max_(component_type(255.0)) |
| 836 |
{} |
836 |
{} |
| 837 |
|
837 |
|
| 838 |
/** constructor |
838 |
/** constructor |
| 839 |
\arg max - the maximum value for each RGB component |
839 |
\arg max - the maximum value for each RGB component |
| 840 |
*/ |
840 |
*/ |
| 841 |
RGBPrime2XYZFunctor(component_type max) |
841 |
RGBPrime2XYZFunctor(component_type max) |
| 842 |
: max_(max), gamma_(1.0/ 0.45) |
842 |
: gamma_(1.0/ 0.45), max_(max) |
| 843 |
{} |
843 |
{} |
| 844 |
|
844 |
|
| 845 |
/** apply the transformation |
845 |
/** apply the transformation |
|
Lines 998-1011
Link Here
|
| 998 |
The maximum value for each RGB component defaults to 255. |
998 |
The maximum value for each RGB component defaults to 255. |
| 999 |
*/ |
999 |
*/ |
| 1000 |
XYZ2RGBPrimeFunctor() |
1000 |
XYZ2RGBPrimeFunctor() |
| 1001 |
: max_(component_type(255.0)), gamma_(0.45) |
1001 |
: gamma_(0.45), max_(component_type(255.0)) |
| 1002 |
{} |
1002 |
{} |
| 1003 |
|
1003 |
|
| 1004 |
/** constructor |
1004 |
/** constructor |
| 1005 |
\arg max - the maximum value for each RGB component |
1005 |
\arg max - the maximum value for each RGB component |
| 1006 |
*/ |
1006 |
*/ |
| 1007 |
XYZ2RGBPrimeFunctor(component_type max) |
1007 |
XYZ2RGBPrimeFunctor(component_type max) |
| 1008 |
: max_(max), gamma_(0.45) |
1008 |
: gamma_(0.45), max_(max) |
| 1009 |
{} |
1009 |
{} |
| 1010 |
|
1010 |
|
| 1011 |
/** apply the transformation |
1011 |
/** apply the transformation |