template<class DstArrayT, class SrcArrayT>
Actual operation.
Definition at line 39 of file M9poANGw.h. References Impala::Core::Array::Element::E1Sqrt(). 00042 { 00043 SrcArithT I = (R*R+G*G+B*B); 00044 SrcArithT fw2 = Rx*Rx+Ry*Ry+Gx*Gx+Gy*Gy+Bx*Bx+By*By; 00045 SrcArithT A1 = R*Rx+G*Gx+B*Bx; 00046 SrcArithT A2 = R*Ry+G*Gy+B*By; 00047 SrcArithT f_r = (A1*A1+A2*A2)/I; 00048 SrcArithT f_ang = Element::E1Sqrt(fw2-f_r); 00049 return f_ang; 00050 //SrcArithT f_ang2= f_ang/Element::E1Sqrt(I); 00051 }
Here is the call graph for this function:
|