Definition at line 551 of file mainTrecSearch.cpp. References Impala::Core::Trec::ThreadSet::AddThreadBookmarked(), Impala::Core::Trec::ThreadSet::AddThreadHistory(), Impala::Core::Trec::ThreadSet::AddThreadRank(), Impala::Core::Trec::ThreadSet::AddThreadTime(), Impala::Core::Trec::ThreadSet::AddThreadVirtual(), Impala::Core::Trec::ThreadSet::AddThreadVisualSimilarity(), Impala::Core::VideoSet::SegmentationDocument::GetBookmarked(), Impala::Core::VideoSet::SegmentationDocument::GetImSetKeyframes(), Impala::Core::Trec::ThreadSet::GetThreadByName(), ILOG_ENDACTION, ILOG_LEVEL_INFO, ILOG_STARTACTION, mConceptRanking, mKeyframes, mQbyExampleRanking, mSegDoc, mShots, mThreadRanking, mThreadSet, and Impala::Core::Table::SimilarityTableSet::NrTables(). Referenced by InitData(). 00552 { 00553 typedef Core::ImageSet::ImageSet ImageSet; 00554 ImageSet* imSetKeyfr = mSegDoc->GetImSetKeyframes(false); 00555 ImageSet* imSetThumb = mSegDoc->GetImSetKeyframes(true); 00556 mThreadSet = 00557 new Core::Trec::ThreadSet(mShots,mKeyframes,imSetThumb,imSetKeyfr); 00558 mThreadSet->AddThreadTime(); 00559 mThreadSet->AddThreadBookmarked(mSegDoc->GetBookmarked()); 00560 mThreadSet->AddThreadBookmarked("negative"); 00561 mThreadSet->AddThreadHistory(); 00562 00563 mThreadSet->AddThreadVirtual("hidden"); 00564 ((ThreadVirtual*)mThreadSet->GetThreadByName("virtual_hidden")) 00565 ->AddThread(mThreadSet->GetThreadByName("bookmarked")); 00566 00567 if (mConceptRanking != 0) 00568 { 00569 ILOG_STARTACTION("adding concept threads", ILOG_LEVEL_INFO); 00570 for (int i=0 ; i<mConceptRanking->NrTables() ; i++) 00571 mThreadSet->AddThreadRank(mConceptRanking, i); 00572 ILOG_ENDACTION("adding concept threads"); 00573 } 00574 00575 if (mQbyExampleRanking != 0) 00576 { 00577 ILOG_STARTACTION("adding query by example threads",ILOG_LEVEL_INFO); 00578 for (int i=0 ; i<mQbyExampleRanking->NrTables() ; i++) 00579 mThreadSet->AddThreadRank(mQbyExampleRanking, i); 00580 ILOG_ENDACTION("adding query by example threads"); 00581 } 00582 00583 if (mThreadRanking != 0) 00584 { 00585 ILOG_STARTACTION("adding semantic threads", ILOG_LEVEL_INFO); 00586 for (int i=0 ; i<mThreadRanking->NrTables() ; i++) 00587 mThreadSet->AddThreadRank(mThreadRanking, i); 00588 ILOG_ENDACTION("adding semantic threads"); 00589 } 00590 00591 ILOG_STARTACTION("adding visual similarity", ILOG_LEVEL_INFO); 00592 ILOG_STARTACTION("adding visual similarity - Lab histograms", 00593 ILOG_LEVEL_INFO); 00594 mThreadSet->AddThreadVisualSimilarity("labhistogram"); 00595 ILOG_ENDACTION("adding visual similarity - Lab histograms"); 00596 00597 ILOG_STARTACTION("adding visual similarity - Weibull",ILOG_LEVEL_INFO); 00598 mThreadSet->AddThreadVisualSimilarity("vissem"); 00599 ILOG_ENDACTION("adding visual similarity - Weibull"); 00600 00601 ILOG_STARTACTION("adding visual similarity - Fusion Vissem/Gabor", 00602 ILOG_LEVEL_INFO); 00603 mThreadSet->AddThreadVisualSimilarity("fusionvissemgabor"); 00604 ILOG_ENDACTION("adding visual similarity - weibull"); 00605 00606 ILOG_STARTACTION("adding visual similarity - Fusion Vissem/Gabor", 00607 ILOG_LEVEL_INFO); 00608 mThreadSet->AddThreadVisualSimilarity("vissemgabor"); 00609 ILOG_ENDACTION("adding visual similarity - Gabor"); 00610 00611 ILOG_ENDACTION("adding visual similarity"); 00612 }
Here is the call graph for this function:
|