what is the matlab code for adaptive gamma correction in an image?
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Show older comments
0 votes
what is the code for adaptive gamma correction of an image?
Accepted Answer
Image Analyst
on 7 Nov 2013
0 votes
What does that mean? adaptive usually means it varies by location in the image but I've never heard of gamma varying locally in an image. The gamma applies to the whole image, so what is adapting?
12 Comments
deepak behera
on 7 Nov 2013
actually I dont know about adaptive gamma correction in an image but in an IEEE paper it gives adaptive gamma correction with weighting distribution function to enhance contrast in an image, so please give me code for gamma correction ,then code for adaptive gamma correction,then adaptive gamma correction with weighting distribution.I attached the paper here.
Image Analyst
on 7 Nov 2013
The paper is not attached, but that's okay because of the FAQ: http://matlab.wikia.com/wiki/FAQ#Can_you_program_up_the_algorithm_in_this_article_for_me_and_explain_it_to_me.3F
deepak behera
on 8 Nov 2013
Sir please give me the matlab code for gamma correction and then matlab code for weighting distribution function, please help me?
Image Analyst
on 8 Nov 2013
Did you see the link in the previous comment? Sorry but that's basically all I can offer right now, especially since I'm going away for the weekend. I just don't have time to code up that paper for you . Can't you do it?
deepak behera
on 15 Nov 2013
Dear Sir,I think you will return to your home station.Sir its my kind request to you that please give me The correct matlab code ward for this above ADAPTIVE GAMMA CORRECTION WITH WEIGHTING DISTRIBUTION FUNCTION for contrast enhancement .As a new to this matlab its very difficult for me to write this code in a limited period.SIR please solve my problem.
Walter Roberson
on 15 Nov 2013
No. We have no responsibility for the fact that you do not know MATLAB or the fact that your seminar project is due soon.
If you have specific questions related to MATLAB, we can answer them (or try), but determining the algorithm and decomposing into steps is your responsibility. Apply the skills you learned in previous programming courses.
Yes, we do understand that if you do not get this project in then you will possibly fail your course, and that in turn you might not be granted your degree this year, but NO, we will not do the work for you.
deepak behera
on 16 Nov 2013
Thank you sir, for your constant answering of my question .but I think you will help me during my journey towards implementing this paper in matlab.Sir please answer me how to change the gamma correction algorithm to adaptive gamma correction.
Walter Roberson
on 16 Nov 2013
Algorithms are up to you. This forum deals with MATLAB issues, and algorithms are independent of MATLAB.
Susovan
on 23 Jul 2018
Edited: Image Analyst
on 23 Jul 2018
Is it possible to calculate the value of gamma from the image?
Image Analyst
on 23 Jul 2018
I don't believe so. You could with two images if you put a neutral density filter in front of the camera for one of them. And again, I've never heard of varying the gamma pixel-by-pixel. I don't even think it's possible for a normal 2-D camera sensor.
prasanth s
on 1 Aug 2020
Edited: prasanth s
on 1 Aug 2020
Walter Roberson
on 1 Aug 2020
Historically with CRT monitors it was common for gamma to vary across the image, due to differences in thickness of coatings, and the difficulty in getting the coatings shaped properly taking into account the curve of the tube. Historically it was common for the gamma to be lower around the edges (that is, for brightness for a given amount of energy to be lower.) If I recall correctly, Sony's Trinitron was a substantial improvement in quality compared to previous generations of monitors.
More Answers (0)
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Products
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)