#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... |
|
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 } |