18 #ifndef itkCannySegmentationLevelSetFunction_h
19 #define itkCannySegmentationLevelSetFunction_h
34 template<
typename TImageType,
typename TFeatureImageType = TImageType >
114 void operator=(const
Self &) ITK_DELETE_FUNCTION;
129 template <typename DummyImagePointerType>
131 DummyImagePointerType &)
133 m_Caster->SetInput(feature);
134 m_Canny->SetInput( m_Caster->GetOutput() );
141 typename FeatureImageType::Pointer &)
149 #ifndef ITK_MANUAL_INSTANTIATION
150 #include "itkCannySegmentationLevelSetFunction.hxx"
virtual void Initialize(const RadiusType &r) override
CannySegmentationLevelSetFunction Self
ImageType * GetCannyImage()
Superclass::ImageType ImageType
Light weight base class for most itk classes.
ScalarValueType m_Variance
void AssignCannyInput(typename FeatureImageType::Pointer &feature, DummyImagePointerType &)
Superclass::ImageType ImageType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
virtual void CalculateDistanceImage()
ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
CastImageFilter< FeatureImageType, ImageType >::Pointer m_Caster
Superclass::RadiusType RadiusType
double GetVariance() const
void SetVariance(double v)
CannySegmentationLevelSetFunction()
Superclass::ScalarValueType ScalarValueType
Superclass::RadiusType RadiusType
TFeatureImageType FeatureImageType
virtual void SetInput(const InputImageType *image)
virtual void SetPropagationWeight(const ScalarValueType p)
virtual void CalculateAdvectionImage() override
Superclass::VectorImageType VectorImageType
Superclass::ScalarValueType ScalarValueType
Superclass::FeatureScalarType FeatureScalarType
FeatureImageType::PixelType FeatureScalarType
void AssignCannyInput(typename FeatureImageType::Pointer &feature, typename FeatureImageType::Pointer &)
ScalarValueType GetThreshold() const
A refinement of the standard level-set function which computes a speed term and advection term based ...
static const unsigned int ImageDimension
OutputImageType * GetOutput()
virtual ~CannySegmentationLevelSetFunction()
virtual void CalculateSpeedImage() override
void SetThreshold(ScalarValueType v)
DanielssonDistanceMapImageFilter< ImageType, ImageType >::Pointer m_Distance
virtual void Initialize(const RadiusType &r) override
Define additional traits for native types such as int or float.
SegmentationLevelSetFunction< TImageType, TFeatureImageType > Superclass
virtual void SetCurvatureWeight(const ScalarValueType c)
virtual void SetAdvectionWeight(const ScalarValueType a)
This filter computes the distance map of the input image as an approximation with pixel accuracy to t...
static const unsigned int ImageDimension
Image< VectorType, itkGetStaticConstMacro(ImageDimension) > VectorImageType
Casts input pixels to output pixel type.
CannyEdgeDetectionImageFilter< ImageType, ImageType >::Pointer m_Canny
This filter is an implementation of a Canny edge detector for scalar-valued images.