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

template<class DstArrayT, class SrcArrayT>
DstArithT Impala::Core::Array::Trait::M9poHy< 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 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:


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