17 #ifndef itkCannyEdgesDistanceFeatureGenerator_h
18 #define itkCannyEdgesDistanceFeatureGenerator_h
61 template <
unsigned int NDimension>
80 static constexpr
unsigned int Dimension = NDimension;
113 itkSetMacro( UpperThreshold,
double );
114 itkGetMacro( UpperThreshold,
double );
115 itkSetMacro( LowerThreshold,
double );
116 itkGetMacro( LowerThreshold,
double );
121 void PrintSelf(std::ostream& os,
Indent indent)
const override;
125 void GenerateData ()
override;
160 #ifndef ITK_MANUAL_INSTANTIATION
161 # include "itkCannyEdgesDistanceFeatureGenerator.hxx"
Light weight base class for most itk classes.
CastFilterPointer m_CastFilter
Define numeric traits for std::vector.
typename InputImageSpatialObjectType::Pointer InputImageSpatialObjectPointer
typename NumericTraits< InputPixelType >::ScalarRealType ScalarRealType
constexpr unsigned int Dimension
This filter calculates the Euclidean distance transform of a binary image in linear time for arbitrar...
DistanceMapFilterPointer m_DistanceMapFilter
signed short InputPixelType
Class that generates features (typically images) used as input for a segmentation method...
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
Generates a feature image by computing the distance map to the canny edges in the image...
InternalPixelType OutputPixelType
typename Superclass::SpatialObjectType SpatialObjectType
Implementation of an image as spatial object.
CannyEdgeFilterPointer m_CannyFilter
Control indentation during Print() invocation.
typename CastFilterType::Pointer CastFilterPointer
typename CannyEdgeFilterType::Pointer CannyEdgeFilterPointer
Templated n-dimensional image class.
Casts input pixels to output pixel type.
typename DistanceMapFilterType::Pointer DistanceMapFilterPointer