18 #ifndef itkVectorMeanImageFunction_h
19 #define itkVectorMeanImageFunction_h
44 template<
typename TInputImage,
typename TCoordRep =
float >
47 typename NumericTraits< typename TInputImage::PixelType >::RealType,
83 itkStaticConstMacro(ImageDimension,
unsigned int,
84 InputImageType::ImageDimension);
97 this->ConvertPointToNearestIndex(point, index);
98 return this->EvaluateAtIndex(index);
106 this->ConvertContinuousIndexToNearestIndex(cindex, index);
107 return this->EvaluateAtIndex(index);
112 itkSetMacro(NeighborhoodRadius,
unsigned int);
113 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
119 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "itkVectorMeanImageFunction.hxx"
Light weight base class for most itk classes.
virtual RealType Evaluate(const PointType &point) const override
NumericTraits< typename TInputImage::PixelType >::RealType RealType
VectorMeanImageFunction Self
ImageBaseType::PointType PointType
Calculate the mean value in the neighborhood of a pixel in a Vector image.
Superclass::OutputType OutputType
Superclass::IndexType IndexType
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.
TInputImage InputImageType
~VectorMeanImageFunction() override
SmartPointer< const Self > ConstPointer
Evaluates a function of an image at specified position.
ImageBaseType::IndexType IndexType
SmartPointer< Self > Pointer