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

template<class DstArrayT, class SrcArrayT>
DstArithT Impala::Core::Array::Trait::M9poJOSAw< DstArrayT, SrcArrayT >::DoIt ( const SrcArithT R,
const SrcArithT G,
const SrcArithT B,
const SrcArithT Rx,
const SrcArithT Gx,
const SrcArithT Bx,
const SrcArithT Ry,
const SrcArithT Gy,
const SrcArithT By 
) [inline]

Actual operation.

Definition at line 39 of file M9poJOSAw.h.

References Impala::Core::Array::Element::E1Sqrt().

00042     {
00043         SrcArithT rrx = (G*Rx-Gx*R)/(G*G);
00044         SrcArithT rry = (G*Ry-Gy*R)/(G*G);
00045         SrcArithT ggx = (B*Gx-Bx*G)/(B*B);
00046         SrcArithT ggy = (B*Gy-By*G)/(B*B);
00047         SrcArithT bbx = (R*Bx-Rx*B)/(R*R);
00048         SrcArithT bby = (R*By-Ry*B)/(R*R);
00049 
00050         return Element::E1Sqrt(rrx*rrx+rry*rry+ggx*ggx+ggy*ggy+bbx*bbx+bby*bby);
00051     }

Here is the call graph for this function:


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