Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxGauss.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

HxImageRep L_HXIMAGEREP HxGauss (HxImageRep img, double sigma, double accuracy=3.0)
 Convolution Gaussian. More...


Detailed Description


Function Documentation

HxImageRep L_HXIMAGEREP HxGauss HxImageRep    img,
double    sigma,
double    accuracy = 3.0
 

Convolution Gaussian.

Equivalent to : img.genConvSeparated( gauss, "mul", "addAssign", HxImageRep::ARITH_PREC)

where gauss is the 1d double-precision Gaussian kernel based on sigma and accuracy.

Notice that the kernel is applied to every dimension of the image separately and that the result image has a double-precision pixel type.

00018 {
00019     int minSize = HxImageMinSize(img);
00020     HxImageRep gauss = HxMakeGaussian1d(sigma, 0, accuracy, minSize);
00021     return img.genConvSeparated(
00022         gauss, "mul", "addAssign", HxImageRep::ARITH_PREC);
00023 }


Generated on Tue Jan 8 13:59:20 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001