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