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"
Superclass::OutputType OutputType
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const
virtual RealType EvaluateAtIndex(const IndexType &index) const
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 PrintSelf(std::ostream &os, Indent indent) const
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
SmartPointer< Self > Pointer
virtual RealType Evaluate(const PointType &point) const
SmartPointer< const Self > ConstPointer
Superclass::PointType PointType
InputImageType::IndexType IndexType
Superclass::IndexType IndexType
CovarianceImageFunction()
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
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