18#ifndef sitkCannyEdgeDetectionImageFilter_h
19#define sitkCannyEdgeDetectionImageFilter_h
106 SITK_RETURN_SELF_TYPE_HEADER
SetVariance ( std::vector<double> Variance ) { this->
m_Variance = std::move(Variance);
return *
this; }
109 SITK_RETURN_SELF_TYPE_HEADER
SetVariance(
double value ) { this->
m_Variance = std::vector<double>(3, value);
return *
this; }
130 std::string
GetName()
const {
return std::string (
"CannyEdgeDetectionImageFilter"); }
Self & SetVariance(std::vector< double > Variance)
Image Execute(const Image &image1)
Self & SetVariance(double value)
std::string ToString() const
std::vector< double > m_MaximumError
Self & SetMaximumError(double value)
Image(Self::*)(const Image &image1) MemberFunctionType
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
double GetLowerThreshold() const
std::vector< double > GetMaximumError() const
Self & SetMaximumError(std::vector< double > MaximumError)
std::string GetName() const
std::vector< double > GetVariance() const
RealPixelIDTypeList PixelIDTypeList
double GetUpperThreshold() const
CannyEdgeDetectionImageFilter()
Image ExecuteInternal(const Image &image1)
virtual ~CannyEdgeDetectionImageFilter()
std::vector< double > m_Variance
CannyEdgeDetectionImageFilter Self
Self & SetUpperThreshold(double UpperThreshold)
Set the upper threshold value for detected edges.
Self & SetLowerThreshold(double LowerThreshold)
Set the lower threshold value for detected edges.
The Image class for SimpleITK.
Image CannyEdgeDetection(const Image &image1, double lowerThreshold=0.0, double upperThreshold=0.0, std::vector< double > variance=std::vector< double >(3, 0.0), std::vector< double > maximumError=std::vector< double >(3, 0.01))
This filter is an implementation of a Canny edge detector for scalar-valued images.
typelist2::typelist< BasicPixelID< float >, BasicPixelID< double > > RealPixelIDTypeList
#define SITKBasicFilters_EXPORT