18 #ifndef itkDiscreteGaussianDerivativeImageFilter_h
19 #define itkDiscreteGaussianDerivativeImageFilter_h
58 template<
typename TInputImage,
typename TOutputImage >
90 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
112 itkGetConstMacro(Variance,
const ArrayType);
119 itkGetConstMacro(MaximumError,
const ArrayType);
124 itkGetConstMacro(MaximumKernelWidth,
int);
125 itkSetMacro(MaximumKernelWidth,
int);
137 itkSetMacro(InternalNumberOfStreamDivisions,
unsigned int);
138 itkGetConstMacro(InternalNumberOfStreamDivisions,
unsigned int);
157 this->SetVariance(a);
165 this->SetMaximumError(a);
172 itkSetMacro(UseImageSpacing,
bool);
173 itkGetConstMacro(UseImageSpacing,
bool);
174 itkBooleanMacro(UseImageSpacing);
180 itkSetMacro(NormalizeAcrossScale,
bool);
181 itkGetConstMacro(NormalizeAcrossScale,
bool);
182 itkBooleanMacro(NormalizeAcrossScale);
185 #ifdef ITK_USE_CONCEPT_CHECKING
197 m_Variance.Fill(0.0);
198 m_MaximumError.Fill(0.01);
199 m_MaximumKernelWidth = 32;
200 m_UseImageSpacing =
true;
201 m_NormalizeAcrossScale =
false;
202 m_InternalNumberOfStreamDivisions = ImageDimension * ImageDimension;
207 PrintSelf(std::ostream & os,
Indent indent)
const override;
216 GenerateInputRequestedRegion()
override;
224 GenerateData()
override;
256 #ifndef ITK_MANUAL_INSTANTIATION
257 #include "itkDiscreteGaussianDerivativeImageFilter.hxx"
void SetOrder(const typename OrderArrayType::ValueType v)
typename TOutputImage::InternalPixelType OutputInternalPixelType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
DiscreteGaussianDerivativeImageFilter()
Base class for all process objects that output image data.
unsigned int m_InternalNumberOfStreamDivisions
void Fill(const ValueType &)
TInputImage InputImageType
TOutputImage OutputImageType
void SetMaximumError(const typename ArrayType::ValueType v)
typename TInputImage::PixelType InputPixelType
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::InternalPixelType InputInternalPixelType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
bool m_NormalizeAcrossScale
Calculates image derivatives using discrete derivative gaussian kernels. This filter calculates Gauss...
#define itkConceptMacro(name, concept)
void SetVariance(const typename ArrayType::ValueType v)