18#ifndef sitkCannyEdgeDetectionImageFilter_h
19#define sitkCannyEdgeDetectionImageFilter_h
157 std::string
GetName()
const {
return std::string(
"CannyEdgeDetectionImageFilter"); }
179 std::vector<double>
m_Variance{ std::vector<double>(3, 0.0) };
201 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)
Image Execute(const Image &image1)
std::string ToString() const
std::vector< double > m_MaximumError
double GetLowerThreshold() const
void SetUpperThreshold(double UpperThreshold)
Set the upper threshold value for detected edges.
void SetLowerThreshold(double LowerThreshold)
Set the lower threshold value for detected edges.
std::vector< double > GetMaximumError() const
std::string GetName() const
std::vector< double > GetVariance() const
RealPixelIDTypeList PixelIDTypeList
double GetUpperThreshold() const
CannyEdgeDetectionImageFilter()
Image ExecuteInternal(const Image &image1)
void SetMaximumError(double value)
Image(Self::*)(const Image &image1) MemberFunctionType
virtual ~CannyEdgeDetectionImageFilter()
void SetVariance(std::vector< double > Variance)
void SetVariance(double value)
std::vector< double > m_Variance
CannyEdgeDetectionImageFilter Self
void SetMaximumError(std::vector< double > MaximumError)
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
The Image class for SimpleITK.
A class used to instantiate and generate function object to templated member functions.
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