18 #ifndef itkGradientMagnitudeRecursiveGaussianImageFilter_h
19 #define itkGradientMagnitudeRecursiveGaussianImageFilter_h
48 template<
typename TInputImage,
49 typename TOutputImage = TInputImage >
62 typedef typename InputImageType::PixelType
PixelType;
66 TInputImage::ImageDimension);
133 itkGetConstMacro(NormalizeAcrossScale,
bool);
138 #ifdef ITK_USE_CONCEPT_CHECKING
169 void operator=(const Self &);
180 return !( *
this == other );
190 return a + vnl_math_sqr(b / m_Spacing);
209 #ifndef ITK_MANUAL_INSTANTIATION
210 #include "itkGradientMagnitudeRecursiveGaussianImageFilter.hxx"
Computes the Magnitude of the Gradient of an image by convolution with the first derivative of a Gaus...
void SetNumberOfThreads(ThreadIdType nb) override
InternalRealType operator()(const InternalRealType &a, const InternalRealType &b)
void SetSigma(RealType sigma)
NumericTraits< PixelType >::RealType RealType
SqrtImageFilter< RealImageType, TOutputImage > SqrtFilterType
SmartPointer< const Self > ConstPointer
Computes the square root of each pixel.
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateData(void) override
Base class for computing IIR convolution with an approximation of a Gaussian kernel.
OutputImageType::PixelType OutputPixelType
TInputImage InputImageType
SqrtFilterType::Pointer SqrtFilterPointer
bool operator!=(const SqrSpacing &other) const
virtual ~GradientMagnitudeRecursiveGaussianImageFilter()
RecursiveGaussianImageFilter< RealImageType, RealImageType > GaussianFilterType
Base class for all process objects that output image data.
void SetNormalizeAcrossScale(bool normalizeInScaleSpace)
InputImageType::PixelType PixelType
DerivativeFilterPointer m_DerivativeFilter
CumulativeImageType::Pointer CumulativeImagePointer
SqrSpacingFilterPointer m_SqrSpacingFilter
bool operator==(const SqrSpacing &other) const
bool m_NormalizeAcrossScale
virtual void GenerateInputRequestedRegion() override
void EnlargeOutputRequestedRegion(DataObject *output) override
BinaryFunctorImageFilter< RealImageType, RealImageType, RealImageType, SqrSpacing > SqrSpacingFilterType
GradientMagnitudeRecursiveGaussianImageFilter Self
SmartPointer< Self > Pointer
GaussianFilterType::Pointer GaussianFilterPointer
unsigned int ThreadIdType
SqrSpacingFilterType::Pointer SqrSpacingFilterPointer
static const unsigned int ImageDimension
TOutputImage OutputImageType
GradientMagnitudeRecursiveGaussianImageFilter()
SqrtFilterPointer m_SqrtFilter
Image< InternalRealType, itkGetStaticConstMacro(ImageDimension) > CumulativeImageType
RecursiveGaussianImageFilter< InputImageType, RealImageType > DerivativeFilterType
Control indentation during Print() invocation.
Image< InternalRealType, itkGetStaticConstMacro(ImageDimension) > RealImageType
Define additional traits for native types such as int or float.
DerivativeFilterType::Pointer DerivativeFilterPointer
Base class for filters that take an image as input and overwrite that image as the output...
#define itkConceptMacro(name, concept)
Base class for all data objects in ITK.
InPlaceImageFilter< TInputImage, TOutputImage > Superclass
Templated n-dimensional image class.
Implements pixel-wise generic operation of two images, or of an image and a constant.
GaussianFilterPointer m_SmoothingFilters[ImageDimension-1]
TOutputImage::Pointer OutputImagePointer