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