Conversion from OOO (Geusebroek Thesis) to RGB(Rec709).
For transformation from XYZ to RGB, see ColXYZ2RGB. Definition at line 369 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::ToCMY(), Impala::Core::Array::Element::Color::ToHSI(), and Impala::Core::Array::Element::Color::ToRGB(). 00370 { 00371 double R = v.X() * 328.084 + v.Y() * 469.182 + v.Z() * 687.853; 00372 double G = v.X() * 199.794 + v.Y() * 172.242 + v.Z() * -202.904; 00373 double B = v.X() * 314.533 + v.Y() * -441.212 + v.Z() * 291.574; 00374 00375 return Vec3Real64(R, G, B); 00376 }
Here is the call graph for this function:
|