Go to the documentation of this file.
18 #ifndef sitkBilateralImageFilter_h
19 #define sitkBilateralImageFilter_h
88 SITK_RETURN_SELF_TYPE_HEADER
SetDomainSigma (
double DomainSigma ) { this->m_DomainSigma = DomainSigma;
return *
this; }
98 SITK_RETURN_SELF_TYPE_HEADER
SetRangeSigma (
double RangeSigma ) { this->m_RangeSigma = RangeSigma;
return *
this; }
108 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfRangeGaussianSamples (
unsigned int NumberOfRangeGaussianSamples ) { this->m_NumberOfRangeGaussianSamples = NumberOfRangeGaussianSamples;
return *
this; }
116 std::string
GetName()
const {
return std::string (
"BilateralImageFilter"); }
119 std::string ToString()
const;
131 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
133 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
140 double m_DomainSigma{4.0};
142 double m_RangeSigma{50.0};
144 unsigned int m_NumberOfRangeGaussianSamples{100u};
The Image class for SimpleITK.
double GetDomainSigma() const
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
BasicPixelIDTypeList PixelIDTypeList
Self & SetNumberOfRangeGaussianSamples(unsigned int NumberOfRangeGaussianSamples)
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