Home || Visual Search || Applications || Architecture || 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 25 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().

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

Here is the call graph for this function:


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