导向滤波论文翻译代码


图像处理的导向滤波论文翻译及matlab代码
资源截图
代码片段和文件信息
function imDst = boxfilter(imSrc r)

%   BOXFILTER   O(1) time box filtering using cumulative sum
%
%   - Definition imDst(x y)=sum(sum(imSrc(x-r:x+ry-r:y+r)));
%   - Running time independent of r; 
%   - Equivalent to the function: colfilt(imSrc [2*r+1 2*r+1] ‘sliding‘ @sum);
%   - But much faster.

[hei wid] = size(imSrc);
imDst = zeros(size(imSrc));

%cumulative sum over Y axis
imCum = cumsum(imSrc 1);
%difference over Y axis
imDst(1:r+1 :) = imCum(1+r:2*r+1 :);
imDst(r+2:hei-r :) = imCum(2*r+2:hei :) - imCum(1:hei-2*r-1 :);
imDst(hei-r+1:hei :) = repmat(imCum(hei :) [r 1]) - imCum(hei-2*r:hei-r-1 :);

%cumulative sum over X axis
imCum = cumsum(imDst 2);
%difference over Y axis
imDst(: 1:r+1) = imCum(: 1+r:2*r+1);
imDst(: r+2:wid-r) = imCum(: 2*r+2:wid) - imCum(: 1:wid-2*r-1);
imDst(: wid-r+1:wid) = repmat(imCum(: wid) [1 r]) - imCum(: wid-2*r:wid-r-1);
end


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-07-21 15:59  导向滤波论文翻译及代码
     文件     8547646  2013-07-04 18:06  导向滤波论文翻译及代码6319316.pdf
     目录           0  2013-07-04 21:35  导向滤波论文翻译及代码导向滤波matlab代码
     文件         931  2010-07-08 19:30  导向滤波论文翻译及代码导向滤波matlab代码oxfilter.m
     文件         452  2010-07-08 20:22  导向滤波论文翻译及代码导向滤波matlab代码example_enhancement.m
     文件         341  2010-07-08 22:24  导向滤波论文翻译及代码导向滤波matlab代码example_feathering.m
     文件         607  2010-07-08 20:19  导向滤波论文翻译及代码导向滤波matlab代码example_flash.m
     文件         285  2010-07-08 19:46  导向滤波论文翻译及代码导向滤波matlab代码example_smoothing.m
     文件     2188053  2013-07-04 18:06  导向滤波论文翻译及代码导向滤波matlab代码guided-filter-code-v1.rar
     文件         957  2010-07-08 21:57  导向滤波论文翻译及代码导向滤波matlab代码guidedfilter.m
     文件        2462  2011-05-03 04:12  导向滤波论文翻译及代码导向滤波matlab代码guidedfilter_color.m
     目录           0  2010-07-08 20:20  导向滤波论文翻译及代码导向滤波matlab代码img_enhancement
     文件     2880056  2010-03-05 16:09  导向滤波论文翻译及代码导向滤波matlab代码img_enhancement ulips.bmp
     目录           0  2010-07-08 21:11  导向滤波论文翻译及代码导向滤波matlab代码img_feathering
     文件      947480  2010-07-08 22:24  导向滤波论文翻译及代码导向滤波matlab代码img_feathering oy-mask.bmp
     文件      947480  2010-07-08 22:24  导向滤波论文翻译及代码导向滤波matlab代码img_feathering oy.bmp
     目录           0  2010-07-08 19:45  导向滤波论文翻译及代码导向滤波matlab代码img_flash
     文件      786488  2010-02-24 13:31  导向滤波论文翻译及代码导向滤波matlab代码img_flashcave-flash.bmp
     文件      786488  2010-02-24 13:30  导向滤波论文翻译及代码导向滤波matlab代码img_flashcave-noflash.bmp
     目录           0  2010-07-08 19:45  导向滤波论文翻译及代码导向滤波matlab代码img_smoothing
     文件       77256  2010-02-27 16:16  导向滤波论文翻译及代码导向滤波matlab代码img_smoothingcat.bmp
     文件        1111  2012-04-20 21:34  导向滤波论文翻译及代码导向滤波matlab代码
eadme.txt
     目录           0  2012-05-09 16:22  导向滤波论文翻译及代码导向滤波代码
     文件         931  2010-07-08 19:30  导向滤波论文翻译及代码导向滤波代码oxfilter.m
     文件         452  2010-07-08 20:22  导向滤波论文翻译及代码导向滤波代码example_enhancement.m
     文件         341  2010-07-08 22:24  导向滤波论文翻译及代码导向滤波代码example_feathering.m
     文件         607  2010-07-08 20:19  导向滤波论文翻译及代码导向滤波代码example_flash.m
     文件         285  2010-07-08 19:46  导向滤波论文翻译及代码导向滤波代码example_smoothing.m
     文件         957  2010-07-08 21:57  导向滤波论文翻译及代码导向滤波代码guidedfilter.m
     文件        2462  2011-05-03 04:12  导向滤波论文翻译及代码导向滤波代码guidedfilter_color.m
     文件       21504  2013-07-21 15:41  导向滤波论文翻译及代码导向滤波代码学习.doc
............此处省略1个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)