Gamma correction - the constant value?
Show older comments
Can someone help me out how to determine the constant from the Gamma correction in terms of gamma so that the interval [0,255] is mapped to itself?
The Gamma correction is: I out(m,n) = c[ I in(m,n)]^ gamma, where c is the constant
What I think: If the interval is mapped to itself, this means that I out = I in, right? So if I out = I in = A, then
c = A/A^gamma = A^(1-gamma).
But how to make the constant c in terms only of gamma?
Thanks!
2 Comments
Image Analyst
on 19 Oct 2015
Do you have the Statistics and Machine Learning Toolbox?
Lachezar Petkov
on 19 Oct 2015
Accepted Answer
More Answers (0)
Categories
Find more on Gamma Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!