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);
87 typedef typename NumericTraits< typename TInputImage::PixelType >::RealType
RealType;
90 virtual RealType
EvaluateAtIndex(
const IndexType & index)
const ITK_OVERRIDE;
93 virtual RealType
Evaluate(
const PointType & point)
const ITK_OVERRIDE
102 const ContinuousIndexType & cindex)
const ITK_OVERRIDE
112 itkSetMacro(NeighborhoodRadius,
unsigned int);
113 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
123 void operator=(
const Self &) ITK_DELETE_FUNCTION;
129 #ifndef ITK_MANUAL_INSTANTIATION 130 #include "itkVectorMeanImageFunction.hxx"
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
VectorMeanImageFunction()
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual RealType Evaluate(const PointType &point) const override
NumericTraits< typename TInputImage::PixelType >::RealType RealType
virtual RealType EvaluateAtIndex(const IndexType &index) const override
void operator=(const Self &) ITK_DELETE_FUNCTION
void PrintSelf(std::ostream &os, Indent indent) const override
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
Superclass::ContinuousIndexType ContinuousIndexType
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.
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
SmartPointer< Self > Pointer