Go to the documentation of this file.
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};
151 double m_MaximumError{0.1};
The Image class for SimpleITK.
Image ZeroCrossingBasedEdgeDetection(const Image &image1, double variance=1.0, uint8_t foregroundValue=1u, uint8_t backgroundValue=0u, double maximumError=0.1)
This filter implements a zero-crossing based edge detecor.
This filter implements a zero-crossing based edge detecor.
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
double GetVariance() const
uint8_t GetBackgroundValue() const
Image(Self::*)(const Image &image1) MemberFunctionType
RealPixelIDTypeList PixelIDTypeList
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetForegroundValue(uint8_t ForegroundValue)
#define SITKBasicFilters_EXPORT
Self & SetVariance(double Variance)
The base interface for SimpleITK filters that take one input image.
std::string GetName() const
double GetMaximumError() const
Self & SetBackgroundValue(uint8_t BackgroundValue)
uint8_t GetForegroundValue() const
Self & SetMaximumError(double MaximumError)