18 #ifndef sitkZeroCrossingBasedEdgeDetectionImageFilter_h
19 #define sitkZeroCrossingBasedEdgeDetectionImageFilter_h
79 SITK_RETURN_SELF_TYPE_HEADER
SetVariance (
double Variance ) { this->m_Variance = Variance;
return *
this; }
89 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
uint8_t ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
99 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
uint8_t BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
109 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumError (
double MaximumError ) { this->m_MaximumError = MaximumError;
return *
this; }
116 std::string
GetName()
const {
return std::string (
"ZeroCrossingBasedEdgeDetectionImageFilter"); }
119 std::string ToString()
const;
127 Image Execute (
const Image& image1,
double variance,
uint8_t foregroundValue,
uint8_t backgroundValue,
double maximumError );
133 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
134 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Self & SetBackgroundValue(uint8_t BackgroundValue)
uint8_t m_BackgroundValue
double GetMaximumError() const
double GetVariance() const
Self & SetMaximumError(double MaximumError)
#define SITKBasicFilters_EXPORT
uint8_t m_ForegroundValue
This filter implements a zero-crossing based edge detecor.
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
RealPixelIDTypeList PixelIDTypeList
std::string GetName() const
The Image class for SimpleITK.
Self & SetVariance(double Variance)
Self & SetForegroundValue(uint8_t ForegroundValue)
Image ZeroCrossingBasedEdgeDetection(const Image &image1, double variance=1, uint8_t foregroundValue=1u, uint8_t backgroundValue=0u, double maximumError=0.1)
This filter implements a zero-crossing based edge detecor.
uint8_t GetForegroundValue() const
ZeroCrossingBasedEdgeDetectionImageFilter Self
uint8_t GetBackgroundValue() const
The base interface for SimpleITK filters that take one input image.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory