18 #ifndef __itkVectorMeanImageFunction_h
19 #define __itkVectorMeanImageFunction_h
44 template<
class TInputImage,
class 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);
117 void PrintSelf(std::ostream & os,
Indent indent)
const;
122 void operator=(
const Self &);
129 #define ITK_TEMPLATE_VectorMeanImageFunction(_, EXPORT, TypeX, TypeY) \
132 _( 2 ( class EXPORT VectorMeanImageFunction< ITK_TEMPLATE_2 TypeX > ) ) \
133 namespace Templates \
135 typedef VectorMeanImageFunction< ITK_TEMPLATE_2 TypeX > \
136 VectorMeanImageFunction##TypeY; \
140 #if ITK_TEMPLATE_EXPLICIT
141 #include "Templates/itkVectorMeanImageFunction+-.h"
145 #include "itkVectorMeanImageFunction.hxx"