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

void Impala::Core::Trec::ThreadShots::ConvertToTable ( std::list< KeyframeResult keyframelist,
Core::VideoSet::Segmentation shots,
Core::VideoSet::Keyframes keyframes 
) [inline, private]

Definition at line 118 of file ThreadShots.h.

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

00121     {
00122         std::list<KeyframeResult>::iterator i;
00123         std::map<int,bool> noduplicates;
00124         for (i = keyframelist.begin(); i != keyframelist.end(); i++)
00125         {
00126             if (i->keyframeid < 0)
00127                 continue;
00128 
00129             int shot = keyframes->GetShotId(i->keyframeid);
00130 
00131             if (shot >= 0 &&
00132                 noduplicates.find(shot) == noduplicates.end())
00133             {
00134                 Quid quid = shots->GetQuidShot(shot);
00135                 mShots->Add(quid, (Real64)i->score);
00136                 noduplicates[shot] = true;
00137             }
00138         }
00139     }

Here is the call graph for this function:


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