|
ITK
5.2.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>
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>
158 AssignCannyInput(
typename FeatureImageType::Pointer & feature,
typename FeatureImageType::Pointer &)
166 #ifndef ITK_MANUAL_INSTANTIATION
167 # include "itkCannySegmentationLevelSetFunction.hxx"
double GetVariance() const
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
typename Superclass::FeatureScalarType FeatureScalarType
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.
typename Superclass::ScalarValueType ScalarValueType
A refinement of the standard level-set function which computes a speed term and advection term based ...
typename Superclass::ScalarValueType ScalarValueType
This filter is an implementation of a Canny edge detector for scalar-valued images.
ScalarValueType GetThreshold() const
typename Superclass::VectorImageType VectorImageType
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()