
matlab
魔法战胜魔法
好好学习,天天向上
展开
-
Matlab遗传算法求函数最大值
主函数函数main.mglobal Bitlength%定义3个全局变量global boundsbeginglobal boundsendboundsbegin=-2;boundsend=2;precision=0.0001;%运算精确度Bitlength=ceil(log2((boundsend-boundsbegin)'./precision));%染色体长度popsize=50原创 2016-10-13 20:06:45 · 25729 阅读 · 18 评论 -
基于引导滤波的暗通道优先去雾算法
不多说,是何凯明的去雾算法,直接上代码。 dehaze.mfunction dehaze()I=double(imread('WM.bmp')) / 255;w0 = 0.95 ;[h,w,c]=size(I) ;for i= 1 : h for j= 1 : w dark_channel(i,j)=min(I(i,j,:)) ; endend%求到暗通原创 2016-10-21 16:35:36 · 4402 阅读 · 4 评论 -
Single Image Haze Removal Based On Guided Filter
Single Image Haze Removal Based On Guided Filter原创 2016-10-21 17:07:30 · 402 阅读 · 0 评论