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);
103 const ContinuousIndexType & cindex)
const ITK_OVERRIDE
113 itkSetMacro(NeighborhoodRadius,
unsigned int);
114 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
124 void operator=(
const Self &) ITK_DELETE_FUNCTION;
130 #ifndef ITK_MANUAL_INSTANTIATION 131 #include "itkMeanImageFunction.hxx"
SmartPointer< Self > Pointer
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
Calculate the mean value in the neighborhood of a pixel.
unsigned int m_NeighborhoodRadius
Superclass::IndexType IndexType
TInputImage InputImageType
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
virtual RealType Evaluate(const PointType &point) const override
Superclass::ContinuousIndexType ContinuousIndexType
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SmartPointer< const Self > ConstPointer
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
virtual RealType EvaluateAtIndex(const IndexType &index) const override
Control indentation during Print() invocation.
void operator=(const Self &) ITK_DELETE_FUNCTION
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::PointType PointType
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
Evaluates a function of an image at specified position.