18 #ifndef sitkZeroCrossingBasedEdgeDetectionImageFilter_h
19 #define sitkZeroCrossingBasedEdgeDetectionImageFilter_h
83 SITK_RETURN_SELF_TYPE_HEADER
SetVariance (
double Variance ) { this->m_Variance = Variance;
return *
this; }
93 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue ( uint8_t ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
103 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue ( uint8_t BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
113 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumError (
double MaximumError ) { this->m_MaximumError = MaximumError;
return *
this; }
121 std::string
GetName()
const {
return std::string (
"ZeroCrossingBasedEdgeDetectionImageFilter"); }
124 std::string ToString()
const;
136 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
144 double m_Variance{1.0};
146 uint8_t m_ForegroundValue{1u};
148 uint8_t m_BackgroundValue{0u};
150 double m_MaximumError{0.1};