Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class DstArrayT, class SrcArrayT>
DstArithT Impala::Core::Array::Trait::M9poCw_log< DstArrayT, SrcArrayT >::DoIt ( const SrcArithT E,
const SrcArithT El,
const SrcArithT Ell,
const SrcArithT Ex,
const SrcArithT Elx,
const SrcArithT Ellx,
const SrcArithT Ey,
const SrcArithT Ely,
const SrcArithT Elly 
) [inline]

Actual operation.

Definition at line 83 of file M9poCw.h.

References Impala::Core::Array::Element::E1Log(), Impala::Core::Array::Element::E1Sqrt(), and Impala::Core::Array::Trait::M9poCw_log< DstArrayT, SrcArrayT >::mScale.

00086     {
00087         SrcArithT Clx_a = Elx*E - El*Ex;
00088         SrcArithT Cly_a = Ely*E - El*Ey;
00089         SrcArithT Clw_a = Clx_a*Clx_a + Cly_a*Cly_a;
00090         SrcArithT Cllx_a = Ellx*E - Ell*Ex;
00091         SrcArithT Clly_a = Elly*E - Ell*Ey;
00092         SrcArithT Cllw_a = Cllx_a*Cllx_a + Clly_a*Clly_a;
00093         SrcArithT Cw_a = Element::E1Sqrt(Clw_a + Cllw_a);
00094         SrcArithT norm = E*E/mScale;
00095         //return Cw_a/norm;
00096         return Element::E1Log(Cw_a/norm + 1);
00097         //return Element::E1Log(100000000*Cw_a+1) - Element::E1Log(100000000*norm+1); 
00098 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:04:14 2010 for ImpalaSrc by  doxygen 1.5.1