18#ifndef itkMorphologicalGradientImageFilter_h
19#define itkMorphologicalGradientImageFilter_h
49template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
69 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
79 using typename Superclass::OutputImageRegionType;
98#if !defined(ITK_LEGACY_REMOVE)
103 static constexpr AlgorithmType BASIC = AlgorithmEnum::BASIC;
104 static constexpr AlgorithmType HISTO = AlgorithmEnum::HISTO;
105 static constexpr AlgorithmType ANCHOR = AlgorithmEnum::ANCHOR;
106 static constexpr AlgorithmType VHGW = AlgorithmEnum::VHGW;
154#ifndef ITK_MANUAL_INSTANTIATION
155# include "itkMorphologicalGradientImageFilter.hxx"
Algorithm or implementation used in the dilation/erosion operations.
Grayscale dilation of an image.
Grayscale erosion of an image.
typename TInputImage::RegionType RegionType
typename TInputImage::SizeType SizeType
typename TInputImage::IndexType IndexType
typename TInputImage::OffsetType OffsetType
A class to support a variety of flat structuring elements, including versions created by decompositio...
Base class for all process objects that output image data.
TOutputImage OutputImageType
TInputImage InputImageType
Control indentation during Print() invocation.
A base class for all the filters working on an arbitrary shaped neighborhood.
Compute the gradient of a grayscale image.
MorphologicalGradientImageFilter()
void SetKernel(const KernelType &kernel) override
void SetAlgorithm(AlgorithmEnum algo)
void GenerateData() override
void PrintSelf(std::ostream &os, Indent indent) const override
~MorphologicalGradientImageFilter() override=default
typename TInputImage::PixelType PixelType
void Modified() const override
Morphological gradients enhance the variation of pixel intensity in a given neighborhood.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Pixel-wise subtraction of two images.
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....