Definition at line 85 of file mainTrecResult.cpp. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), Impala::CmdOptions::GetBool(), Impala::Core::ImageSet::ImageSet::GetImage(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetString(), Impala::Core::ImageSet::MakeImageSet(), Impala::Core::VideoSet::MakeVideoSet(), mImSetThumb, mJudge, mKeyframes, mShots, mThumbHeight, mThumbWidth, mVidSet, Impala::Core::ImageSet::ImageSet::SetImageSrc(), Impala::Timer::SplitTime(), Impala::Timer::Start(), and Impala::Core::Trec::SearchJudge::Stats(). Referenced by WindowTrecResult(). 00086 { 00087 CmdOptions& options = CmdOptions::GetInstance(); 00088 std::string videoSetName = options.GetString("videoSet"); 00089 Timer timer(1); 00090 00091 std::cout << "Reading thumbnails" << std::endl; 00092 mImSetThumb = 00093 Core::ImageSet::MakeImageSet(options.GetString("imageSetThumbnails")); 00094 if (mImSetThumb) 00095 { 00096 mImSetThumb->SetImageSrc(! options.GetBool("noArchive"), 00097 options.GetBool("imFileArchive"), 00098 options.GetBool("imSplitArchive")); 00099 Core::Array::Array2dVec3UInt8* im = mImSetThumb->GetImage(0); 00100 mThumbWidth = im->CW(); 00101 mThumbHeight = im->CH(); 00102 delete im; 00103 } 00104 std::cout << "time: " << timer.SplitTime() << std::endl; 00105 00106 std::cout << "Reading video set" << std::endl; 00107 timer.Start(); 00108 mVidSet = Core::VideoSet::MakeVideoSet(videoSetName); 00109 std::cout << "time: " << timer.SplitTime() << std::endl; 00110 00111 std::cout << "Reading shots" << std::endl; 00112 timer.Start(); 00113 mShots = new Core::VideoSet::Segmentation(mVidSet, "segmentation");; 00114 std::cout << "time: " << timer.SplitTime() << std::endl; 00115 00116 std::cout << "Reading keyframe set" << std::endl; 00117 timer.Start(); 00118 mKeyframes = new Core::VideoSet::Keyframes(mVidSet, "keyframes"); 00119 std::cout << "time: " << timer.SplitTime() << std::endl; 00120 00121 std::string judgeFile = options.GetString("judgeFile"); 00122 mJudge = new Core::Trec::SearchJudge(judgeFile); 00123 mJudge->Stats(); 00124 }
Here is the call graph for this function:
|