18 #ifndef itkMedianImageFunction_h 19 #define itkMedianImageFunction_h 46 template<
typename TInputImage,
typename TCoordRep =
float >
48 public ImageFunction< TInputImage, typename TInputImage::PixelType,
55 typedef ImageFunction< TInputImage,
typename TInputImage::PixelType,
85 InputImageType::ImageDimension);
88 virtual OutputType
EvaluateAtIndex(
const IndexType & index)
const ITK_OVERRIDE;
91 virtual OutputType
Evaluate(
const PointType & point)
const ITK_OVERRIDE
100 const ContinuousIndexType & cindex)
const ITK_OVERRIDE
110 itkSetMacro( NeighborhoodRadius,
unsigned int );
111 itkGetConstReferenceMacro( NeighborhoodRadius,
unsigned int );
121 void operator=(
const Self &) ITK_DELETE_FUNCTION;
128 #ifndef ITK_MANUAL_INSTANTIATION 129 #include "itkMedianImageFunction.hxx"
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
InputImageType::PixelType InputPixelType
InputImageType::IndexType IndexType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
Control indentation during Print() invocation.
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
Evaluates a function of an image at specified position.