Images defogging Matlab code
2016-08-23
0 0 0
4.0
Other
Earn points
img_name='1.jpg';
% Original images
I=double(imread(img_name))/255;
% Get the image size
[h,w,c]=size(I);
win_size = 5;
img_size=w*h;
dehaze=zeros(img_size*c,1);
dehaze=reshape(dehaze,h,w,c);
figure, imshow(I);
win_dark=zeros(img_size ,1);
for cc=1:img_size
win_dark(cc)=1;
end<
% Original images
I=double(imread(img_name))/255;
% Get the image size
[h,w,c]=size(I);
win_size = 5;
img_size=w*h;
dehaze=zeros(img_size*c,1);
dehaze=reshape(dehaze,h,w,c);
figure, imshow(I);
win_dark=zeros(img_size ,1);
for cc=1:img_size
win_dark(cc)=1;
end<
c++
matlab
图像
代码
Related Source Codes
Implementing Arithmetic Coding in MATLAB
0
0
no vote
Using the FEM toolbox to solve finite element meth
0
0
no vote
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
ADC Index Test
0
0
no vote
No comment