Go to the documentation of this file.
18 #ifndef sitkBilateralImageFilter_h
19 #define sitkBilateralImageFilter_h
89 SITK_RETURN_SELF_TYPE_HEADER
SetDomainSigma (
double DomainSigma ) { this->m_DomainSigma = DomainSigma;
return *
this; }
99 SITK_RETURN_SELF_TYPE_HEADER
SetRangeSigma (
double RangeSigma ) { this->m_RangeSigma = RangeSigma;
return *
this; }
109 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfRangeGaussianSamples (
unsigned int NumberOfRangeGaussianSamples ) { this->m_NumberOfRangeGaussianSamples = NumberOfRangeGaussianSamples;
return *
this; }
117 std::string
GetName()
const {
return std::string (
"BilateralImageFilter"); }
120 std::string ToString()
const;
132 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
134 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
141 double m_DomainSigma{4.0};
143 double m_RangeSigma{50.0};
145 unsigned int m_NumberOfRangeGaussianSamples{100u};
The Image class for SimpleITK.
double GetDomainSigma() const
BasicPixelIDTypeList PixelIDTypeList
Self & SetNumberOfRangeGaussianSamples(unsigned int NumberOfRangeGaussianSamples)
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
Image Bilateral(const Image &image1, double domainSigma=4.0, double rangeSigma=50.0, unsigned int numberOfRangeGaussianSamples=100u)
Blurs an image while preserving edges.
Self & SetDomainSigma(double DomainSigma)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
double GetRangeSigma() const
#define SITKBasicFilters_EXPORT
unsigned int GetNumberOfRangeGaussianSamples() const
Blurs an image while preserving edges.
The base interface for SimpleITK filters that take one input image.
Image(Self::*)(const Image &image1) MemberFunctionType
Self & SetRangeSigma(double RangeSigma)
std::string GetName() const