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
SmartPointer< const Self > ConstPointer
void operator=(const Self &)
virtual RealType Evaluate(const PointType &point) const
NumericTraits< typename InputImageType::PixelType >::RealType RealType
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass
void PrintSelf(std::ostream &os, Indent indent) const
InputImageType::IndexType IndexType
static const unsigned int ImageDimension
Superclass::OutputType OutputType
virtual RealType EvaluateAtIndex(const IndexType &index) const
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const
Control indentation during Print() invocation.
Superclass::PointType PointType
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
Evaluates a function of an image at specified position.