Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::CovarianceImageFunction< TInputImage, TCoordRep > Class Template Reference
[Image Functions]

Calculate the covariance matrix in the neighborhood of a pixel in a Vector image. More...

#include <itkCovarianceImageFunction.h>

Inheritance diagram for itk::CovarianceImageFunction< TInputImage, TCoordRep >:

Inheritance graph
[legend]
Collaboration diagram for itk::CovarianceImageFunction< TInputImage, TCoordRep >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CovarianceImageFunction Self
typedef ImageFunction< TInputImage,
vnl_matrix< typename NumericTraits<
typename TInputImage::PixelType::ValueType
>::RealType >, TCoordRep > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef Superclass::OutputType OutputType
typedef Superclass::IndexType IndexType
typedef Superclass::ContinuousIndexType ContinuousIndexType
typedef Superclass::PointType PointType
typedef vnl_matrix< typename
NumericTraits< typename InputImageType::PixelType::ValueType
>::RealType
RealType

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (ImageDimension, unsigned int, InputImageType::ImageDimension)
virtual RealType EvaluateAtIndex (const IndexType &index) const
virtual RealType Evaluate (const PointType &point) const
virtual RealType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const
virtual void SetNeighborhoodRadius (unsigned int _arg)
virtual const unsigned int & GetNeighborhoodRadius ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 CovarianceImageFunction ()
 ~CovarianceImageFunction ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputImage, class TCoordRep = float>
class itk::CovarianceImageFunction< TInputImage, TCoordRep >

Calculate the covariance matrix in the neighborhood of a pixel in a Vector image.

Calculate the covariance matrix over the standard 8, 26, etc. connected neighborhood. This calculation uses a ZeroFluxNeumannBoundaryCondition.

If called with a ContinuousIndex or Point, the calculation is performed at the nearest neighbor.

This class is templated over the input image type and the coordinate representation type (e.g. float or double).

See also:
VectorMeanImageFunction

Definition at line 44 of file itkCovarianceImageFunction.h.


Member Typedef Documentation

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<const Self> itk::CovarianceImageFunction< TInputImage, TCoordRep >::ConstPointer
 

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 59 of file itkCovarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::ContinuousIndexType itk::CovarianceImageFunction< TInputImage, TCoordRep >::ContinuousIndexType
 

ContinuousIndex typedef support.

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 77 of file itkCovarianceImageFunction.h.

Referenced by itk::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex().

template<class TInputImage, class TCoordRep = float>
typedef Superclass::IndexType itk::CovarianceImageFunction< TInputImage, TCoordRep >::IndexType
 

Index typedef support.

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 74 of file itkCovarianceImageFunction.h.

Referenced by itk::CovarianceImageFunction< TInputImage, TCoordRep >::Evaluate(), and itk::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex().

template<class TInputImage, class TCoordRep = float>
typedef TInputImage itk::CovarianceImageFunction< TInputImage, TCoordRep >::InputImageType
 

InputImageType typedef support.

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 68 of file itkCovarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::OutputType itk::CovarianceImageFunction< TInputImage, TCoordRep >::OutputType
 

OutputType typdef support.

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 71 of file itkCovarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<Self> itk::CovarianceImageFunction< TInputImage, TCoordRep >::Pointer
 

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 58 of file itkCovarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::PointType itk::CovarianceImageFunction< TInputImage, TCoordRep >::PointType
 

Point typedef support.

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 80 of file itkCovarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef vnl_matrix< typename NumericTraits<typename InputImageType::PixelType::ValueType>::RealType > itk::CovarianceImageFunction< TInputImage, TCoordRep >::RealType
 

Datatype used for the covariance matrix

Definition at line 89 of file itkCovarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef CovarianceImageFunction itk::CovarianceImageFunction< TInputImage, TCoordRep >::Self
 

Standard class typedefs.

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 53 of file itkCovarianceImageFunction.h.

Referenced by itk::CovarianceImageFunction< TInputImage, TCoordRep >::~CovarianceImageFunction().

template<class TInputImage, class TCoordRep = float>
typedef ImageFunction<TInputImage, vnl_matrix< typename NumericTraits<typename TInputImage::PixelType::ValueType>::RealType >, TCoordRep > itk::CovarianceImageFunction< TInputImage, TCoordRep >::Superclass
 

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 57 of file itkCovarianceImageFunction.h.


Constructor & Destructor Documentation

template<class TInputImage, class TCoordRep = float>
itk::CovarianceImageFunction< TInputImage, TCoordRep >::CovarianceImageFunction  )  [protected]
 

template<class TInputImage, class TCoordRep = float>
itk::CovarianceImageFunction< TInputImage, TCoordRep >::~CovarianceImageFunction  )  [inline, protected]
 

Definition at line 118 of file itkCovarianceImageFunction.h.

References itk::CovarianceImageFunction< TInputImage, TCoordRep >::Self.


Member Function Documentation

template<class TInputImage, class TCoordRep = float>
virtual RealType itk::CovarianceImageFunction< TInputImage, TCoordRep >::Evaluate const PointType point  )  const [inline, virtual]
 

Evaluate the function at non-integer positions

Implements itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 95 of file itkCovarianceImageFunction.h.

References itk::CovarianceImageFunction< TInputImage, TCoordRep >::IndexType.

template<class TInputImage, class TCoordRep = float>
virtual RealType itk::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex const ContinuousIndexType cindex  )  const [inline, virtual]
 

Evaluate the function at non-integer positions

Implements itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

Definition at line 101 of file itkCovarianceImageFunction.h.

References itk::CovarianceImageFunction< TInputImage, TCoordRep >::ContinuousIndexType, and itk::CovarianceImageFunction< TInputImage, TCoordRep >::IndexType.

template<class TInputImage, class TCoordRep = float>
virtual RealType itk::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex const IndexType index  )  const [virtual]
 

Evalulate the function at specified index

Implements itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
virtual const char* itk::CovarianceImageFunction< TInputImage, TCoordRep >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
virtual const unsigned int& itk::CovarianceImageFunction< TInputImage, TCoordRep >::GetNeighborhoodRadius  )  [virtual]
 

Get/Set the radius of the neighborhood over which the statistics are evaluated

template<class TInputImage, class TCoordRep = float>
itk::CovarianceImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
InputImageType::ImageDimension 
 

Dimension of the underlying image.

template<class TInputImage, class TCoordRep = float>
Pointer itk::CovarianceImageFunction< TInputImage, TCoordRep >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage, class TCoordRep = float>
void itk::CovarianceImageFunction< TInputImage, TCoordRep >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
virtual void itk::CovarianceImageFunction< TInputImage, TCoordRep >::SetNeighborhoodRadius unsigned int  _arg  )  [virtual]
 

Get/Set the radius of the neighborhood over which the statistics are evaluated


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:42:57 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000