template<class SrcArrayT>
Definition at line 1274 of file InterestPointFeature.h. References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Add(), and mDenseSamplingScales. Referenced by ApplyDetector(). 01275 { 01276 PointDescriptorTable* output = new PointDescriptorTable(); 01277 int halfspacing = spacing / 2; 01278 int w = input->CW(); 01279 int h = input->CH(); 01280 int i = 0; 01281 for(int y = spacing; y < h - spacing; y += spacing) 01282 { 01283 int x = spacing; 01284 if(i % 2 == 0) 01285 { 01286 x += halfspacing; 01287 } 01288 for(; x < w - spacing; x += spacing) 01289 { 01290 for(int q = 0; q < mDenseSamplingScales.size(); q++) 01291 { 01292 //Real64 scale = sqrt(Real64(spacing * spacing + spacing * 01293 //spacing)); 01298 //scale = scale / 4; 01299 output->Add(x, y, mDenseSamplingScales[q], 0, 0); 01300 } 01301 } 01302 i += 1; 01303 } 01304 return output; 01305 }
Here is the call graph for this function:
|