How to get OverExposure , under exposure, and normal Picture using Matlab code

7 views (last 30 days)
if i am given a picture and want to have its OverExposure , under exposure, and normal forms , is this possible using matlab code ? please refer me some links i am new to matlab

Answers (1)

Image Analyst
Image Analyst on 19 Oct 2013
Just add or subtract some number from them.
overExposedImage = grayImage + 50;
underExposedImage = grayImage - 75;
  3 Comments
Deepti Ghadiyaram
Deepti Ghadiyaram on 29 Nov 2016
The link does not have anything related to the above question.. Also, the above operation would result in a global shift of the intensity values. Is there a way to locally introduce exposure distortions?
Image Analyst
Image Analyst on 29 Nov 2016
I don't know why the link is there. It was probably in response to a question that they have since deleted.
Distortion is a spatial optical aberration, not an intensity problem.
To change the exposure locally on a pixel-by-pixel basis, you can multiply or divide, or add or subtract some amount from the original gray level, where the amount changes on a pixel-by-pixel local basis.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!