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

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

Definition at line 68 of file TestFunctions.h.

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

00069     {
00070         CPPUNIT_ASSERT(mReduced != 0);
00071         CPPUNIT_ASSERT_EQUAL(2, (int) mReduced->CW());
00072         CPPUNIT_ASSERT_EQUAL(2, (int) mReduced->CH());
00073         CPPUNIT_ASSERT_EQUAL(1.0, mReduced->Value(0, 0));
00074         CPPUNIT_ASSERT_EQUAL(0.5, mReduced->Value(1, 0));
00075         CPPUNIT_ASSERT_EQUAL(0.0, mReduced->Value(1, 1));
00076     }

Here is the call graph for this function:


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