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