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

void Impala::Visualization::SegmentationDocumentGuiAnno::ConstructShots ( float  threshold  )  [inline, private]

Definition at line 1293 of file SegmentationDocumentGuiAnno.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), Impala::Core::Table::SimilarityTableSet::GetSimTable(), mShots, mShotSimSet, and Impala::Core::Table::Table::Size().

Referenced by CheckNewVideo(), and UpDownNumberChangedEvent().

01294     {
01295         mShots.clear();
01296         mShots.push_back(-1);
01297         SimTableType* simTable  = mShotSimSet->GetSimTable(0);
01298         int sz = simTable->Size();
01299         for (int i=0; i<sz; i++)
01300         {
01301             if (simTable->Get1(i) > threshold)
01302                 mShots.push_back(i);
01303         }
01304         if (mShots[mShots.size()-1] != sz-1)
01305             mShots.push_back(sz-1);
01306     }

Here is the call graph for this function:


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