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

void Impala::Core::VideoSet::TableShots::ReadVxsFile ( std::string  fileName,
Keyframes keyframes 
) [inline]

Definition at line 39 of file TableShots.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Add(), Impala::Core::Geometry::FileReadVxRectangle(), Impala::Core::VideoSet::Keyframes::GetFrameId(), and Impala::Core::VideoSet::Keyframes::GetShotId().

Referenced by Impala::Core::VideoSet::SegmentationDocument::LoadBookmarked().

00040     {
00041         std::vector<Geometry::VxRectangle> vrList;
00042         Geometry::FileReadVxRectangle(std::back_inserter(vrList), fileName);
00043         for (int i=0 ; i<vrList.size() ; i++)
00044         {
00045             Geometry::VxRectangle vr = vrList[i];
00046             int keyfr = keyframes->GetFrameId(vr.mExtra);
00047             int shot = keyframes->GetShotId(keyfr);
00048             Add(shot, keyfr, vr.mAnno, vr.mRect);
00049         }
00050     }

Here is the call graph for this function:


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