18 #ifndef itkMahalanobisDistanceThresholdImageFunction_h
19 #define itkMahalanobisDistanceThresholdImageFunction_h
48 template<
typename TInputImage,
typename TCoordRep =
float >
72 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
97 virtual bool Evaluate(
const PointType & point)
const ITK_OVERRIDE;
107 virtual bool EvaluateAtContinuousIndex(
118 virtual bool EvaluateAtIndex(
const IndexType & index)
const ITK_OVERRIDE;
124 virtual double EvaluateDistance(
const PointType & point)
const;
130 virtual double EvaluateDistanceAtIndex(
const IndexType & index)
const;
133 itkGetConstReferenceMacro(Threshold,
double);
134 itkSetMacro(Threshold,
double);
156 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
179 #ifndef ITK_MANUAL_INSTANTIATION
180 #include "itkMahalanobisDistanceThresholdImageFunction.hxx"
vnl_vector< double > MeanVectorType
MahalanobisDistanceFunctionType::Pointer MahalanobisDistanceFunctionPointer
Light weight base class for most itk classes.
MahalanobisDistanceFunctionPointer m_MahalanobisDistanceMembershipFunction
MahalanobisDistanceMembershipFunction models class membership using Mahalanobis distance.
Superclass::PointType PointType
CovarianceMatrixType m_Covariance
SmartPointer< Self > Pointer
Statistics::MahalanobisDistanceMembershipFunction< PixelType > MahalanobisDistanceFunctionType
Returns true if the pixel value of a vector image has a Mahalanobis distance below the value specifie...
ImageBaseType::PointType PointType
SmartPointer< const Self > ConstPointer
~MahalanobisDistanceThresholdImageFunction() override
Superclass::ContinuousIndexType ContinuousIndexType
Control indentation during Print() invocation.
TInputImage::PixelType PixelType
vnl_matrix< double > CovarianceMatrixType
MahalanobisDistanceThresholdImageFunction Self
Superclass::IndexType IndexType
Evaluates a function of an image at specified position.
Superclass::InputImageType InputImageType
ImageFunction< TInputImage, bool, TCoordRep > Superclass
ImageBaseType::IndexType IndexType