18 #ifndef itkGaussianOperator_h
19 #define itkGaussianOperator_h
68 template <
typename TPixel,
unsigned int VDimension = 2,
typename TAllocator = NeighborhoodAllocator<TPixel>>
83 m_Variance = variance;
93 if (max_error >= 1 || max_error <= 0)
95 itkExceptionMacro(
"Maximum Error Must be in the range [ 0.0 , 1.0 ]");
98 m_MaximumError = max_error;
115 return m_MaximumError;
125 m_MaximumKernelWidth = n;
132 return m_MaximumKernelWidth;
139 os << i <<
"GaussianOperator { this=" <<
this <<
", m_Variance = " << m_Variance
140 <<
", m_MaximumError = " << m_MaximumError <<
"} " << std::endl;
152 ModifiedBesselI0(
double);
157 ModifiedBesselI1(
double);
162 ModifiedBesselI(
int,
double);
167 GenerateCoefficients()
override;
173 this->FillCenteredDirectional(coeff);
178 double m_Variance{ 1 };
182 double m_MaximumError{ .01 };
187 unsigned int m_MaximumKernelWidth{ 30 };
191 #ifndef ITK_MANUAL_INSTANTIATION
192 # include "itkGaussianOperator.hxx"