18 #ifndef itkScatterMatrixImageFunction_h
19 #define itkScatterMatrixImageFunction_h
44 template<
typename TInputImage,
typename TCoordRep =
float >
48 typename NumericTraits< typename TInputImage::PixelType::ValueType >::RealType >,
85 itkStaticConstMacro(ImageDimension,
unsigned int,
86 InputImageType::ImageDimension);
101 this->ConvertPointToNearestIndex(point, index);
102 return this->EvaluateAtIndex(index);
110 this->ConvertContinuousIndexToNearestIndex(cindex, index);
111 return this->EvaluateAtIndex(index);
116 itkSetMacro(NeighborhoodRadius,
unsigned int);
117 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
123 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
132 #ifndef ITK_MANUAL_INSTANTIATION
133 #include "itkScatterMatrixImageFunction.hxx"
Superclass::ContinuousIndexType ContinuousIndexType
Calculate the scatter matrix in the neighborhood of a pixel in a Vector image.
Light weight base class for most itk classes.
Superclass::PointType PointType
Superclass::OutputType OutputType
ScatterMatrixImageFunction Self
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
Superclass::IndexType IndexType
ImageBaseType::PointType PointType
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
unsigned int m_NeighborhoodRadius
~ScatterMatrixImageFunction() override
virtual RealType Evaluate(const PointType &point) const override
vnl_matrix< typename NumericTraits< typename InputImageType::PixelType::ValueType >::RealType > RealType
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
ImageFunction< TInputImage, vnl_matrix< typename NumericTraits< typename TInputImage::PixelType::ValueType >::RealType >, TCoordRep > Superclass
TInputImage InputImageType
Evaluates a function of an image at specified position.
ImageBaseType::IndexType IndexType