18#ifndef itkKernelImageFilter_h
19#define itkKernelImageFilter_h
26template <
unsigned int VDimension>
27class FlatStructuringElement;
39template<
typename TInputImage,
typename TOutputImage,
typename TKernel
74 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
96 Superclass::SetRadius(radius);
110 template <
typename T>
114 kernel.SetRadius(radius);
115 for (
typename T::Iterator kit = kernel.Begin(); kit != kernel.End(); ++kit)
126 kernel = FlatKernelType::Box(radius);
132#ifndef ITK_MANUAL_INSTANTIATION
133# include "itkKernelImageFilter.hxx"
A base class for all the filters working on a box neighborhood.
typename TInputImage::RegionType RegionType
typename TInputImage::SizeType SizeType
typename TInputImage::PixelType InputPixelType
typename TInputImage::SizeType RadiusType
typename TInputImage::IndexType IndexType
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::OffsetType OffsetType
A class to support a variety of flat structuring elements, including versions created by decompositio...
bool GetDecomposable() const
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.
void MakeKernel(const RadiusType &radius, T &kernel)
~KernelImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetKernel(const KernelType &kernel)
void MakeKernel(const RadiusType &radius, FlatKernelType &kernel)
void SetRadius(const SizeValueType &radius) override
void SetRadius(const RadiusType &radius) override
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType