Author Topic: histogram equalization  (Read 1708 times)

Offline carl

  • Newcomer
  • Posts: 20
histogram equalization
« on: 2018 October 11 18:00:16 »
Hi folks,

Posted this in another forum but no responses so thought I'd try here ...

I'm wanting to run a histogram equalization process on some images. This will essentially take an image and stretch it to create a flat histogram. Not for pretty images, but to bring out really faint details and bring down really bright sources.

The technique is explained here: http://homepages.inf.ed.ac.uk/rbf/HIPR2/histeq.htm
With Python codes here: http://scikit-image.org/docs/dev/auto_examples/color_exposure/plot_equalize.html

I've run my images through the Python code I wrote but they're not giving me the results I'm after. Nor is the LocalHistogramEqualization. Does that function do the same and I'm just using it wrong?

Thanks,
C.

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: histogram equalization
« Reply #1 on: 2018 October 11 20:55:50 »
Carl

Have you looked at the documentation for LHE? You can see docs for many tools by clicking on the browse document button on the tool. Here it is for LHE and the tool does not work in the way you are thinking. For that you may want to look at GradientHDRCompression. At the end of the documentation in the Usage Hints section 2.2 this tool is experimental 8) which I take at results may be surprising,haha.


Mike

Offline carl

  • Newcomer
  • Posts: 20
Re: histogram equalization
« Reply #2 on: 2018 October 15 19:04:02 »
Thanks Mike. That's given me a bit to look into.

Appreciate the tip.