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

void Impala::Core::Array::ColorMoments::GetInvariants ( std::vector< Real64 > &  momentInvariants,
Array2dVec3UInt8 rgb,
bool  useBinaryMask = false,
Array2dScalarReal64 binaryMask = 0,
bool  blur = false,
double  sigma = 10.0 
) [inline]

Definition at line 225 of file ColorMomentsKoen.h.

References Impala::Core::Array::MulVal(), and Impala::Application::DemoCamera2d::sigma.

00227     {
00228         Array2dVec3Real64* tmp = 0;
00229         // scale intensity to the range 0..1 instead of 0..255 so color moments
00230         // make sense!!! Using integer images is a *very* bad idea, because
00231         // your ranges are no longer comparable!
00232         MulVal(tmp, rgb, 1);         // first promote to real
00233         MulVal(tmp, tmp, 1 / 255.0); // then scale the range
00234         GetInvariants(momentInvariants, tmp, useBinaryMask, binaryMask, blur, sigma);
00235         delete tmp;
00236     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:17:18 2011 for ImpalaSrc by  doxygen 1.5.1