18 #ifndef __itkMahalanobisDistanceThresholdImageFunction_h
19 #define __itkMahalanobisDistanceThresholdImageFunction_h
48 template<
typename TInputImage,
typename TCoordRep =
float >
137 itkGetConstReferenceMacro(Threshold,
double);
138 itkSetMacro(Threshold,
double);
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkMahalanobisDistanceThresholdImageFunction.hxx"
vnl_vector< double > MeanVectorType
MahalanobisDistanceFunctionType::Pointer MahalanobisDistanceFunctionPointer
Light weight base class for most itk classes.
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
MahalanobisDistanceFunctionPointer m_MahalanobisDistanceMembershipFunction
static const unsigned int ImageDimension
virtual bool Evaluate(const PointType &point) const
MahalanobisDistanceMembershipFunction models class membership using Mahalanobis distance.
~MahalanobisDistanceThresholdImageFunction()
virtual double EvaluateDistanceAtIndex(const IndexType &index) const
Superclass::PointType PointType
virtual double EvaluateDistance(const PointType &point) const
CovarianceMatrixType m_Covariance
SmartPointer< Self > Pointer
static const unsigned int ImageDimension
Statistics::MahalanobisDistanceMembershipFunction< PixelType > MahalanobisDistanceFunctionType
Returns true if the pixel value of a vector image has a Mahalanobis distance below the value specifie...
void SetCovariance(const CovarianceMatrixType &cov)
virtual bool EvaluateAtContinuousIndex(const ContinuousIndexType &index) const
InputImageType::IndexType IndexType
SmartPointer< const Self > ConstPointer
TInputImage InputImageType
const MeanVectorType & GetMean() const
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
void SetMean(const MeanVectorType &mean)
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::ContinuousIndexType ContinuousIndexType
Control indentation during Print() invocation.
TInputImage::PixelType PixelType
void operator=(const Self &)
vnl_matrix< double > CovarianceMatrixType
MahalanobisDistanceThresholdImageFunction()
const CovarianceMatrixType & GetCovariance() const
MahalanobisDistanceThresholdImageFunction Self
Superclass::IndexType IndexType
Evaluates a function of an image at specified position.
Superclass::InputImageType InputImageType
ImageFunction< TInputImage, bool, TCoordRep > Superclass
virtual bool EvaluateAtIndex(const IndexType &index) const