template<class DstArrayT, class SrcArrayT>
Actual operation.
Definition at line 39 of file M9poHy.h. References Impala::Core::Array::Element::E1Sqrt(). 00042 { 00043 SrcArithT div = Element::E1Sqrt(2*(R*R + G*G + B*B - R*G - R*B - G*B)); 00044 return (div == 0) ? 0 : (R*(By-Gy) + G*(Ry-By) + B*(Gy-Ry)) / div; 00045 }
Here is the call graph for this function:
|