18#ifndef itkCovarianceImageFunction_h
19#define itkCovarianceImageFunction_h
44template <
typename TInputImage,
typename TCoordinate =
float>
47 vnl_matrix<typename NumericTraits<typename TInputImage::PixelType::ValueType>::RealType>,
57 vnl_matrix<typename NumericTraits<typename TInputImage::PixelType::ValueType>::RealType>,
85 static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
88 using RealType = vnl_matrix<typename NumericTraits<typename InputImageType::PixelType::ValueType>::RealType>;
115 itkSetMacro(NeighborhoodRadius,
unsigned int);
116 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
130#ifndef ITK_MANUAL_INSTANTIATION
131# include "itkCovarianceImageFunction.hxx"
void PrintSelf(std::ostream &os, Indent indent) const override
static constexpr unsigned int ImageDimension
RealType Evaluate(const PointType &point) const override
RealType EvaluateAtIndex(const IndexType &index) const override
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
ImageFunction< TInputImage, vnl_matrix< typename NumericTraits< typename TInputImage::PixelType::ValueType >::RealType >, TCoordinate > Superclass
SmartPointer< Self > Pointer
RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
Point< TCoordinate, Self::ImageDimension > PointType
vnl_matrix< typename NumericTraits< typename InputImageType::PixelType::ValueType >::RealType > RealType
unsigned int m_NeighborhoodRadius
typename InputImageType::IndexType IndexType
SmartPointer< const Self > ConstPointer
~CovarianceImageFunction() override=default
CovarianceImageFunction Self
TInputImage InputImageType
CovarianceImageFunction()
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
vnl_matrix< typename NumericTraits< typename TInputImage::PixelType::ValueType >::RealType > OutputType
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.
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