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

int Impala::Core::VideoSet::Mpeg7Doc::ReplaceAnnotationEx ( String  annotation,
String  shotName,
int  aFrame,
int  startFrame,
int  endFrame,
double  relevance,
double  confidence 
) [inline]

Definition at line 92 of file Mpeg7Doc.h.

References FindShot(), mAnnotation, mConfidence, mEndFrame, mRelevance, mShotName, and mStartFrame.

Referenced by Impala::Visualization::SegmentationDocumentGuiAnno::DoAnno(), and ReplaceAnnotation().

00095     {
00096         int idx = FindShot(aFrame);
00097         if (idx == -1)
00098         {
00099             mAnnotation.push_back(annotation);
00100             mShotName.push_back(shotName);
00101             mStartFrame.push_back(startFrame);
00102             mEndFrame.push_back(endFrame);
00103             mRelevance.push_back(relevance);
00104             mConfidence.push_back(confidence);
00105         }
00106         else
00107         {   // assume only one kind of annotation
00108             mShotName[idx] = shotName;
00109             mStartFrame[idx] = startFrame;
00110             mEndFrame[idx] = endFrame;
00111             mRelevance[idx] = relevance;
00112             mConfidence[idx] = confidence;
00113         }
00114         return idx;
00115     }

Here is the call graph for this function:


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