How i convert a normal image into underexposure and over exposure in matlab ????

2 ビュー (過去 30 日間)
abrar ali
abrar ali 2017 年 8 月 28 日
回答済み: Jan 2017 年 8 月 28 日
Kindly tell me the code of converting an image into under exposure and over exposure ???

採用された回答

Jan
Jan 2017 年 8 月 28 日
Do you have a mathematical definition for under- and over-exposure? This would be a good point to start from.
The pixel values of an overexposed picture are too high and the bright areas might be saturated:
RGB = rand(640, 480, 3); % Some test data
OverExp1 = min(1.0, RGB * 1.2); % Scaled
OverExp2 = min(1.0, RGB + 0.1); % Shifted
For scaling the minimum value of 0.0 is still possible, while for shifting the minimum value is lifted also. A combination of scaling and shifting is possible also.
The under exposure is equivalent.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by