18 #ifndef itkMahalanobisDistanceThresholdImageFunction_h
19 #define itkMahalanobisDistanceThresholdImageFunction_h
48 template<
typename TInputImage,
typename TCoordRep =
float >
137 itkGetConstReferenceMacro(Threshold,
double);
138 itkSetMacro(Threshold,
double);
161 void operator=(const
Self &) ITK_DELETE_FUNCTION;
166 typedef Statistics::MahalanobisDistanceMembershipFunction<
181 #ifndef ITK_MANUAL_INSTANTIATION
182 #include "itkMahalanobisDistanceThresholdImageFunction.hxx"
vnl_vector< double > MeanVectorType
Light weight base class for most itk classes.
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
virtual bool Evaluate(const PointType &point) const override
virtual bool EvaluateAtIndex(const IndexType &index) const override
MahalanobisDistanceFunctionPointer m_MahalanobisDistanceMembershipFunction
static const unsigned int ImageDimension
virtual bool EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
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
void PrintSelf(std::ostream &os, Indent indent) const override
static const unsigned int ImageDimension
Returns true if the pixel value of a vector image has a Mahalanobis distance below the value specifie...
void SetCovariance(const CovarianceMatrixType &cov)
InputImageType::IndexType IndexType
SmartPointer< const Self > ConstPointer
TInputImage InputImageType
const MeanVectorType & GetMean() const
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
void SetMean(const MeanVectorType &mean)
Superclass::ContinuousIndexType ContinuousIndexType
Control indentation during Print() invocation.
TInputImage::PixelType PixelType
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