Definition at line 189 of file LbpEval.h. References Impala::Core::Feature::FeatureTableSet::Add(), Impala::CmdOptions::GetBool(), GetDefinition(), ILOG_DEBUG, ILOG_INFO, Impala::Core::VideoSet::MakeMap(), mDoMSF, mIsPartial, mMaps, mReporter, mTableSet, and mWalkType. 00190 { 00191 ILOG_DEBUG("LbpEval c'tor"); 00192 int featureLengthFactor = 1; 00193 mDoMSF = options.GetBool("msf-feature"); 00194 if(mDoMSF) 00195 { 00196 featureLengthFactor = 2; 00197 ILOG_INFO("computing msf feature"); 00198 } 00199 else 00200 { 00201 ILOG_INFO("making histogram feature"); 00202 } 00203 mReporter = reporter; 00204 mWalkType = "unknown"; 00205 mIsPartial = false; 00206 mTableSet = new Feature::FeatureTableSet(); 00207 int tableSize = 1000; 00208 int regions = 6; 00209 mMaps = new int*[3]; 00210 mTableSet->Add(new Feature::FeatureTable(GetDefinition(8, 1.0), tableSize, 00211 (8+2)*featureLengthFactor*regions)); 00212 MakeMap(8, mMaps[0]); 00213 mTableSet->Add(new Feature::FeatureTable(GetDefinition(16, 2.0), tableSize, 00214 (16+2)*featureLengthFactor*regions)); 00215 MakeMap(16, mMaps[1]); 00216 mTableSet->Add(new Feature::FeatureTable(GetDefinition(24, 3.0), tableSize, 00217 (24+2)*featureLengthFactor*regions)); 00218 MakeMap(24, mMaps[2]); 00219 }
Here is the call graph for this function:
|