18 #ifndef itkMahalanobisDistanceThresholdImageFunction_h 19 #define itkMahalanobisDistanceThresholdImageFunction_h 48 template<
typename TInputImage,
typename TCoordRep =
float >
97 virtual bool Evaluate(
const PointType & point)
const ITK_OVERRIDE;
108 const ContinuousIndexType & index)
const ITK_OVERRIDE;
118 virtual bool EvaluateAtIndex(
const IndexType & index)
const ITK_OVERRIDE;
137 itkGetConstReferenceMacro(Threshold,
double);
138 itkSetMacro(Threshold,
double);
142 void SetMean(
const MeanVectorType & mean);
145 const MeanVectorType &
GetMean()
const;
161 void operator=(
const Self &) ITK_DELETE_FUNCTION;
181 #ifndef ITK_MANUAL_INSTANTIATION 182 #include "itkMahalanobisDistanceThresholdImageFunction.hxx" vnl_vector< double > MeanVectorType
MahalanobisDistanceFunctionType::Pointer MahalanobisDistanceFunctionPointer
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
MahalanobisDistanceFunctionPointer m_MahalanobisDistanceMembershipFunction
static const unsigned int ImageDimension
MahalanobisDistanceMembershipFunction models class membership using Mahalanobis distance.
~MahalanobisDistanceThresholdImageFunction()
virtual double EvaluateDistanceAtIndex(const IndexType &index) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::PointType PointType
virtual double EvaluateDistance(const PointType &point) const
CovarianceMatrixType m_Covariance
SmartPointer< Self > Pointer
static const unsigned int ImageDimension
virtual bool EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
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)
virtual bool Evaluate(const PointType &point) const override
InputImageType::IndexType IndexType
void operator=(const Self &) ITK_DELETE_FUNCTION
SmartPointer< const Self > ConstPointer
TInputImage InputImageType
const MeanVectorType & GetMean() const
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
void PrintSelf(std::ostream &os, Indent indent) const override
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.
virtual bool EvaluateAtIndex(const IndexType &index) const override
Superclass::InputImageType InputImageType
ImageFunction< TInputImage, bool, TCoordRep > Superclass