MATLAB Answers

Contrast vs brightness vs gamma

4 views (last 30 days)
Please help, somebody in here can explain about picture i sent

  2 Comments

Rik
Rik on 13 Dec 2019
What exactly is your question? It also doesn't look like a Matlab question to me.
Nayuta Altria
Nayuta Altria on 13 Dec 2019
I want know difference contrast and brightness from that chart

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 13 Dec 2019
Edited: Image Analyst on 13 Dec 2019
Those charts are a mapping of output gray level versus input gray level. A linear 45 degree line means that the output is the same as the input. Changing brightness is like raising or lowering the line so the output is brighter or darker than the input. Changing contrast is changing the slope of the line, which controls the range of the values, so like an input range of 100-120 (very narrow low contrast image) can be mapped to 0-255 (a much wider range and more contrasty image). Changing gamma is related to how much it emphasizes different ranges. If it goes up and flattens out (gamma charts on the left) the dark input range is expanded (making it more visible) while the bright contrast range is compressed. This is good for making dark parts of the image more visible. If the curve curves the other way, it makes the bright parts more visible and compresses the range of the dark parts of the image.

  2 Comments

Image Analyst
Image Analyst on 13 Dec 2019
You're welcome. Thanks for Accepting this answer. I wish there was a more interactive way to just draw whatever curve you want and see the result but I don't think there is.

Sign in to comment.

More Answers (0)

Sign in to answer this question.