18 #ifndef __itkKernelImageFilter_h
19 #define __itkKernelImageFilter_h
39 template<
class TInputImage,
class TOutputImage,
class TKernel
61 typedef typename TInputImage::SizeType
SizeType;
73 itkStaticConstMacro(ImageDimension,
unsigned int,
74 TInputImage::ImageDimension);
84 virtual void SetKernel(
const KernelType & kernel);
89 virtual void SetRadius(
const RadiusType & radius);
94 Superclass::SetRadius(radius);
101 void PrintSelf(std::ostream & os,
Indent indent)
const;
108 void operator=(
const Self &);
110 template<
class T>
void MakeKernel(
const RadiusType & radius, T & kernel )
112 kernel.SetRadius( radius );
113 for(
typename T::Iterator kit=kernel.Begin(); kit != kernel.End(); kit++ )
123 kernel = FlatKernelType::Box( radius );
129 #ifndef ITK_MANUAL_INSTANTIATION
130 #include "itkKernelImageFilter.hxx"