Definition at line 88 of file ActiveLearnEngine.h. References Impala::Core::Table::AnnotationTable::AddNegative(), Impala::Core::Table::AnnotationTable::AddPositive(), Impala::Core::Trec::ThreadSet::GetKeyframes(), Impala::Core::Trec::Thread::GetLength(), Impala::Core::Table::AnnotationTable::GetNrNegative(), Impala::Core::Table::AnnotationTable::GetNrPositive(), Impala::Core::Trec::Thread::GetShot(), ILOG_DEBUG, mAnnotations, mNegative, mPositive, and mThreadSet. 00089 { 00090 for (int i=0; i<mPositive->GetLength(); i++) 00091 { 00092 int shot = mPositive->GetShot(i); 00093 int keyframe = mThreadSet->GetKeyframes()->GetShotRKF(shot); 00094 Quid fquid = mThreadSet->GetKeyframes()->GetQuidFrame(keyframe); 00095 // ILOG_DEBUG("positive: " << QuidObj(fquid)); 00096 mAnnotations->AddPositive(fquid); 00097 } 00098 00099 for (int i=0; i<mNegative->GetLength(); i++) 00100 { 00101 int shot = mNegative->GetShot(i); 00102 int keyframe = mThreadSet->GetKeyframes()->GetShotRKF(shot); 00103 Quid fquid = mThreadSet->GetKeyframes()->GetQuidFrame(keyframe); 00104 // ILOG_DEBUG("negative: " << QuidObj(fquid)); 00105 mAnnotations->AddNegative(fquid); 00106 } 00107 ILOG_DEBUG("Added annotations, table now with " << mAnnotations->GetNrPositive() << " positive shots and " << mAnnotations->GetNrNegative() << " negative shots."); 00108 }
Here is the call graph for this function:
|