18 #ifndef sitkZeroCrossingBasedEdgeDetectionImageFilter_h
19 #define sitkZeroCrossingBasedEdgeDetectionImageFilter_h
84 SITK_RETURN_SELF_TYPE_HEADER
SetVariance (
double Variance ) { this->m_Variance = Variance;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue ( uint8_t ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
104 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue ( uint8_t BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
114 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumError (
double MaximumError ) { this->m_MaximumError = MaximumError;
return *
this; }
122 std::string
GetName()
const {
return std::string (
"ZeroCrossingBasedEdgeDetectionImageFilter"); }
125 std::string ToString()
const;
137 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
145 double m_Variance{1.0};
147 uint8_t m_ForegroundValue{1u};
149 uint8_t m_BackgroundValue{0u};
151 double m_MaximumError{0.1};