18 #ifndef itkMeanImageFunction_h
19 #define itkMeanImageFunction_h
44 template<
typename TInputImage,
typename TCoordRep =
float >
47 typename NumericTraits< typename TInputImage::PixelType >::RealType,
84 InputImageType::ImageDimension);
113 itkSetMacro(NeighborhoodRadius,
unsigned int);
114 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
130 #ifndef ITK_MANUAL_INSTANTIATION
131 #include "itkMeanImageFunction.hxx"
SmartPointer< Self > Pointer
Light weight base class for most itk classes.
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
Calculate the mean value in the neighborhood of a pixel.
unsigned int m_NeighborhoodRadius
Superclass::IndexType IndexType
TInputImage InputImageType
Superclass::ContinuousIndexType ContinuousIndexType
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< const Self > ConstPointer
void operator=(const Self &)
virtual RealType EvaluateAtIndex(const IndexType &index) const override
NumericTraits< typename InputImageType::PixelType >::RealType RealType
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass
InputImageType::IndexType IndexType
static const unsigned int ImageDimension
Superclass::OutputType OutputType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
Control indentation during Print() invocation.
virtual RealType Evaluate(const PointType &point) const override
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
Superclass::PointType PointType
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
Evaluates a function of an image at specified position.