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(); }
114 void operator=(
const Self &);
129 template <
class DummyImagePo
interType>
130 void AssignCannyInput(
typename FeatureImageType::Pointer &feature,
131 DummyImagePointerType &)
134 m_Canny->SetInput( m_Caster->GetOutput() );
140 void AssignCannyInput(
typename FeatureImageType::Pointer &feature,
141 typename FeatureImageType::Pointer &)
143 m_Canny->SetInput(feature);
149 #ifndef ITK_MANUAL_INSTANTIATION
150 #include "itkCannySegmentationLevelSetFunction.hxx"