Finding transmission map of an image.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to calculate transmission map of an image using standard deviation.
I used the following equation but I didn't get the correct output.
A is airlight.
0 commentaires
Réponses (1)
Subhadeep Koley
le 29 Oct 2019
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 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!