18 #ifndef __itkMedianImageFunction_h
19 #define __itkMedianImageFunction_h
46 template<
class TInputImage,
class TCoordRep =
float >
48 public ImageFunction< TInputImage, typename TInputImage::PixelType,
55 typedef ImageFunction< TInputImage,
typename TInputImage::PixelType,
84 itkStaticConstMacro(ImageDimension,
unsigned int,
85 InputImageType::ImageDimension);
95 this->ConvertPointToNearestIndex(point, index);
96 return this->EvaluateAtIndex(index);
104 this->ConvertContinuousIndexToNearestIndex(cindex, index);
105 return this->EvaluateAtIndex(index);
110 itkSetMacro( NeighborhoodRadius,
unsigned int );
111 itkGetConstReferenceMacro( NeighborhoodRadius,
unsigned int );
117 void PrintSelf(std::ostream & os,
Indent indent)
const;
121 void operator=(
const Self &);
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "itkMedianImageFunction.hxx"