template<class DstArrayT, class SrcArrayT>
Actual operation.
Definition at line 39 of file M9poHUEw.h. References Impala::Core::Array::Element::E1Sqrt(). 00042 { 00043 SrcArithT div = (B*B+G*G+R*R-G*R-B*R-B*G); 00044 SrcArithT f_Obx = (G-B)*Rx+(B-R)*Gx+(R-G)*Bx; 00045 SrcArithT f_Oby = (G-B)*Ry+(B-R)*Gy+(R-G)*By; 00046 00047 SrcArithT f_Hue = .5*sqrt(3.)*Element::E1Sqrt(f_Obx*f_Obx + f_Oby*f_Oby) / div; 00048 return f_Hue; 00049 }
Here is the call graph for this function:
|