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
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
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)
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
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