2

In GUI photo editors that have a control for "gamma", I find this helps a lot with fixing vibrancy/fade issues, without greatly distorting anything else.

But several programs lack an explicit "gamma" control, and I find that hue/brightness/saturation aren't quite the same, while levels require a lot of working around to balance the different channels (master + 6 channels, not very successful!).

What does gamma actually do, and, what is the nearest equivalent for "gamma" on programs lacking an explicit "gamma" control (or how can I easiest get the same effect) in such programs?

Update at the moment I'm using an older version of Adobe Photoshop Elements (v10) and at times the MS Office 2010 Picture Editor. I might use other tools in future such as Photoshop or Gimp but right now I'm not a heavy graphics user; my editing is mostly related to making features clearer or more true to life in photos. I'm not looking for exaggeration of colouring for effect, as seen in some uses or on TV, but sometimes enhanced clarity is useful to let features be easily seen when photos are used to confirm what they show.

2
  • 1
    The midpoint slider in levels is gamma! So just leave all other things at nothing and levels midslider is teh same thing. So no doing it in leves requires no working around just dont touch the other sliders.
    – joojaa
    Sep 4, 2017 at 12:53
  • WOW. Nice question! This will take some experimentation to answer. I will post a complete answer, but first ot all, do you have some specific programs in mind?
    – Rafael
    Sep 4, 2017 at 13:10

1 Answer 1

3

Your image has a fixed intensity range. This range is 0-1, altough it typically encoded as a byte so its 0-255, or possibly something else. In either case no matter how its encoded it represents a range of 0 to 1, unless its a HDRI image.

Since there is no data outside this range it follows: That there is no use adjusting brightness to brighten a image up. Unless your image happens not to use the full range, which more often than not it is. By brightening the image your just going to clip the image data, which is bad. But you don't usually want to do this. Instead you want to push all colors towards the brighter values.

This is what gamma does, it pushes values up by a power law expression. Since human eyes work on similar power law this distributes the colors anew in a meaningfully brighter way. You can look up the mathematics on wikipedia.*

enter image description here

Image 1: Gamma concentrates color in the upper or in reverse values lower part of image.

As a rule of thumb unless you really have a special case, and know what your doing, then you never want to actually adjust brightness. If you want to make a image brighter you want to adjust the gamma instead. To make this clear what the layman calls brighter is really called gamma correction.

But my application has no gamma?

That is simply because gamma correction goes hand in hand with re-ranging of the data to the full 0 to 1 range. So the command is usually called Levels, like in photoshop. Levels combines gamma correction with black and white point compensation, because more often than not these operations go hand in hand. The middle value of the levels dialog is gamma! Its been applied after the back and white point is set as seen buy the graphic representation if you move the black or white point.

If you want to adjust just gamma leave all other adjustment to what they were and just adjust the middle value. There is rarely any need to adjust gamma by channel although that too happens if you get really into image manipulation.


* Just be aware that gamma correction is not usually done on the darkest intensities directly, because of numerical precision. Also that images already inherently are gamma corrected by default, just not necessarily the way you want.

2
  • This is really helpful and interesting. I understand completely. I'm a bit surprised though that on trying it (the mid grey "levels" or the min/max source+output points), I don't quite get the sense of clarity I'm used to from gamma. Any ideas why, or if that's just a matter of misperception?
    – Stilez
    Sep 4, 2017 at 14:51
  • Not all images respond to gamma well. There may also be other factors such as cmyk prewiew being on etc etc. @Stilez
    – joojaa
    Sep 4, 2017 at 15:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.