Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxConvGauss2d.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

HxImageRep L_HXIMAGEREP HxConvGauss2d (HxImageRep img, double sigmax, int orderDerivx, double accuracyx, double sigmay, int orderDerivy, double accuracyy)
 HxConvGauss2d. More...


Detailed Description


Function Documentation

HxImageRep L_HXIMAGEREP HxConvGauss2d HxImageRep    img,
double    sigmax,
int    orderDerivx,
double    accuracyx,
double    sigmay,
int    orderDerivy,
double    accuracyy
 

HxConvGauss2d.

Equivalent to : img.genConvSeparated( 1, gaussx, gaussy, "mul", "addAssign", HxImageRep::ARITH_PREC)

where gaussx, gaussy are the 1d double-precision Gaussian kernels based on the respective sets of sigma, orderDeriv, accuracy parameters.

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     HxImageRep gaussx, gaussy;
00020 
00021     gaussx = HxMakeGaussian1d(sigmax, orderDerivx, accuracyx,
00022         img.dimensionSize(1));
00023     gaussy = HxMakeGaussian1d(sigmay, orderDerivy, accuracyy,
00024         img.dimensionSize(2));
00025 
00026     return img.genConvSeparated(
00027         1, gaussx, gaussy, "mul", "addAssign", HxImageRep::ARITH_PREC);
00028 }


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