Definition at line 22 of file ImagePyramid.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::BH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::BW(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), Impala::Core::Array::MakeGaussian1d(), mGaussKernel, mLevels, mMaxTop, mScratch, and Impala::Core::Array::Pattern::PatSet(). 00023 { 00024 // the base image is stored, but not owned 00025 mLevels.reserve(8); 00026 mLevels.push_back(base); 00027 mScratch = new Array::Array2dVec3Real64(base->CW(), base->CH(), base->BW(), base->BH(), 0); 00028 Array::Array2dScalarReal64* kernel = Array::MakeGaussian1d(1.0, 0, 1.0, 3); 00029 mGaussKernel = new Array::Array2dVec3Real64(kernel->CW(), kernel->CH(), kernel->BW(), kernel->BH(), 0); 00030 Array::Pattern::PatSet(mGaussKernel,kernel,0,0,kernel->CW(),kernel->CH(),0,0); 00031 delete kernel; 00032 00033 int w,h; 00034 w = base->CW(); 00035 h = base->CH(); 00036 mMaxTop = 1; 00037 while( w>2 && h>2 && w*h>100) 00038 { 00039 w/=2; 00040 h/=2; 00041 mMaxTop++; 00042 } 00043 }
Here is the call graph for this function:
|