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

void Impala::Core::Feature::TestFunctions::testIntegralImage (  )  [inline]

Definition at line 57 of file TestFunctions.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), mIntegral, and Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::Value().

00058     {
00059         CPPUNIT_ASSERT(mIntegral != 0);
00060         CPPUNIT_ASSERT_EQUAL(10, (int) mIntegral->CW());
00061         CPPUNIT_ASSERT_EQUAL(10, (int) mIntegral->CH());
00062         CPPUNIT_ASSERT_EQUAL(0.0, mIntegral->Value(0, 0));
00063         CPPUNIT_ASSERT_EQUAL(1.0, mIntegral->Value(5, 5));
00064         CPPUNIT_ASSERT_EQUAL(1.5, mIntegral->Value(9, 9));
00065     }

Here is the call graph for this function:


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