18 #ifndef itkKernelImageFilter_h
19 #define itkKernelImageFilter_h
38 template<
typename TInputImage,
typename TOutputImage,
typename TKernel
74 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
83 virtual void SetKernel(
const KernelType & kernel);
88 void SetRadius(
const RadiusType & radius)
override;
93 Superclass::SetRadius(radius);
100 void PrintSelf(std::ostream & os,
Indent indent)
const override;
108 kernel.SetRadius( radius );
109 for(
typename T::Iterator kit=kernel.Begin(); kit != kernel.End(); kit++ )
119 kernel = FlatKernelType::Box( radius );
125 #ifndef ITK_MANUAL_INSTANTIATION
126 #include "itkKernelImageFilter.hxx"
typename TInputImage::SizeType RadiusType
void MakeKernel(const RadiusType &radius, FlatKernelType &kernel)
void MakeKernel(const RadiusType &radius, T &kernel)
unsigned long SizeValueType
typename TInputImage::IndexType IndexType
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::RegionType RegionType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
void SetRadius(const SizeValueType &radius) override
Base class for all process objects that output image data.
TInputImage InputImageType
typename TInputImage::OffsetType OffsetType
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
typename TInputImage::SizeType SizeType
TOutputImage OutputImageType
typename TInputImage::PixelType InputPixelType
A base class for all the filters working on an arbitrary shaped neighborhood.
A base class for all the filters working on a box neighborhood.
bool GetDecomposable() const
A class to support a variety of flat structuring elements, including versions created by decompositio...
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType