Definition at line 147 of file RectanglePyramidPerDim.h. References mNrRectPerDimMinX, mNrRectsPerDimX, mNrRectsPerDimY, mRegionOverlapRatio, and NrLevels(). Referenced by Impala::Core::Feature::VisSem::ComputeFeaturesPixelSet(), Impala::Core::Feature::VisSem::DoSpatialPyramid(), and Impala::Core::Feature::Computor::MakeFeatureTableSet(). 00148 { 00149 if (mNrRectPerDimMinX == -1) 00150 return 0; 00151 int level, sum = 0; 00152 for (level=0 ; level<NrLevels();level++) 00153 { 00154 int nrX = (mNrRectsPerDimX[level]-1)/(1.0-mRegionOverlapRatio) + 1; 00155 int nrY = (mNrRectsPerDimY[level]-1)/(1.0-mRegionOverlapRatio) + 1; 00156 sum += nrX*nrY; 00157 } 00158 return sum; 00159 }
Here is the call graph for this function:
|