18 #ifndef sitkAdaptiveHistogramEqualizationImageFilter_h
19 #define sitkAdaptiveHistogramEqualizationImageFilter_h
79 SITK_RETURN_SELF_TYPE_HEADER
SetRadius (
const std::vector<unsigned int> & Radius ) { this->m_Radius = Radius;
return *
this; }
82 SITK_RETURN_SELF_TYPE_HEADER
SetRadius(
unsigned int value ) { this->m_Radius = std::vector<unsigned int>(3, value);
return *
this; }
87 std::vector<unsigned int>
GetRadius()
const {
return this->m_Radius; }
92 SITK_RETURN_SELF_TYPE_HEADER
SetAlpha (
float Alpha ) { this->m_Alpha = Alpha;
return *
this; }
97 float GetAlpha()
const {
return this->m_Alpha; }
102 SITK_RETURN_SELF_TYPE_HEADER
SetBeta (
float Beta ) { this->m_Beta = Beta;
return *
this; }
107 float GetBeta()
const {
return this->m_Beta; }
112 SITK_RETURN_SELF_TYPE_HEADER
SetUseLookupTable (
bool UseLookupTable ) { this->m_UseLookupTable = UseLookupTable;
return *
this; }
123 std::string
GetName()
const {
return std::string (
"AdaptiveHistogramEqualizationImageFilter"); }
126 std::string ToString()
const;
134 Image Execute (
const Image& image1,
const std::vector<unsigned int> & radius,
float alpha,
float beta,
bool useLookupTable );
141 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
142 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
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, bool useLookupTable=false)
Power Law Adaptive Histogram Equalization.
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 & SetRadius(unsigned int value)
std::vector< unsigned int > GetRadius() const
bool GetUseLookupTable() const
Self & SetRadius(const std::vector< unsigned int > &Radius)
AdaptiveHistogramEqualizationImageFilter Self
std::string GetName() const
The main Image class for SimpleITK.
Self & UseLookupTableOn()
std::vector< unsigned int > m_Radius
Self & SetUseLookupTable(bool UseLookupTable)
Self & SetBeta(float Beta)
Power Law Adaptive Histogram Equalization.
Self & SetAlpha(float Alpha)
Self & UseLookupTableOff()
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.