Finding transmission map of an image.

1 回表示 (過去 30 日間)
Silpa K
Silpa K 2019 年 10 月 23 日
回答済み: Subhadeep Koley 2019 年 10 月 29 日
How to calculate transmission map of an image using standard deviation.
I used the following equation but I didn't get the correct output.
IMG-20191023-WA0003.jpgA is airlight.

回答 (1 件)

Subhadeep Koley
Subhadeep Koley 2019 年 10 月 29 日
Hi, it seems that you are trying to calculate transmission map from air-light to perform some kind of haze reduction.
A function named imreducehaze() comes inbuilt starting from MATLAB 2017b. This function returns the Global atmospheric light value value and Transmission Map of an image. The following code might help.
A = imread('yourImage.jpg'); % Read your image
[J,T,L] = imreducehaze(A); % T = Transmission map, L = Global atmospheric light value

カテゴリ

Help Center および File ExchangeModify Image Colors についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by