18 #ifndef __itkGaussianOperator_h
19 #define __itkGaussianOperator_h
65 template<
class TPixel,
unsigned int VDimension = 2,
66 class TAllocator = NeighborhoodAllocator< TPixel > >
94 Superclass::operator=(other);
104 void SetVariance(
const double & variance)
106 m_Variance = variance;
113 void SetMaximumError(
const double & max_error)
115 if ( max_error >= 1 || max_error <= 0 )
117 itkExceptionMacro(
"Maximum Error Must be in the range [ 0.0 , 1.0 ]");
120 m_MaximumError = max_error;
125 {
return m_Variance; }
131 double GetMaximumError()
132 {
return m_MaximumError; }
138 void SetMaximumKernelWidth(
unsigned int n)
139 { m_MaximumKernelWidth = n; }
142 unsigned int GetMaximumKernelWidth()
const
143 {
return m_MaximumKernelWidth; }
146 virtual void PrintSelf(std::ostream & os,
Indent i)
const
148 os << i <<
"GaussianOperator { this=" <<
this
149 <<
", m_Variance = " << m_Variance
150 <<
", m_MaximumError = " << m_MaximumError
151 <<
"} " << std::endl;
162 double ModifiedBesselI0(
double);
166 double ModifiedBesselI1(
double);
170 double ModifiedBesselI(
int,
double);
178 { this->FillCenteredDirectional(coeff); }
194 const char * GetNameOfClass()
195 {
return "itkGaussianOperator"; }
199 #ifndef ITK_MANUAL_INSTANTIATION
200 #include "itkGaussianOperator.hxx"