18#ifndef itkKernelImageFilter_h
19#define itkKernelImageFilter_h
26template <
unsigned int VDimension>
39template<
typename TInputImage,
typename TOutputImage,
typename TKernel
62 using SizeType =
typename TInputImage::SizeType;
108 template <
typename T>
112 kernel.SetRadius(radius);
113 for (
typename T::Iterator kit = kernel.Begin(); kit != kernel.End(); ++kit)
130#ifndef ITK_MANUAL_INSTANTIATION
131# include "itkKernelImageFilter.hxx"
virtual void SetRadius(const RadiusType &radius)
A class to support a variety of flat structuring elements, including versions created by decompositio...
bool GetDecomposable() const
static Self Box(RadiusType radius)
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
typename TInputImage::SizeType RadiusType
typename TInputImage::IndexType IndexType
TOutputImage OutputImageType
FlatStructuringElement<(Self::ImageDimension)> FlatKernelType
BoxImageFilter< TInputImage, TOutputImage > Superclass
void MakeKernel(const RadiusType &radius, T &kernel)
typename TInputImage::PixelType InputPixelType
~KernelImageFilter() override=default
typename TOutputImage::PixelType OutputPixelType
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetKernel(const KernelType &kernel)
typename TInputImage::SizeType SizeType
static constexpr unsigned int ImageDimension
TInputImage InputImageType
void MakeKernel(const RadiusType &radius, FlatKernelType &kernel)
typename TInputImage::RegionType RegionType
SmartPointer< Self > Pointer
void SetRadius(const SizeValueType &radius) override
void SetRadius(const RadiusType &radius) override
typename TInputImage::OffsetType OffsetType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType