Conversion from Lab to XYZ (1931), D65 reference white point.
Definition at line 161 of file ColConvert.h. References fInv4ab(), L2Y(), Impala::Core::Array::Element::Vec3Real64::X(), Xn, Impala::Core::Array::Element::Vec3Real64::Y(), Impala::Core::Array::Element::Vec3Real64::Z(), and Zn. Referenced by Impala::Core::Array::Element::Color::ToCMY(), Impala::Core::Array::Element::Color::ToHSI(), Impala::Core::Array::Element::Color::ToLuv(), Impala::Core::Array::Element::Color::ToOOO(), Impala::Core::Array::Element::Color::ToRGB(), and Impala::Core::Array::Element::Color::ToXYZ(). 00162 { 00163 double Y = L2Y(v.X()); 00164 00165 double Ltmp = (v.X() + 16.0) / 116.0; // == f(Y / Yn) 00166 double atmp = Ltmp + v.Y() / 500.0; 00167 double X = Xn * fInv4ab(atmp, Ltmp); 00168 double btmp = Ltmp - v.Z() / 200.0; 00169 double Z = Zn * fInv4ab(btmp, Ltmp); 00170 return Vec3Real64(X, Y, Z); 00171 }
Here is the call graph for this function:
|