This version creates a dataset that uses the index of src (if src != 0) So it is a 'Fake' dataset in the sense that it doen't have to have a VideoData folder at all, as long as the original has. Of course all the data that will be read from the VideoSet should be present in the videoset. Definition at line 20 of file mainTestTrainingRegression.cpp. References Impala::Core::Database::RawDataSet::CopyIndex(), cSetName(), and Impala::Util::Database::SetDataPath(). Referenced by main(), mainShotSegmentation(), Impala::Application::VidSet::mainVidSet(), and MakeVideoSet(). 00022 { 00023 Util::Database* db = new Util::Database; 00024 db->SetDataPath(directory); 00025 Core::VideoSet::VideoSet* ret; 00026 if(indexSrc) 00027 { 00028 ret = new Core::VideoSet::VideoSet(db, cSetName, false); 00029 ret->CopyIndex(indexSrc); 00030 } 00031 else 00032 ret = new Core::VideoSet::VideoSet(db, cSetName, true); 00033 return ret; 00034 }
Here is the call graph for this function:
|