|
ITK
5.3.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkCannySegmentationLevelSetFunction_h
19 #define itkCannySegmentationLevelSetFunction_h
34 template <
typename TImageType,
typename TFeatureImageType = TImageType>
55 using typename Superclass::ImageType;
56 using typename Superclass::ScalarValueType;
57 using typename Superclass::VectorImageType;
58 using typename Superclass::FeatureScalarType;
59 using typename Superclass::RadiusType;
62 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
93 CalculateSpeedImage()
override;
98 CalculateAdvectionImage()
override;
103 CalculateDistanceImage();
108 Superclass::Initialize(r);
118 return m_Canny->GetOutput();
146 template <
typename DummyImagePo
interType>
166 #ifndef ITK_MANUAL_INSTANTIATION
167 # include "itkCannySegmentationLevelSetFunction.hxx"
double GetVariance() const
SmartPointer< Self > Pointer
Casts input pixels to output pixel type.
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
ImageType * GetCannyImage()
TFeatureImageType FeatureImageType
ScalarValueType m_Variance
DanielssonDistanceMapImageFilter< ImageType, ImageType >::Pointer m_Distance
void AssignCannyInput(typename FeatureImageType::Pointer &feature, DummyImagePointerType &)
This filter computes the distance map of the input image as an approximation with pixel accuracy to t...
void SetVariance(double v)
void SetThreshold(ScalarValueType v)
Light weight base class for most itk classes.
A refinement of the standard level-set function which computes a speed term and advection term based ...
This filter is an implementation of a Canny edge detector for scalar-valued images.
ScalarValueType GetThreshold() const
Define additional traits for native types such as int or float.
virtual void SetInput(const InputImageType *input)
CannyEdgeDetectionImageFilter< ImageType, ImageType >::Pointer m_Canny
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
OutputImageType * GetOutput()
void AssignCannyInput(typename FeatureImageType::Pointer &feature, typename FeatureImageType::Pointer &)
CastImageFilter< FeatureImageType, ImageType >::Pointer m_Caster
void Initialize(const RadiusType &r) override
CannySegmentationLevelSetFunction()