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 }
|