18#ifndef itkMahalanobisDistanceThresholdImageFunction_h
19#define itkMahalanobisDistanceThresholdImageFunction_h
49template <
typename TInputImage,
typename TCoordinate =
float>
140 itkGetConstReferenceMacro(Threshold,
double);
141 itkSetMacro(Threshold,
double);
185#ifndef ITK_MANUAL_INSTANTIATION
186# include "itkMahalanobisDistanceThresholdImageFunction.hxx"
static constexpr unsigned int ImageDimension
typename InputImageType::IndexType IndexType
Point< TCoordinate, Self::ImageDimension > PointType
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
TInputImage InputImageType
Control indentation during Print() invocation.
~MahalanobisDistanceThresholdImageFunction() override=default
virtual double EvaluateDistance(const PointType &point) const
vnl_vector< double > MeanVectorType
typename TInputImage::PixelType PixelType
MahalanobisDistanceFunctionPointer m_MahalanobisDistanceMembershipFunction
Point< float, Self::ImageDimension > PointType
CovarianceMatrixType m_Covariance
SmartPointer< Self > Pointer
vnl_matrix< double > CovarianceMatrixType
bool EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
ContinuousIndex< float, Self::ImageDimension > ContinuousIndexType
bool EvaluateAtIndex(const IndexType &index) const override
void SetCovariance(const CovarianceMatrixType &covariance)
void SetMean(const MeanVectorType &mean)
typename MahalanobisDistanceFunctionType::Pointer MahalanobisDistanceFunctionPointer
SmartPointer< const Self > ConstPointer
MahalanobisDistanceThresholdImageFunction()
typename InputImageType::IndexType IndexType
ImageFunction< TInputImage, bool, TCoordinate > Superclass
virtual double EvaluateDistanceAtIndex(const IndexType &index) const
MahalanobisDistanceThresholdImageFunction Self
Statistics::MahalanobisDistanceMembershipFunction< PixelType > MahalanobisDistanceFunctionType
static constexpr unsigned int ImageDimension
void PrintSelf(std::ostream &os, Indent indent) const override
bool Evaluate(const PointType &point) const override
Implements transparent reference counting.
MahalanobisDistanceMembershipFunction models class membership using Mahalanobis distance.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents