18#ifndef itkVectorThresholdSegmentationLevelSetFunction_h
19#define itkVectorThresholdSegmentationLevelSetFunction_h
57template <
typename TImageType,
typename TFeatureImageType>
101 const MeanVectorType &
113 const CovarianceMatrixType &
151 mean.Fill(
typename FeatureScalarType::ValueType{});
152 covariance.Fill(
typename FeatureScalarType::ValueType{});
169 os << indent <<
"MahalanobisFunction: " <<
m_Mahalanobis << std::endl;
170 os << indent <<
"ThresholdValue: " <<
m_Threshold << std::endl;
178#ifndef ITK_MANUAL_INSTANTIATION
179# include "itkVectorThresholdSegmentationLevelSetFunction.hxx"
Control indentation during Print() invocation.
virtual void SetAdvectionWeight(const ScalarValueType a)
virtual void SetPropagationWeight(const ScalarValueType p)
virtual void SetCurvatureWeight(const ScalarValueType c)
virtual void PrintSelf(std::ostream &os, Indent indent) const
typename FeatureImageType::PixelType FeatureScalarType
void Initialize(const RadiusType &r) override
OutputImageType ImageType
static constexpr unsigned int ImageDimension
typename ConstNeighborhoodIterator< OutputImageType >::RadiusType RadiusType
SegmentationLevelSetFunction()
PixelType ScalarValueType
Implements transparent reference counting.
MahalanobisDistanceMembershipFunction models class membership using Mahalanobis distance.
VariableSizeMatrix< double > CovarianceMatrixType
MeasurementVectorRealType MeanVectorType
SmartPointer< Self > Pointer
ScalarValueType m_Threshold
TFeatureImageType FeatureImageType
ScalarValueType GetThreshold()
const MeanVectorType & GetMean() const
void PrintSelf(std::ostream &os, Indent indent) const override
void SetThreshold(ScalarValueType thr)
typename FeatureImageType::PixelType FeatureImagePixelType
Statistics::MahalanobisDistanceMembershipFunction< FeatureScalarType > MahalanobisFunctionType
typename MahalanobisFunctionType::CovarianceMatrixType CovarianceMatrixType
VectorThresholdSegmentationLevelSetFunction()
void SetMean(const MeanVectorType &mean)
typename MahalanobisFunctionType::Pointer MahalanobisFunctionPointer
MahalanobisFunctionPointer m_Mahalanobis
const CovarianceMatrixType & GetCovariance() const
PixelType ScalarValueType
void SetCovariance(const CovarianceMatrixType &cov)
static constexpr unsigned int NumberOfComponents
SegmentationLevelSetFunction< TImageType, TFeatureImageType > Superclass
typename MahalanobisFunctionType::MeanVectorType MeanVectorType
SmartPointer< const Self > ConstPointer
VectorThresholdSegmentationLevelSetFunction Self
SmartPointer< Self > Pointer
typename ConstNeighborhoodIterator< OutputImageType >::RadiusType RadiusType
void Initialize(const RadiusType &r) override
void CalculateSpeedImage() override
~VectorThresholdSegmentationLevelSetFunction() override=default
static constexpr unsigned int ImageDimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....