![tmap.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/245984/tmap.png)
fogg density Df of an image in matlab
1 回表示 (過去 30 日間)
古いコメントを表示
Iam working on image processing and i want tabulate how much i enhanced the given input foggy image to output deffoged image,Is fogg density is the thing i want to find? if it is How to find fogg density Df of a foggy image.
0 件のコメント
回答 (2 件)
Subhadeep Koley
2019 年 11 月 1 日
Hi, I assume you are trying to find fog density, prior to defogging the foggy image.
A function named imreducehaze() comes inbuilt starting from MATLAB 2017b. This function returns fog density at each pixel of an image. The following code might help.
A = imread('foggysf1.jpg'); % Read your foggy image here
[~,T,~] = imreducehaze(A); % T is the fog density at each pixel
figure; imshow(T,[]);
![tmap.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/245984/tmap.png)
Or, if you are looking for quantitative fog removal evaluation descriptor the refer to the link below.
0 件のコメント
Prithviraj M.K.
2019 年 11 月 6 日
1 件のコメント
Subhadeep Koley
2019 年 11 月 6 日
Yes, like I said previously if you are looking for quantitative fog removal evaluation descriptor the refer to the link below.
Using that function you can get a number (Contrast-to-Noise Ratio) for both the foggy and defogged images.
Higher the Contrast-to-Noise Ratio better the defogging efficiency.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!