필터 지우기
필터 지우기

fogg density Df of an image in matlab

조회 수: 5 (최근 30일)
Prithviraj M.K.
Prithviraj M.K. 2019년 10월 29일
댓글: Subhadeep Koley 2019년 11월 6일
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.

답변 (2개)

Subhadeep Koley
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
Or, if you are looking for quantitative fog removal evaluation descriptor the refer to the link below.

Prithviraj M.K.
Prithviraj M.K. 2019년 11월 6일
Subhadeep Koley,thanks for your answer,but i need to find a parameter that will show the difference between foggy image and the deffoged image.
that is
FRF=Df-Ddf,where Df is the fogg density of the foggy image and Ddf is the fogg density of the enhanced or deffoged image.
  댓글 수: 1
Subhadeep Koley
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by