18#ifndef itkVectorMeanImageFunction_h
19#define itkVectorMeanImageFunction_h
44template <
typename TInputImage,
typename TCoordinate =
float>
46 :
public ImageFunction<TInputImage, typename NumericTraits<typename TInputImage::PixelType>::RealType, TCoordinate>
81 static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
111 itkSetMacro(NeighborhoodRadius,
unsigned int);
112 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
126#ifndef ITK_MANUAL_INSTANTIATION
127# include "itkVectorMeanImageFunction.hxx"
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
typename InputImageType::IndexType IndexType
Point< TCoordinate, Self::ImageDimension > PointType
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
Control indentation during Print() invocation.
Implements transparent reference counting.
SmartPointer< const Self > ConstPointer
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordinate > Superclass
VectorMeanImageFunction()
VectorMeanImageFunction Self
void PrintSelf(std::ostream &os, Indent indent) const override
RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
RealType Evaluate(const PointType &point) const override
RealType EvaluateAtIndex(const IndexType &index) const override
typename NumericTraits< typename TInputImage::PixelType >::RealType RealType
unsigned int m_NeighborhoodRadius
typename InputImageType::IndexType IndexType
TInputImage InputImageType
Point< TCoordinate, Self::ImageDimension > PointType
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
SmartPointer< Self > Pointer
~VectorMeanImageFunction() override=default
static constexpr unsigned int ImageDimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents