18 #ifndef itkAdaptiveHistogramEqualizationImageFilter_h
19 #define itkAdaptiveHistogramEqualizationImageFilter_h
70 template<
typename TImageType ,
typename TKernel = Neighborhood<
bool, TImageType::ImageDimension> >
75 typename Function::AdaptiveEqualizationHistogram< typename TImageType::PixelType,
76 typename TImageType::PixelType > >
88 typename TImageType::PixelType > >
94 TImageType::ImageDimension);
110 itkSetMacro(Alpha,
float);
111 itkGetConstMacro(Alpha,
float);
118 itkSetMacro(Beta,
float);
119 itkGetConstMacro(Beta,
float);
122 #ifndef ITK_FUTURE_LEGACY_REMOVE
129 itkDebugMacro(
"setting UseLookupTable to " << _arg );
130 itkGenericLegacyReplaceBodyMacro(
"UseLookupTable",
"",
"nothing" );
137 itkGetConstMacro(UseLookupTable,
bool);
138 itkBooleanMacro(UseLookupTable);
145 h.SetBeta( this->
m_Beta );
149 typename Superclass::HistogramType::RealType kernelSize = 1;
152 kernelSize *= ( 2 * this->
GetRadius()[i] + 1 );
154 h.SetKernelSize(kernelSize);
176 void operator=(const
Self &) ITK_DELETE_FUNCTION;
194 #ifndef ITK_MANUAL_INSTANTIATION
195 #include "itkAdaptiveHistogramEqualizationImageFilter.hxx"
virtual const RadiusType & GetRadius() const
static const unsigned int ImageDimension
AdaptiveHistogramEqualizationImageFilter()
Implements a generic moving histogram algorithm.
TInputImage::PixelType InputPixelType
Base class for all process objects that output image data.
ImageType::PixelType InputPixelType
void BeforeThreadedGenerateData() override
MovingHistogramImageFilter< TImageType, TImageType, TKernel, typename Function::AdaptiveEqualizationHistogram< typename TImageType::PixelType, typename TImageType::PixelType > > Superclass
virtual void SetUseLookupTable(const bool _arg)
AdaptiveHistogramEqualizationImageFilter Self
InputPixelType m_InputMinimum
virtual void ConfigureHistogram(typename Superclass::HistogramType &h) override
virtual void Modified() const
Base class for filters that take an image as input and produce an image as output.
void PrintSelf(std::ostream &os, Indent indent) const override
Power Law Adaptive Histogram Equalization.
Control indentation during Print() invocation.
ImageType::SizeType ImageSizeType
SmartPointer< Self > Pointer
InputPixelType m_InputMaximum
SmartPointer< const Self > ConstPointer
virtual ~AdaptiveHistogramEqualizationImageFilter()
virtual void SetRadius(const RadiusType &radius) override