Author Topic: LocalHistogramEqualization module  (Read 17891 times)

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
LocalHistogramEqualization module
« on: 2011 February 26 12:15:33 »
Hi all,

I'd like to announce my new module here. It implements local histogram equalization. The process is based on method CLAHE (Contrast-Limited Adaptive Histogram Equalization). It basically does local contrast enhancement and improves visibility of structures in low contrast regions.
You should get the module soon through Automatic Updates from the main repository.

In the meantime, you can read something about the module at my webpage:
   http://astrofoto.euweb.cz/pixinsight/modules.html.

In particular, there is a reference documentation with more details on method and its parameters (will be part of installed module):
   http://astrofoto.euweb.cz/pixinsight/LocalHistogramEqualization/LocalHistogramEqualization.html

and an example showing effect of two main parameters of the method on testing image:
   http://astrofoto.euweb.cz/pixinsight/LocalHistogramEqualization/comparison.html.

I would like to thank Vicent, who kindly gave me this excellent image of M42 for testing.

Please understand that despite I implemented the method, I did not invented it and I am by no means expert in using it. If you find good use for this module, please share it.

best regards, Zbynek

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: LocalHistogramEqualization module
« Reply #1 on: 2011 February 26 13:50:08 »
Excellent work! I always wanted to write something like this :) The results are pretty good. Congratulations. I'll try it ASAP.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Nigel Ball

  • PixInsight Addict
  • ***
  • Posts: 277
    • Astrophotography by Nigel
Re: LocalHistogramEqualization module
« Reply #2 on: 2011 February 27 15:22:42 »
Zbynek

Excellent work!

I've just updated PI and tried the LHE module on a couple of images I'm working on. It should help me enormously  8)

Nigel

PS I couldn't get the mouseover functions to work at all on the examples of M42 on your website though
Nigel Ball
Nantwich, Cheshire, United Kingdom

Takahashi FSQ-106 at f/8, f/5 and f/3.6 on AP900, Nikon 28 mm and 180mm f/2.8
SBIG STL-11000M, Astrodon LRGB, 5nm Ha
ST-10XME, Astrodon HaLRGB
www.nigelaball.com

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: LocalHistogramEqualization module
« Reply #3 on: 2011 February 27 17:05:22 »
Excellent Zbynek! Thanks for your work! It looks really useful.  :D

Enzo.

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: LocalHistogramEqualization module
« Reply #4 on: 2011 February 27 18:23:44 »
Thanks Zbynek, it will help a lot. Excellent script.

Alejandro

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: LocalHistogramEqualization module
« Reply #5 on: 2011 February 27 23:40:40 »
Thanks all. I hope you'll find the module useful.

PS I couldn't get the mouseover functions to work at all on the examples of M42 on your website though

Yes, it seems it does not work in IE (it works in Firefox for me). IE reports some error on the page. I'll check in the evening, now I'm in the office.

regards, Zbynek

Offline Redshift

  • PixInsight Enthusiast
  • **
  • Posts: 83
Re: LocalHistogramEqualization module
« Reply #6 on: 2011 February 28 00:42:29 »
Hi Zbynek,

Thanks for this, I'm certain I'll find this useful. I use to use Photoshop for this.
I've downloaded it in PI 32 and 64 bit for the Mac, but the documentation 'window' is blank in both cases. Have you any suggestions as to why.

regards
Dave

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: LocalHistogramEqualization module
« Reply #7 on: 2011 February 28 01:09:38 »
Hi Zbynek,

Thanks for this, I'm certain I'll find this useful. I use to use Photoshop for this.
I've downloaded it in PI 32 and 64 bit for the Mac, but the documentation 'window' is blank in both cases. Have you any suggestions as to why.

regards
Dave

Hi Dave,

I also removed my local module and updated it from main repository to have same situation as everyone. And I see the documentation without problem (on Win32bit). Did PixInsight reported 2 updates? There should be two - one for module binary and one for documentation. You could also check your doc/tools folder (if I remember it correctly from the top of my head) - there should be LocalHistogramEqualization.html file.
Do you see documentation for my older modules Annotation and AssistedColorCalibration? They are distributed in the very same way.

In the meantime, you can check the documentation under the link http://astrofoto.euweb.cz/pixinsight/LocalHistogramEqualization/LocalHistogramEqualization.html - it is the same one.

regards, Zbynek

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: LocalHistogramEqualization module
« Reply #8 on: 2011 February 28 11:45:52 »

PS I couldn't get the mouseover functions to work at all on the examples of M42 on your website though

Yes, it seems it does not work in IE (it works in Firefox for me). IE reports some error on the page. I'll check in the evening, now I'm in the office.


Should work now. I tested it in IE, Firefox and Chrome.

Offline Redshift

  • PixInsight Enthusiast
  • **
  • Posts: 83
Re: LocalHistogramEqualization module
« Reply #9 on: 2011 February 28 13:05:10 »
Hello Zbynek,

Thank you for your reply. Yes, PI did report 2 updates in both cases.

Dave



Hi Dave,

I also removed my local module and updated it from main repository to have same situation as everyone. And I see the documentation without problem (on Win32bit). Did PixInsight reported 2 updates? There should be two - one for module binary and one for documentation. You could also check your doc/tools folder (if I remember it correctly from the top of my head) - there should be LocalHistogramEqualization.html file.
Do you see documentation for my older modules Annotation and AssistedColorCalibration? They are distributed in the very same way.

In the meantime, you can check the documentation under the link http://astrofoto.euweb.cz/pixinsight/LocalHistogramEqualization/LocalHistogramEqualization.html - it is the same one.

regards, Zbynek

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: LocalHistogramEqualization module
« Reply #10 on: 2011 February 28 13:30:04 »
Thank you for your reply. Yes, PI did report 2 updates in both cases.

I'm afraid I have to leave this problem to Juan. I do not think it's related to the module.

Zbynek

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: LocalHistogramEqualization module
« Reply #11 on: 2011 February 28 13:42:24 »
I'm afraid I have to leave this problem to Juan. I do not think it's related to the module.

My guess is that it is related to all Internet Explorer versions (or old versions of their support libraries). IE initially did not support .PNG, and I don't know if this changed with later IE versions on Windows XP. Display of screenshots work fine with on Win7.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline JGMoreau

  • PixInsight Addict
  • ***
  • Posts: 131
Re: LocalHistogramEqualization module
« Reply #12 on: 2011 March 01 09:38:23 »
Hi Zbynek,

Thank you very much for the new LocalHistogramEqualization module,
it did a great job on the faint nebulosites in my latest image :

http://www3.cablevision.qc.ca/astro/IC444.jpg

Jean Guy Moreau
Quebec

Offline RobF2

  • PixInsight Addict
  • ***
  • Posts: 189
  • Rob
    • Rob's Astropics
Re: LocalHistogramEqualization module
« Reply #13 on: 2011 March 02 04:32:32 »
Impressive work, and thanks so much for the effort put into your documenting webpage (not to mention the online documentation).  What a pleasure too to be able to ask for an update and have this install itself. 

Thanks again Zbynek
FSQ106/8" Newt on NEQ6/HEQ5Pro via EQMOD | QHY9 | Guiding:  ZS80II/QHY5IIL | Canon 450D | DBK21 and other "stuff"
Rob's Astropics

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: LocalHistogramEqualization module
« Reply #14 on: 2011 March 02 09:21:08 »
really strange - i downloaded this in mac x86-64 and it appeared in the process menu after a restart. then PI crashed, and when it came back, the process was gone. is there some kind of xml file or other pref file that points to these modules, or if the shared library is in the right directory does PI just go ahead and load it?