18 #ifndef itkDiscreteGaussianDerivativeImageFilter_h
19 #define itkDiscreteGaussianDerivativeImageFilter_h
59 template<
typename TInputImage,
typename TOutputImage >
89 itkStaticConstMacro(ImageDimension,
unsigned int,
90 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;
206 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
214 virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
221 void GenerateData() ITK_OVERRIDE;
241 int m_MaximumKernelWidth;
244 bool m_UseImageSpacing;
247 bool m_NormalizeAcrossScale;
251 unsigned int m_InternalNumberOfStreamDivisions;
255 #ifndef ITK_MANUAL_INSTANTIATION
256 #include "itkDiscreteGaussianDerivativeImageFilter.hxx"
void SetOrder(const typename OrderArrayType::ValueType v)
DiscreteGaussianDerivativeImageFilter()
SmartPointer< const Self > ConstPointer
Base class for all process objects that output image data.
void Fill(const ValueType &)
FixedArray< unsigned int, itkGetStaticConstMacro(ImageDimension) > OrderArrayType
TInputImage::PixelType InputPixelType
SmartPointer< Self > Pointer
virtual ~DiscreteGaussianDerivativeImageFilter()
void SetMaximumError(const typename ArrayType::ValueType v)
TInputImage::InternalPixelType InputInternalPixelType
FixedArray< double, itkGetStaticConstMacro(ImageDimension) > ArrayType
TOutputImage::PixelType OutputPixelType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
TOutputImage::InternalPixelType OutputInternalPixelType
Control indentation during Print() invocation.
TOutputImage OutputImageType
Calculates image derivatives using discrete derivative gaussian kernels. This filter calculates Gauss...
#define itkConceptMacro(name, concept)
DiscreteGaussianDerivativeImageFilter Self
void SetVariance(const typename ArrayType::ValueType v)