17 #ifndef __itkGeodesicActiveContourShapePriorLevelSetFunction_h
18 #define __itkGeodesicActiveContourShapePriorLevelSetFunction_h
90 template <
class TImageType,
class TFeatureImageType = TImageType>
121 itkStaticConstMacro(ImageDimension,
unsigned int,
122 Superclass::ImageDimension);
125 virtual void CalculateSpeedImage();
128 virtual void CalculateAdvectionImage();
133 {
return PropagationSpeed( neighborhood, offset, gd ); }
137 void SetDerivativeSigma(
const double v )
138 { m_DerivativeSigma = v; }
139 double GetDerivativeSigma()
140 {
return m_DerivativeSigma; }
144 Superclass::Initialize(r);
146 this->SetAdvectionWeight( NumericTraits<ScalarValueType>::One );
147 this->SetPropagationWeight( NumericTraits<ScalarValueType>::One );
148 this->SetCurvatureWeight( NumericTraits<ScalarValueType>::One );
149 this->SetShapePriorWeight( NumericTraits<ScalarValueType>::One );
155 this->SetAdvectionWeight( NumericTraits<ScalarValueType>::One );
156 this->SetPropagationWeight( NumericTraits<ScalarValueType>::One );
157 this->SetCurvatureWeight( NumericTraits<ScalarValueType>::One );
158 this->SetShapePriorWeight( NumericTraits<ScalarValueType>::One );
160 m_DerivativeSigma = 1.0;
166 void operator=(
const Self&);
168 void PrintSelf(std::ostream& os,
Indent indent)
const
170 Superclass::PrintSelf(os, indent );
171 os << indent <<
"DerivativeSigma: " << m_DerivativeSigma << std::endl;
181 #ifndef ITK_MANUAL_INSTANTIATION