18 #ifndef itkScatterMatrixImageFunction_h
19 #define itkScatterMatrixImageFunction_h
44 template <
typename TInputImage,
typename TCoordRep =
float>
47 vnl_matrix<typename NumericTraits<typename TInputImage::PixelType::ValueType>::RealType>,
57 vnl_matrix<typename NumericTraits<typename TInputImage::PixelType::ValueType>::RealType>,
73 using typename Superclass::OutputType;
79 using typename Superclass::ContinuousIndexType;
85 static constexpr
unsigned int ImageDimension = InputImageType::ImageDimension;
88 using RealType = vnl_matrix<typename NumericTraits<typename InputImageType::PixelType::ValueType>::RealType>;
92 EvaluateAtIndex(
const IndexType & index)
const override;
100 this->ConvertPointToNearestIndex(
point, index);
101 return this->EvaluateAtIndex(index);
109 this->ConvertContinuousIndexToNearestIndex(cindex, index);
110 return this->EvaluateAtIndex(index);
115 itkSetMacro(NeighborhoodRadius,
unsigned int);
116 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
123 PrintSelf(std::ostream & os,
Indent indent)
const override;
126 unsigned int m_NeighborhoodRadius{};
130 #ifndef ITK_MANUAL_INSTANTIATION
131 # include "itkScatterMatrixImageFunction.hxx"