Finding transmission map of an image.
조회 수: 2 (최근 30일)
이전 댓글 표시
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.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/244483/IMG-20191023-WA0003.jpeg)
댓글 수: 0
답변 (1개)
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
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!