Go to the documentation of this file.
18 #ifndef sitkUnsharpMaskImageFilter_h
19 #define sitkUnsharpMaskImageFilter_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetSigmas(
double s) { this->m_Sigmas = std::vector<double>(3, s );
return *
this; }
77 SITK_RETURN_SELF_TYPE_HEADER
SetSigmas ( std::vector<double> Sigmas ) { this->m_Sigmas = std::move(Sigmas);
return *
this; }
82 std::vector<double>
GetSigmas()
const {
return this->m_Sigmas; }\
87 SITK_RETURN_SELF_TYPE_HEADER
SetAmount (
double Amount ) { this->m_Amount = Amount;
return *
this; }
92 double GetAmount()
const {
return this->m_Amount; }\
105 std::string
GetName()
const {
return std::string (
"UnsharpMaskImageFilter"); }
108 std::string ToString()
const;
120 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
128 std::vector<double> m_Sigmas{std::vector<double>(3, 1.0)};
130 double m_Amount{0.5};
132 double m_Threshold{0.0};
The Image class for SimpleITK.
std::vector< double > GetSigmas() const
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
RealPixelIDTypeList PixelIDTypeList
double GetThreshold() const
Image UnsharpMask(const Image &image1, std::vector< double > sigmas=std::vector< double >(3, 1.0), double amount=0.5, double threshold=0.0)
Edge enhancement filter.
std::string GetName() const
Image(Self::*)(const Image &image1) MemberFunctionType
Self & SetAmount(double Amount)
Self & SetThreshold(double Threshold)
Self & SetSigmas(std::vector< double > Sigmas)
#define SITKBasicFilters_EXPORT
Image Threshold(Image &&image1, double lower=0.0, double upper=1.0, double outsideValue=0.0)
Set image values to a user-specified value if they are below, above, or between simple threshold valu...
The base interface for SimpleITK filters that take one input image.
Self & SetSigmas(double s)