How to get OverExposure , under exposure, and normal Picture using Matlab code
7 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Image Analyst
2013-10-19
Just add or subtract some number from them.
overExposedImage = grayImage + 50;
underExposedImage = grayImage - 75;
3 个评论
Deepti Ghadiyaram
2016-11-29
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
2016-11-29
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fixed-Point Math Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!