资源简介
大量图像去雾源码,hsv空间双边滤波去雾,Retinex,暗原色去雾,图像对比度增强,雾天图像处理,引导滤波,直方图均衡化,等源码。
代码片段和文件信息
function retimg = bialteral(img N sigma)
%% colorspace transformation
img = rgb2hsv(img);%convert rgb to hsv colorspace in order to process
%% pre-computer domain filtering
sigma_d = sigma(1);
sigma_r = sigma(2);
[XY] = meshgrid(-N:N-N:N);%generate two matrix
D = exp(-(X.^2+Y.^2)/(2*sigma_d^2));%domain weights with Euclidean distance
%% create waitbar
h = waitbar(0‘illumination retinex algorithm……‘);
set(h‘Name‘‘Illumination Retinex‘);
%% rang filtering in v layer
dim = size(img);%dim=[heightlength3]
B = zeros(dim);%create an image B with the same size and dimension with the zero value.
for i = 1:dim(1)
for j = 1:dim(2)
iMin = max(i-N1);
iMax = min(i+Ndim(1));
jMin = max(j-N1);
jMax = min(j+Ndim(2));
L = img(iMin:iMaxjMin:jMax3);%extract the local region
d = L-img(ij3);%the dissimilarity between the surroud and center
R = exp(-(d.^2)/(2*sigma_r^2));%range filter weights
F = R.*D((iMin:iMax)-i+N+1(jMin:jMax)-j+N+1);%its row is from iMin-i+N+1 to iMax-i+N+1and so as line
for m = 1:iMax-iMin+1
for n = 1:jMax-jMin+1
if d(mn) < 0
F(mn) = 0;
end
end
end
norm_F = sum(F(:));
B(ij3) = sum(sum(F.*L))/norm_F;
retimg(ij1) = img(ij1);
retimg(ij2) = img(ij2);
retimg(ij3) = B(ij3);
end
waitbar(i/dim(1));
end
close(h);%close the bar
%% display colorspace transformation
img = hsv2rgb(img);
retimg = hsv2rgb(retimg);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-05-12 15:08 图像去雾\
目录 0 2014-08-02 09:57 图像去雾\hsv空间双边滤波去雾\
文件 1970126 2010-07-15 09:39 图像去雾\hsv空间双边滤波去雾\2005.bmp
文件 915894 2010-07-12 18:52 图像去雾\hsv空间双边滤波去雾\5.bmp
文件 915894 2013-10-03 11:33 图像去雾\hsv空间双边滤波去雾\5_retinex.bmp
文件 1660 2010-07-15 10:27 图像去雾\hsv空间双边滤波去雾\bialteral.m
文件 1196 2010-07-15 10:28 图像去雾\hsv空间双边滤波去雾\bialteral2.m
文件 1962090 2010-07-15 10:19 图像去雾\hsv空间双边滤波去雾\boy.bmp
文件 1772 2013-11-09 18:22 图像去雾\hsv空间双边滤波去雾\demo.m
文件 1969902 2010-07-15 10:19 图像去雾\hsv空间双边滤波去雾\girl.bmp
目录 0 2014-08-02 10:04 图像去雾\Retinex\
目录 0 2014-08-02 10:04 图像去雾\Retinex\NASA\
文件 339537 2013-12-10 19:15 图像去雾\Retinex\NASA\A Comparison of the Multiscale Retinex With Other Image Enhancement Techniques.pdf
文件 609471 2013-12-10 20:30 图像去雾\Retinex\NASA\A Comparison of Visual Statistics for the Image Enhancement of FORESITE Aerial Images with Those of Major Image Classes.pdf
文件 2264387 2013-12-10 20:04 图像去雾\Retinex\NASA\Adaptive Methods of Two-Scale Edge Detection in.pdf
文件 1637865 2013-12-10 20:29 图像去雾\Retinex\NASA\Automated on-board terrain analysis for precision landings.pdf
文件 844014 2013-12-10 20:28 图像去雾\Retinex\NASA\Hazard Detection on Runways using Image processing.pdf
文件 20074580 2013-12-10 20:42 图像去雾\Retinex\NASA\Image enhancement image quality and noise.pdf
文件 1338262 2013-12-10 19:20 图像去雾\Retinex\NASA\MSRspie4041-2000.pdf
文件 263036 2013-12-08 20:52 图像去雾\Retinex\NASA\Multi-ScaleRetinexForColorImageEnhancement.pdf
文件 1146563 2013-12-11 01:06 图像去雾\Retinex\NASA\Multiscale retinex for color rendition and dynamic range compression.pdf
文件 1195748 2013-12-10 19:12 图像去雾\Retinex\NASA\multsclrtx.pdf
文件 24238729 2013-12-10 20:29 图像去雾\Retinex\NASA\multsclrtx.ps
文件 48924 2013-12-11 01:06 图像去雾\Retinex\NASA\NASA总结.doc
文件 3267432 2013-12-11 00:42 图像去雾\Retinex\NASA\Properties and performance of (SSR).pdf
文件 1759525 2013-12-10 20:36 图像去雾\Retinex\NASA\Real-time Enhancement Registration and Fusion for a.pdf
文件 1125094 2013-12-11 00:35 图像去雾\Retinex\NASA\Resiliency of the Multiscale Retinex Image Enhancement Algorithm.pdf
文件 89203 2013-12-10 19:10 图像去雾\Retinex\NASA\Retinex Image Processing Improved Fidelity To Direct Visual Observation.pdf
文件 1044045 2013-12-11 00:46 图像去雾\Retinex\NASA\Retinex processing for automatic image enhancement.pdf
文件 8287457 2013-12-10 19:28 图像去雾\Retinex\NASA\Scene context dependency of pattern constancy of time series imagery .pdf
目录 0 2014-08-02 10:03 图像去雾\Retinex\RETINEX算法\
............此处省略73个文件信息
- 上一篇:2016年数理方程检测题
- 下一篇:17flowers图片数据集
评论
共有 条评论