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

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

Definition at line 1316 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().

01317     {
01318         mShots.clear();
01319         mShots.push_back(-1);
01320         SimTableType* simTable  = mShotSimSet->GetSimTable(0);
01321         int sz = simTable->Size();
01322         for (int i=0; i<sz; i++)
01323         {
01324             if (simTable->Get1(i) > threshold)
01325                 mShots.push_back(i);
01326         }
01327         if (mShots[mShots.size()-1] != sz-1)
01328             mShots.push_back(sz-1);
01329     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:00 2011 for ImpalaSrc by  doxygen 1.5.1