18 #ifndef itkMahalanobisDistanceThresholdImageFunction_h
19 #define itkMahalanobisDistanceThresholdImageFunction_h
48 template<
typename TInputImage,
typename TCoordRep =
float >
74 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
99 bool Evaluate(
const PointType & point)
const override;
109 bool EvaluateAtContinuousIndex(
120 bool EvaluateAtIndex(
const IndexType & index)
const override;
126 virtual double EvaluateDistance(
const PointType & point)
const;
132 virtual double EvaluateDistanceAtIndex(
const IndexType & index)
const;
135 itkGetConstReferenceMacro(Threshold,
double);
136 itkSetMacro(Threshold,
double);
158 void PrintSelf(std::ostream & os,
Indent indent)
const override;
177 #ifndef ITK_MANUAL_INSTANTIATION
178 #include "itkMahalanobisDistanceThresholdImageFunction.hxx"
typename TInputImage::PixelType PixelType
typename Superclass::ContinuousIndexType ContinuousIndexType
Light weight base class for most itk classes.
MahalanobisDistanceFunctionPointer m_MahalanobisDistanceMembershipFunction
MahalanobisDistanceMembershipFunction models class membership using Mahalanobis distance.
typename Superclass::InputImageType InputImageType
CovarianceMatrixType m_Covariance
Returns true if the pixel value of a vector image has a Mahalanobis distance below the value specifie...
ImageBaseType::IndexType IndexType
vnl_matrix< double > CovarianceMatrixType
vnl_vector< double > MeanVectorType
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
typename Superclass::IndexType IndexType
typename MahalanobisDistanceFunctionType::Pointer MahalanobisDistanceFunctionPointer
typename Superclass::PointType PointType
Evaluates a function of an image at specified position.