#include <itkMahalanobisDistanceThresholdImageFunction.h>
Inheritance diagram for itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >:
Public Types | |
typedef MahalanobisDistanceThresholdImageFunction | Self |
typedef ImageFunction< TInputImage, bool, TCoordRep > | Superclass |
typedef SmartPointer< Self > | Pointer |
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 * | GetNameOfClass () 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 | EvaluateDistance (const PointType &point) const |
virtual double | EvaluateDistanceAtIndex (const IndexType &index) const |
virtual const double & | GetThreshold () |
virtual void | SetThreshold (double _arg) |
void | SetMean (const MeanVectorType &mean) |
const MeanVectorType & | GetMean () const |
void | SetCovariance (const CovarianceMatrixType &cov) |
const CovarianceMatrixType & | GetCovariance () const |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
MahalanobisDistanceThresholdImageFunction () | |
~MahalanobisDistanceThresholdImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
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.
|
Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >. Definition at line 55 of file itkMahalanobisDistanceThresholdImageFunction.h. |
|
ContinuousIndex typedef support. Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >. Definition at line 79 of file itkMahalanobisDistanceThresholdImageFunction.h. |
|
Type used to represent the Covariance matrix of the vector population Definition at line 82 of file itkMahalanobisDistanceThresholdImageFunction.h. |
|
Index typedef support. Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >. Definition at line 76 of file itkMahalanobisDistanceThresholdImageFunction.h. |
|
InputImageType typedef support. Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >. Definition at line 64 of file itkMahalanobisDistanceThresholdImageFunction.h. |
|
Type used to represent the Mean Vector of the vector population Definition at line 85 of file itkMahalanobisDistanceThresholdImageFunction.h. |
|
Typedef to describe the type of pixel. Definition at line 67 of file itkMahalanobisDistanceThresholdImageFunction.h. Referenced by itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::~MahalanobisDistanceThresholdImageFunction(). |
|
Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >. Definition at line 54 of file itkMahalanobisDistanceThresholdImageFunction.h. |
|
Point typedef support. Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >. Definition at line 73 of file itkMahalanobisDistanceThresholdImageFunction.h. |
|
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(). |
|
Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >. Definition at line 53 of file itkMahalanobisDistanceThresholdImageFunction.h. |
|
|
|
|
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 >. |
|
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 >. |
|
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 >. |
|
Returns the actual value of the MahalanobisDistance at that point. The point is assumed to lie within the image buffer. ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method. |
|
Returns the actual value of the MahalanobisDistance at that Index. The point is assumed to lie within the image buffer. ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method. |
|
Method to set covariance matrix Also, this function calculates inverse covariance and pre factor of MahalanobisDistance Distribution to speed up GetProbability |
|
Method to set mean |
|
Run-time type information (and related methods). Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >. |
|
Get the lower threshold value. |
|
Dimension underlying input image. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
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, bool, TCoordRep >. |
|
Method to set covariance matrix Also, this function calculates inverse covariance and pre factor of MahalanobisDistance Distribution to speed up GetProbability |
|
Method to set mean |
|
Get the lower threshold value. |