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

bool Impala::Core::Geometry::MaskedInterestPointSelector::Accept ( int  x,
int  y,
int  imageWidth,
int  imageHeight 
) [inline, virtual]

Reimplemented from Impala::Core::Geometry::InterestPointSelector.

Definition at line 26 of file MaskedInterestPointSelector.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), ILOG_VAR, ILOG_WARN, mIndex, mIter, mPointList, and Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::Value().

00027     {
00028         bool restarted = false;
00029         while(true)
00030         {
00031             if(mIter >= mPointList->CH())
00032             {
00033                 if(restarted) break;
00034                 restarted = true;
00035                 mIter = 0;
00036             }
00037             if((x == mPointList->Value(0,mIter)) && (y == mPointList->Value(1,mIter)))
00038             {
00039                 // found it
00040                 Int32 value = mPointList->Value(mIndex,mIter);
00041                 if(value) return true;
00042                 return false;
00043             }
00044             mIter++;
00045         }
00046         ILOG_VAR(Impala.Core.Geometry.MaskedInterestPointSelector);
00047         ILOG_WARN("not found: " << x << " " << y);
00048         return false;
00049     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:11:42 2010 for ImpalaSrc by  doxygen 1.5.1