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

KeyframeResultList Impala::Core::Trec::VisualQueryEngine::QueryByRegion ( int  keyframeID,
Core::Geometry::Rectangle  rect,
int  h,
int  w 
) [inline]

Definition at line 26 of file VisualQueryEngine.h.

References Impala::Core::Geometry::Rectangle::mBottom, Impala::Core::Geometry::Rectangle::mLeft, Impala::Core::Geometry::Rectangle::mRight, and Impala::Core::Geometry::Rectangle::mTop.

Referenced by Impala::Visualization::RotorBrowser::RotorBrowser::DoQueryByRegion().

00027     {
00028         double top, left, bottom, right;
00029         top    = rect.mTop / (double)h;
00030         left   = rect.mLeft / (double)w;
00031         bottom = rect.mBottom / (double)h;
00032         right  = rect.mRight / (double)w;
00033         return QueryByRegion(keyframeID, left, top, right, bottom);
00034     }


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