18 #ifndef sitkUnsharpMaskImageFilter_h
19 #define sitkUnsharpMaskImageFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetSigmas(
double s) { this->m_Sigmas = std::vector<double>(3, s );
return *
this; }
75 SITK_RETURN_SELF_TYPE_HEADER
SetSigmas (
const std::vector<double> & Sigmas ) { this->m_Sigmas = Sigmas;
return *
this; }
80 std::vector<double>
GetSigmas()
const {
return this->m_Sigmas; }
85 SITK_RETURN_SELF_TYPE_HEADER
SetAmount (
double Amount ) { this->m_Amount = Amount;
return *
this; }
102 std::string
GetName()
const {
return std::string (
"UnsharpMaskImageFilter"); }
105 std::string ToString()
const;
113 Image Execute (
const Image& image1,
const std::vector<double> & sigmas,
double amount,
double threshold );
119 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
120 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Self & SetAmount(double Amount)
Self & SetSigmas(const std::vector< double > &Sigmas)
#define SITKBasicFilters_EXPORT
Self & SetThreshold(double Threshold)
Image UnsharpMask(const Image &image1, const std::vector< double > &sigmas=std::vector< double >(3, 1.0), double amount=0.5, double threshold=0.0)
Edge enhancement filter.
UnsharpMaskImageFilter Self
double GetThreshold() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
std::vector< double > GetSigmas() const
Image Threshold(const 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...
std::vector< double > m_Sigmas
The Image class for SimpleITK.
RealPixelIDTypeList PixelIDTypeList
Self & SetSigmas(double s)
std::string GetName() const
The base interface for SimpleITK filters that take one input image.