Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Core::Geometry::RectanglePyramidPerDim::SetImageSize ( int  imWidth,
int  imHeight 
) [inline]

Definition at line 108 of file RectanglePyramidPerDim.h.

References Impala::Core::Geometry::MakeSubRects(), mBorderWidth, mImHeight, mImWidth, mNrRectsPerDimX, mNrRectsPerDimY, mRectSet, and mRegionOverlapRatio.

Referenced by Impala::Core::Feature::VisSem::ComputeFeatures(), and RectanglePyramidPerDim().

00109     {
00110         if (mBorderWidth == -1)
00111             return;
00112         if ((imWidth == mImWidth) && (imHeight == mImHeight))
00113             return;
00114         mImWidth = imWidth;
00115         mImHeight = imHeight;
00116         for (int i=0 ; i<mRectSet.size() ; i++)
00117         {
00118             mRectSet[i].clear();
00119             MakeSubRects(std::back_inserter(mRectSet[i]),
00120                          mImWidth, mImHeight, mBorderWidth,
00121                          mNrRectsPerDimX[i], mNrRectsPerDimY[i],
00122                          mRegionOverlapRatio);
00123         }
00124     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:11:53 2010 for ImpalaSrc by  doxygen 1.5.1