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

void Impala::Core::VideoSet::Mpeg7Doc::Dump ( int  from = 0,
int  to = -1 
) [inline]

Definition at line 343 of file Mpeg7Doc.h.

References Annotation(), Confidence(), EndFrame(), HasAnnotations(), HasFeatures(), KeyframeFrame(), KeyframeName(), mFeatureName, mFeatureValues, mOriginalHadKeyframes, NrKeyframes(), NrShots(), Relevance(), ShotName(), and StartFrame().

00344     {
00345         if (to == -1 || to > NrShots())
00346             to = NrShots();
00347         if (to < from)
00348             to = from;
00349         std::cout << "Dumping mpeg7 from " << from << " to " << to
00350                   << " (size=" << NrShots() << ")" << std::endl;
00351         for (int i=from ; i<to ; i++)
00352         {
00353             std::cout << "segment " << ShotName(i) << " from " << StartFrame(i)
00354                       << " to " << EndFrame(i) << ": ";
00355             if (HasAnnotations())
00356             {
00357                 std::cout << "relevance=" << Relevance(i) << ", confidence="
00358                           << Confidence(i) << ", anno=" << Annotation(i);
00359             }
00360             if (mOriginalHadKeyframes)
00361             {
00362                 for (int j=0 ; j<NrKeyframes(i) ; j++)
00363                 {
00364                     std::cout << "keyname=" << KeyframeName(i, j)
00365                               << ",frame=" << KeyframeFrame(i, j) << " ";
00366                 }
00367             }
00368             if (HasFeatures())
00369             {
00370                 std::cout << "feature=" << mFeatureName[i] + ", values=";
00371                 for (int j=0 ; j<mFeatureValues[i].size() ; j++)
00372                 {
00373                     std::cout << mFeatureValues[i][j] << " ";
00374                 }
00375             }
00376             std::cout << std::endl;
00377         }
00378     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:05 2011 for ImpalaSrc by  doxygen 1.5.1