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

const std::vector<Rectangle>& Impala::Application::SDash::RegionsOfInterestInfo::GetRois ( int  video,
int  frame 
) const [inline]

Definition at line 231 of file RegionsOfInterestInfo.h.

References mEmptyList, mNrOfVideos, and mRois.

Referenced by Impala::Application::SDash::RoiExtractor::Extract(), and GetRoisScaled().

00232     {
00233         if (video < mNrOfVideos)
00234         {
00235             const std::map<int, std::vector<Rectangle> >& roisForVideo = mRois[video];
00236             std::map<int, std::vector<Rectangle> >::const_iterator pos = roisForVideo.find(frame);
00237             if (pos == roisForVideo.end())
00238                 return mEmptyList;
00239             else
00240                 return pos->second;
00241         }
00242         else
00243             return mEmptyList;
00244     }


Generated on Thu Jan 13 09:16:07 2011 for ImpalaSrc by  doxygen 1.5.1