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

void Impala::Visualization::AllFramesTLineVideo::ConstructPositives (  )  [inline]

Definition at line 430 of file AllFramesTLineVideo.h.

References ClearPositives(), mAnnoPositives, mAnnoTables, mCurFile, Impala::QuidId(), and Impala::QuidObject().

Referenced by HandleNewVideo().

00431     {
00432         ClearPositives();
00433 
00434         int sz = mAnnoTables.size();
00435         for (int a=0; a<sz; a++)
00436         {
00437             AnnotationTable* anno           = mAnnoTables[a];
00438             IntVector*       positiveVector = new IntVector;
00439 
00440             for (int i=0; i<anno->Size(); i++)
00441             {
00442                 Quid    quid    = anno->Get1(i);
00443                 float   qual    = anno->Get2(i);
00444                 int     vidId   = QuidObject(quid);
00445                 int     frameId = QuidId(quid);
00446 
00447                 if (vidId == mCurFile && qual > 0)
00448                     positiveVector->push_back(frameId);
00449             }
00450             mAnnoPositives.push_back(positiveVector);
00451         }
00452     }

Here is the call graph for this function:


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