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

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

Returns true if the pixel value of a vector image has a Mahalanobis distance below the value specified by the threshold. More...

#include <itkMahalanobisDistanceThresholdImageFunction.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef MahalanobisDistanceThresholdImageFunction Self
typedef ImageFunction< TInputImage,
bool, TCoordRep > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::InputImageType InputImageType
typedef TInputImage::PixelType PixelType
typedef Superclass::PointType PointType
typedef Superclass::IndexType IndexType
typedef Superclass::ContinuousIndexType ContinuousIndexType
typedef vnl_matrix< double > CovarianceMatrixType
typedef vnl_vector< double > MeanVectorType

Public Member Functions

virtual const char * GetClassName () const
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
virtual bool Evaluate (const PointType &point) const
virtual bool EvaluateAtContinuousIndex (const ContinuousIndexType &index) const
virtual bool EvaluateAtIndex (const IndexType &index) const
virtual double GetThreshold () const
virtual void SetThreshold (double _arg)
void SetMean (const MeanVectorType &mean)
const MeanVectorTypeGetMean () const
void SetCovariance (const CovarianceMatrixType &cov)
const CovarianceMatrixTypeGetCovariance () const

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

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

Returns true if the pixel value of a vector image has a Mahalanobis distance below the value specified by the threshold.

This ImageFunction returns true if the pixel value of a vector image has a Mahalanobis distance below the value specided by the threshold. The Mahalanobis distance is computed with the MahalanobisDistanceMembershipFunction class which has to be initialized with the mean an covariance to be used. This class is intended to be used only with images whose pixel type is a vector (array).

The input image is set via method SetInputImage().

Methods Evaluate, EvaluateAtIndex and EvaluateAtContinuousIndex respectively evaluate the function at an geometric point, image index and continuous image index.

Definition at line 47 of file itkMahalanobisDistanceThresholdImageFunction.h.


Member Typedef Documentation

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

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

Definition at line 55 of file itkMahalanobisDistanceThresholdImageFunction.h.

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

ContinuousIndex typedef support.

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

Definition at line 79 of file itkMahalanobisDistanceThresholdImageFunction.h.

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

template<class TInputImage, class TCoordRep = float>
typedef vnl_matrix<double> itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::CovarianceMatrixType
 

Type used to represent the Covariance matrix of the vector population Definition at line 82 of file itkMahalanobisDistanceThresholdImageFunction.h.

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

Index typedef support.

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

Definition at line 76 of file itkMahalanobisDistanceThresholdImageFunction.h.

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

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

InputImageType typedef support.

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

Definition at line 64 of file itkMahalanobisDistanceThresholdImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef vnl_vector<double> itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::MeanVectorType
 

Type used to represent the Mean Vector of the vector population Definition at line 85 of file itkMahalanobisDistanceThresholdImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef TInputImage::PixelType itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::PixelType
 

Typedef to describe the type of pixel. Definition at line 67 of file itkMahalanobisDistanceThresholdImageFunction.h.

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

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

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

Definition at line 54 of file itkMahalanobisDistanceThresholdImageFunction.h.

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

Point typedef support.

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

Definition at line 73 of file itkMahalanobisDistanceThresholdImageFunction.h.

Referenced by itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::Evaluate().

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

Standard class typedefs.

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

Definition at line 52 of file itkMahalanobisDistanceThresholdImageFunction.h.

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

template<class TInputImage, class TCoordRep = float>
typedef ImageFunction<TInputImage,bool,TCoordRep> itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::Superclass
 

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

Definition at line 53 of file itkMahalanobisDistanceThresholdImageFunction.h.


Constructor & Destructor Documentation

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

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

Definition at line 158 of file itkMahalanobisDistanceThresholdImageFunction.h.

References itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::PixelType, and itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::Self.


Member Function Documentation

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

BinaryThreshold the image at a point position

Returns true if the image intensity at the specified point position satisfies the threshold criteria. The point is assumed to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

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

Definition at line 96 of file itkMahalanobisDistanceThresholdImageFunction.h.

References itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::IndexType, and itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::PointType.

template<class TInputImage, class TCoordRep = float>
virtual bool itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex const ContinuousIndexType index  )  const [inline, virtual]
 

BinaryThreshold the image at a continuous index position

Returns true if the image intensity at the specified point position satisfies the threshold criteria. The point is assumed to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

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

Definition at line 111 of file itkMahalanobisDistanceThresholdImageFunction.h.

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

template<class TInputImage, class TCoordRep = float>
virtual bool itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex const IndexType index  )  const [inline, virtual]
 

BinaryThreshold the image at an index position.

Returns true if the image intensity at the specified point position satisfies the threshold criteria. The point is assumed to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

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

Definition at line 128 of file itkMahalanobisDistanceThresholdImageFunction.h.

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

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

Run-time type information (and related methods).

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

template<class TInputImage, class TCoordRep = float>
const CovarianceMatrixType& itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::GetCovariance  )  const
 

Method to set covariance matrix Also, this function calculates inverse covariance and pre factor of MahalanobisDistance Distribution to speed up GetProbability

template<class TInputImage, class TCoordRep = float>
const MeanVectorType& itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::GetMean  )  const
 

Method to set mean

template<class TInputImage, class TCoordRep = float>
virtual double itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::GetThreshold  )  const [virtual]
 

Get the lower threshold value.

template<class TInputImage, class TCoordRep = float>
itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
Superclass::ImageDimension 
 

Dimension underlying input image.

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

Method for creation through the object factory.

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

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

template<class TInputImage, class TCoordRep = float>
void itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::SetCovariance const CovarianceMatrixType cov  ) 
 

Method to set covariance matrix Also, this function calculates inverse covariance and pre factor of MahalanobisDistance Distribution to speed up GetProbability

template<class TInputImage, class TCoordRep = float>
void itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::SetMean const MeanVectorType mean  ) 
 

Method to set mean

template<class TInputImage, class TCoordRep = float>
virtual void itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::SetThreshold double  _arg  )  [virtual]
 

Get the lower threshold value.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:10:08 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000