AdaptiveHistogramEqualizationImageFilter- parameter tuning


(Courtney Ambrozic) #1

Hello,

Regarding the AdaptiveHistogramEqualizationImageFilter, is there a way to set the function to completely behave as a classical histogram equalization method? Once alpha is set to 0, does beta represent a range from classical histogram equalization (beta=0) to a pass-through filter (beta=1)? Is there a way to set the window so that it uses the original, full-image histogram for each pixel (without setting the radius to cover the entire image)?

Additionally, I’ve experimented with setting the radius to zero and was surprised to find I had a decent histogram equalization result with one of my 3D images. Wouldn’t setting the radius to zero only use the pixel in question’s histogram for its equalizing process?

Thank you in advance and apologies for the random assortment of questions!


(Matt McCormick) #2

Hello Courtney,

Good questions! :thought_balloon:

While we also have a itk::HistogramMatchingImageFilter; a histogram equalization filter for the entire image is yet to be contributed :slight_smile: .

More details on the AdaptiveHistogramEqualizationImageFilter can be found in this example:

https://itk.org/ITKExamples/src/Filtering/ImageStatistics/AdaptiveHistogramEqualizationImageFilter/Documentation.html

And the code:

Once alpha is set to 0, does beta represent a range from classical histogram equalization (beta=0) to a pass-through filter (beta=1)?

When alpha is 0, beta is degree that the local mean is subtracted.

Interesting! It may help to step through the code in a debugger to understand what is happening.

Hope this helps,
Matt


(Courtney Ambrozic) #3

Thank you for your help, Matt!