Class AdaptiveHistogramEqualizationImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.AdaptiveHistogramEqualizationImageFilter
Power Law Adaptive Histogram Equalization.
Histogram equalization modifies the contrast in an image. The AdaptiveHistogramEqualizationImageFilter is a superset of many contrast enhancing filters. By modifying its
parameters (alpha, beta, and window), the AdaptiveHistogramEqualizationImageFilter can produce an adaptively equalized histogram or a version of unsharp
mask (local mean subtraction). Instead of applying a strict histogram
equalization in a window about a pixel, this filter prescribes a
mapping function (power law) controlled by the parameters alpha and
beta.
The parameter alpha controls how much the filter acts like the
classical histogram equalization method (alpha=0) to how much the
filter acts like an unsharp mask (alpha=1).
The parameter beta controls how much the filter acts like an unsharp
mask (beta=0) to much the filter acts like pass through (beta=1, with
alpha=1).
The parameter window controls the size of the region over which local
statistics are calculated. The size of the window is controlled by
SetRadius the default Radius is 5 in all directions.
By altering alpha, beta and window, a host of equalization and unsharp
masking filters is available.
The boundary condition ignores the part of the neighborhood outside
the image, and over-weights the valid part of the neighborhood.
For detail description, reference "Adaptive Image Contrast
Enhancement using Generalizations of Histogram Equalization." J.Alex
Stark. IEEE Transactions on Image Processing, May 2000.
See:
 itk::simple::AdaptiveHistogramEqualization for the procedural interface
 itk::AdaptiveHistogramEqualizationImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkAdaptiveHistogramEqualizationImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::AdaptiveHistogramEqualizationImageFilter::AdaptiveHistogramEqualizationImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedAdaptiveHistogramEqualizationImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::AdaptiveHistogramEqualizationImageFilter::~AdaptiveHistogramEqualizationImageFilter() DestructorImage itk::simple::AdaptiveHistogramEqualizationImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()floatgetAlpha()float itk::simple::AdaptiveHistogramEqualizationImageFilter::GetAlpha() const Set/Get the value of alpha.floatgetBeta()float itk::simple::AdaptiveHistogramEqualizationImageFilter::GetBeta() const Set/Get the value of beta.protected static longgetName()std::string itk::simple::AdaptiveHistogramEqualizationImageFilter::GetName() const Name of this classstd::vector<unsigned int> itk::simple::AdaptiveHistogramEqualizationImageFilter::GetRadius() constvoidsetAlpha(float Alpha) Self& itk::simple::AdaptiveHistogramEqualizationImageFilter::SetAlpha(float Alpha) Set/Get the value of alpha.voidsetBeta(float Beta) Self& itk::simple::AdaptiveHistogramEqualizationImageFilter::SetBeta(float Beta) Set/Get the value of beta.voidsetRadius(long value) Self& itk::simple::AdaptiveHistogramEqualizationImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoidsetRadius(VectorUInt32 Radius) Self& itk::simple::AdaptiveHistogramEqualizationImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valueprotected static longtoString()std::string itk::simple::AdaptiveHistogramEqualizationImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
AdaptiveHistogramEqualizationImageFilterprotected AdaptiveHistogramEqualizationImageFilter(long cPtr, boolean cMemoryOwn) 
- 
AdaptiveHistogramEqualizationImageFilterpublic AdaptiveHistogramEqualizationImageFilter()itk::simple::AdaptiveHistogramEqualizationImageFilter::AdaptiveHistogramEqualizationImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::AdaptiveHistogramEqualizationImageFilter::~AdaptiveHistogramEqualizationImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setRadiusSelf& itk::simple::AdaptiveHistogramEqualizationImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
- 
setRadiuspublic void setRadius(long value) Self& itk::simple::AdaptiveHistogramEqualizationImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
- 
getRadiusstd::vector<unsigned int> itk::simple::AdaptiveHistogramEqualizationImageFilter::GetRadius() const
- 
setAlphapublic void setAlpha(float Alpha) Self& itk::simple::AdaptiveHistogramEqualizationImageFilter::SetAlpha(float Alpha) Set/Get the value of alpha. Alpha = 0 produces the adaptive histogram equalization (provided beta=0). Alpha = 1 produces an unsharp mask. Default is 0.3.
- 
getAlphapublic float getAlpha()float itk::simple::AdaptiveHistogramEqualizationImageFilter::GetAlpha() const Set/Get the value of alpha. Alpha = 0 produces the adaptive histogram equalization (provided beta=0). Alpha = 1 produces an unsharp mask. Default is 0.3.
- 
setBetapublic void setBeta(float Beta) Self& itk::simple::AdaptiveHistogramEqualizationImageFilter::SetBeta(float Beta) Set/Get the value of beta. If beta = 1 (and alpha = 1), then the output image matches the input image. As beta approaches 0, the filter behaves as an unsharp mask. Default is 0.3.
- 
getBetapublic float getBeta()float itk::simple::AdaptiveHistogramEqualizationImageFilter::GetBeta() const Set/Get the value of beta. If beta = 1 (and alpha = 1), then the output image matches the input image. As beta approaches 0, the filter behaves as an unsharp mask. Default is 0.3.
- 
getNamestd::string itk::simple::AdaptiveHistogramEqualizationImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::AdaptiveHistogramEqualizationImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-