18 #ifndef sitkBilateralImageFilter_h
19 #define sitkBilateralImageFilter_h
83 SITK_RETURN_SELF_TYPE_HEADER
SetDomainSigma (
double DomainSigma ) { this->m_DomainSigma = DomainSigma;
return *
this; }
93 SITK_RETURN_SELF_TYPE_HEADER
SetRangeSigma (
double RangeSigma ) { this->m_RangeSigma = RangeSigma;
return *
this; }
103 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfRangeGaussianSamples (
unsigned int NumberOfRangeGaussianSamples ) { this->m_NumberOfRangeGaussianSamples = NumberOfRangeGaussianSamples;
return *
this; }
110 std::string
GetName()
const {
return std::string (
"BilateralImageFilter"); }
113 std::string ToString()
const;
121 Image Execute (
const Image& image1,
double domainSigma,
double rangeSigma,
unsigned int numberOfRangeGaussianSamples );
127 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
128 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
130 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
unsigned int m_NumberOfRangeGaussianSamples
Self & SetDomainSigma(double DomainSigma)
#define SITKBasicFilters_EXPORT
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
Self & SetNumberOfRangeGaussianSamples(unsigned int NumberOfRangeGaussianSamples)
BilateralImageFilter Self
unsigned int GetNumberOfRangeGaussianSamples() const
Image Bilateral(const Image &image1, double domainSigma=4.0, double rangeSigma=50.0, unsigned int numberOfRangeGaussianSamples=100u)
Blurs an image while preserving edges.
Blurs an image while preserving edges.
double GetRangeSigma() const
The Image class for SimpleITK.
double GetDomainSigma() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetRangeSigma(double RangeSigma)
std::string GetName() const
BasicPixelIDTypeList PixelIDTypeList
The base interface for SimpleITK filters that take one input image.