18 #ifndef sitkAdaptiveHistogramEqualizationImageFilter_h
19 #define sitkAdaptiveHistogramEqualizationImageFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
SetRadius (
const std::vector<unsigned int> & Radius ) { this->m_Radius = Radius;
return *
this; }
76 SITK_RETURN_SELF_TYPE_HEADER
SetRadius(
unsigned int value ) { this->m_Radius = std::vector<unsigned int>(3, value);
return *
this; }
81 std::vector<unsigned int>
GetRadius()
const {
return this->m_Radius; }
86 SITK_RETURN_SELF_TYPE_HEADER
SetAlpha (
float Alpha ) { this->m_Alpha = Alpha;
return *
this; }
91 float GetAlpha()
const {
return this->m_Alpha; }
96 SITK_RETURN_SELF_TYPE_HEADER
SetBeta (
float Beta ) { this->m_Beta = Beta;
return *
this; }
101 float GetBeta()
const {
return this->m_Beta; }
103 std::string
GetName()
const {
return std::string (
"AdaptiveHistogramEqualizationImageFilter"); }
106 std::string ToString()
const;
114 Image Execute (
const Image& image1,
const std::vector<unsigned int> & radius,
float alpha,
float beta );
120 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
121 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
BasicPixelIDTypeList PixelIDTypeList
#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
Image AdaptiveHistogramEqualization(const Image &image1, const std::vector< unsigned int > &radius=std::vector< unsigned int >(3, 5), float alpha=0.3f, float beta=0.3f)
Power Law Adaptive Histogram Equalization.
Self & SetRadius(unsigned int value)
std::vector< unsigned int > GetRadius() const
Self & SetRadius(const std::vector< unsigned int > &Radius)
AdaptiveHistogramEqualizationImageFilter Self
std::string GetName() const
The Image class for SimpleITK.
std::vector< unsigned int > m_Radius
Self & SetBeta(float Beta)
Power Law Adaptive Histogram Equalization.
Self & SetAlpha(float Alpha)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.