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

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

Definition at line 200 of file ColorMomentsKoen.h.

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

00202     {
00203         Array2dVec3Real64* tmp = 0;
00204         // scale intensity to the range 0..1 instead of 0..255 so color moments
00205         // make sense!!! Using integer images is a *very* bad idea, because
00206         // your ranges are no longer comparable!
00207         MulVal(tmp, rgb, 1);         // first promote to real
00208         MulVal(tmp, tmp, 1 / 255.0); // then scale the range
00209         GetMoments(moments, tmp, order, degree, useBinaryMask, binaryMask, blur, sigma);
00210         delete tmp;
00211     }

Here is the call graph for this function:


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