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:
|