#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... | |
|
||||||||||||||||
|
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 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001