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; }
116 std::string
GetName()
const {
return std::string (
"BilateralImageFilter"); }
119 std::string ToString()
const;
127 Image Execute (
const Image& image1,
double domainSigma,
double rangeSigma,
unsigned int numberOfRangeGaussianSamples );
134 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
135 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
138 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 main 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.