18 #ifndef itkVectorMeanImageFunction_h
19 #define itkVectorMeanImageFunction_h
44 template <
typename TInputImage,
typename TCoordRep =
float>
46 :
public ImageFunction<TInputImage, typename NumericTraits<typename TInputImage::PixelType>::RealType, TCoordRep>
69 using typename Superclass::OutputType;
75 using typename Superclass::ContinuousIndexType;
81 static constexpr
unsigned int ImageDimension = InputImageType::ImageDimension;
88 EvaluateAtIndex(
const IndexType & index)
const override;
96 this->ConvertPointToNearestIndex(
point, index);
97 return this->EvaluateAtIndex(index);
105 this->ConvertContinuousIndexToNearestIndex(cindex, index);
106 return this->EvaluateAtIndex(index);
111 itkSetMacro(NeighborhoodRadius,
unsigned int);
112 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
119 PrintSelf(std::ostream & os,
Indent indent)
const override;
122 unsigned int m_NeighborhoodRadius{};
126 #ifndef ITK_MANUAL_INSTANTIATION
127 # include "itkVectorMeanImageFunction.hxx"