Author Topic: [Unofficial] New Module: GammaStretch  (Read 5379 times)

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
[Unofficial] New Module: GammaStretch
« on: 2009 September 22 21:43:53 »
Today I had only a pair of free hours, so I decided to take a break from IntensityPlot and do a quicky :)

Here is the Win32 compilation:
http://pteam.pixinsight.com/carlos/modules/GammaStretch-pxm.zip

And the source code:
http://pteam.pixinsight.com/carlos/modules/GammaStretch-src-2009-09-23.zip


As you may imagine, this is just an implementation of the Gamma Transformation, the well known, sometimes called midtones balance. If HistogramTransform and other modules already do something quite similar, why bother? Well, the gamma function has the particularity that in most times the result has lesser constrast. I have found that in daylight pics, processed from a RAW file, this function tends to yield better results, because it is easy to increase contrast later, but not that much to decrease it without creating weird effects. Also, I wanted to use this function to perform some tests about monitor calibration :P

So, here it is, ready for you to test, critic, suggest, etc, etc. It has RealTime capabilities, so it will be fun to play with ;)

Regards,

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

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: [Unofficial] New Module: GammaStretch
« Reply #1 on: 2009 September 23 18:13:44 »
Thanks Carlos!
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity