template<class DstArrayT, class SrcArrayT>
Actual operation.
Definition at line 39 of file M9poOBw.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_Ob = Element::E1Sqrt( (f_Obx*f_Obx + f_Oby*f_Oby )/(2*div) ); 00048 return f_Ob; 00049 }
Here is the call graph for this function:
|