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

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

Conversion from RGB(Rec709) to OOO (Geusebroek Thesis).

ColRGB2OOO.gif

For transformation from RGB to XYZ, see ColRGB2XYZ.

Definition at line 351 of file ColConvert.h.

References Impala::Core::Array::E, 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::ToOOO().

00352 {
00353     double E   = v.X() * 0.000233846 + v.Y() * 0.00261968 + v.Z() * 0.00127135;
00354     double El  = v.X() * 0.000726333 + v.Y() * 0.000718106+ v.Z() * -0.00121377;
00355     double Ell = v.X() * 0.000846833 + v.Y() * -0.00173932+ v.Z() * 0.000221515;
00356 
00357     return Vec3Real64(E, El, Ell);
00358 }

Here is the call graph for this function:


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