18 #ifndef __itkCannySegmentationLevelSetFunction_h
19 #define __itkCannySegmentationLevelSetFunction_h
34 template<
class TImageType,
class TFeatureImageType = TImageType >
60 itkStaticConstMacro(ImageDimension,
unsigned int,
61 Superclass::ImageDimension);
67 {
return m_Threshold; }
71 void SetVariance(
double v)
73 double GetVariance()
const
74 {
return m_Variance; }
79 virtual void CalculateSpeedImage();
83 virtual void CalculateAdvectionImage();
87 virtual void CalculateDistanceImage();
91 Superclass::Initialize(r);
99 {
return m_Canny->GetOutput(); }
113 void operator=(
const Self &);
128 template <
class DummyImagePo
interType>
129 void AssignCannyInput(
typename FeatureImageType::Pointer &feature,
130 DummyImagePointerType &)
133 m_Canny->SetInput( m_Caster->GetOutput() );
139 void AssignCannyInput(
typename FeatureImageType::Pointer &feature,
140 typename FeatureImageType::Pointer &)
142 m_Canny->SetInput(feature);
148 #ifndef ITK_MANUAL_INSTANTIATION
149 #include "itkCannySegmentationLevelSetFunction.hxx"