26 #ifndef __GradientGauss_hh__
27 #define __GradientGauss_hh__
29 #include "FilterNTo2N.hh"
30 #include "Convolution.hh"
32 #include <Base/Math/Vector3.hh>
43 template <
class InputStorageType,
class OutputStorageType>
71 { _GradGaussSigma=sigma; }
76 { _GradGaussRatio=ratio; }
81 { _Conv.PrintKernel(); }
97 void _CalculateKernels(
double Sigma,
double Ratio);
99 virtual void GetBordersValid_(
int& border_x,
int &border_y)
const;
106 #endif // __GradientGauss_hh__
gradient calculation with separated gauss masks
generic convolution class.
void SetGradGaussRatio(const double ratio)
void SetGradGaussSigma(const double sigma)
base class for simple n->2n filter implementations
virtual FilterNTo2N< InputStorageType, OutputStorageType > * Clone() const
double _GradGaussSigma
the parameters
Convolution< InputStorageType, OutputStorageType > _Conv
computation object to execute the convolution
double _LastSigma
the parameters at the time of the last call
double GetGradGaussSigma() const
double GetGradGaussRatio() const