18 #ifndef __itkVectorThresholdSegmentationLevelSetFunction_h
19 #define __itkVectorThresholdSegmentationLevelSetFunction_h
57 template<
class TImageType,
class TFeatureImageType >
77 typedef typename Superclass::ImageType
ImageType;
83 itkStaticConstMacro(ImageDimension,
unsigned int,
84 Superclass::ImageDimension);
88 itkStaticConstMacro(NumberOfComponents,
unsigned int,
89 FeatureImagePixelType::Dimension);
115 virtual void CalculateSpeedImage();
119 Superclass::Initialize(r);
135 m_Mahalanobis = MahalanobisFunctionType::New();
136 m_Mahalanobis->SetMean(mean);
137 m_Mahalanobis->SetCovariance(covariance);
139 this->SetAdvectionWeight(0.0);
140 this->SetPropagationWeight(1.0);
141 this->SetThreshold(1.8);
148 void operator=(
const Self &);
152 void PrintSelf(std::ostream & os,
Indent indent)
const
154 Superclass::PrintSelf(os, indent);
155 os << indent <<
"MahalanobisFunction: " << m_Mahalanobis << std::endl;
156 os << indent <<
"ThresholdValue: " << m_Threshold << std::endl;
164 #ifndef ITK_MANUAL_INSTANTIATION
165 #include "itkVectorThresholdSegmentationLevelSetFunction.hxx"