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

void Impala::Core::Array::Laplacian ( Array2dScalarReal64 *&  dst,
Array2dScalarReal64 *  src,
Real64  sigma,
int  gamma,
bool  useRecGauss,
double  precision 
)

Definition at line 19 of file Laplacian.h.

References Add(), GaussDerivative(), MulVal(), and RecGauss().

Referenced by Laplacian().

00021 {
00022     /* the Laplacian is multiplied by sigma^gamma */
00023 
00024     Array2dScalarReal64* Lxx = 0;
00025     Array2dScalarReal64* Lyy = 0;
00026 
00027     if(useRecGauss)
00028     {
00029         RecGauss(Lxx, src, sigma, sigma, 2, 0, precision);
00030         RecGauss(Lyy, src, sigma, sigma, 0, 2, precision);
00031     } 
00032     else 
00033     {
00034         GaussDerivative(Lxx, src, sigma, 2, 0, precision);
00035         GaussDerivative(Lyy, src, sigma, 0, 2, precision);
00036     }
00037     
00038     Add(dst, Lxx, Lyy);
00039     delete Lxx;
00040     delete Lyy;
00041     Real64 sigma2 = 1;
00042     for(int i = 0; i < gamma; i++)
00043         sigma2 = sigma2 * sigma;
00044     MulVal(dst, dst, sigma2);
00045 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:57:27 2010 for ImpalaSrc by  doxygen 1.5.1