Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Vec3Real64 Impala::Core::Array::Element::ColOOO2XYZ ( const Vec3Real64 &  v  )  [inline]

Conversion from OOO (Geusebroek Thesis) to XYZ(1931).

ColOOO2XYZ.gif

Definition at line 333 of file ColConvert.h.

References Impala::Core::Array::Element::Vec3Real64::X(), Impala::Core::Array::Element::Vec3Real64::Y(), and Impala::Core::Array::Element::Vec3Real64::Z().

Referenced by Impala::Core::Array::Element::Color::ToLab(), Impala::Core::Array::Element::Color::ToLuv(), and Impala::Core::Array::Element::Color::ToXYZ().

00334 {
00335     double X = v.X() * 103.337 + v.Y() * 68.824 + v.Z() * 103.435;
00336     double Y = v.X() * 92.297  + v.Y() * 74.949 + v.Z() * 8.714;
00337     double Z = v.X() * 129.034 + v.Y() * -152.804 + v.Z() * 104.383;
00338 
00339     return Vec3Real64(X, Y, Z);
00340 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:00:00 2010 for ImpalaSrc by  doxygen 1.5.1