资源简介

matlab数字图象处理工具箱 包括imstack2vectors 霍夫变换等许多工具

资源截图

代码片段和文件信息

function f = adpmedian(g Smax)
%ADPMEDIAN Perform adaptive median filtering.
%   F = ADPMEDIAN(G SMAX) performs adaptive median filtering of
%   image G.  The median filter starts at size 3-by-3 and iterates up
%   to size SMAX-by-SMAX. SMAX must be an odd integer greater than 1.

%   Copyright 2002-2004 R. C. Gonzalez R. E. Woods & S. L. Eddins
%   Digital Image Processing Using MATLAB Prentice-Hall 2004
%   $Revision: 1.5 $  $Date: 2003/11/21 14:19:05 $

% SMAX must be an odd positive integer greater than 1.
if (Smax <= 1) | (Smax/2 == round(Smax/2)) | (Smax ~= round(Smax))
   error(‘SMAX must be an odd integer > 1.‘)
end
[M N] = size(g);

% Initial setup.
f = g;
f(:) = 0;
alreadyProcessed = false(size(g));

% Begin filtering.
for k = 3:2:Smax
   zmin = ord

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2008-05-21 22:41  ImageProcess_ToolBox\
     文件        5120  2004-12-16 13:36  ImageProcess_ToolBox\0_Read_Me_First.txt
     文件        1572  2004-12-16 13:36  ImageProcess_ToolBox\adpmedian.m
     文件         651  2004-12-16 13:36  ImageProcess_ToolBox\average.m
     文件        3034  2004-12-16 13:36  ImageProcess_ToolBox\bayesgauss.m
     文件        3063  2004-12-16 13:36  ImageProcess_ToolBox\bound2eight.m
     文件        2477  2004-12-16 13:36  ImageProcess_ToolBox\bound2four.m
     文件        2224  2004-12-16 13:36  ImageProcess_ToolBox\bound2im.m
     文件        5776  2004-12-16 13:36  ImageProcess_ToolBox\boundaries.m
     文件        3966  2004-12-16 13:36  ImageProcess_ToolBox\bsubsamp.m
     文件         592  2004-12-16 13:36  ImageProcess_ToolBox\changeclass.m
     文件        2353  2004-12-16 13:36  ImageProcess_ToolBox\colorgrad.m
     文件        2428  2004-12-16 13:36  ImageProcess_ToolBox\colorseg.m
     文件        1177  2004-12-16 13:36  ImageProcess_ToolBox\compare.m
     文件        1040  2004-12-16 13:36  ImageProcess_ToolBox\connectpoly.m
     文件        6128  2004-12-16 13:36  ImageProcess_ToolBox\Contents.m
     文件         799  2004-12-16 13:36  ImageProcess_ToolBox\conwaylaws.m
     文件         977  2004-12-16 13:36  ImageProcess_ToolBox\covmatrix.m
     文件         687  2004-12-16 13:36  ImageProcess_ToolBox\dftcorr.m
     文件         882  2004-12-16 13:36  ImageProcess_ToolBox\dftfilt.m
     文件         736  2004-12-16 13:36  ImageProcess_ToolBox\dftuv.m
     文件        6622  2004-12-16 13:36  ImageProcess_ToolBox\diameter.m
     文件         874  2004-12-16 13:36  ImageProcess_ToolBox\endpoints.m
     文件        1028  2004-12-16 13:36  ImageProcess_ToolBox\entropy.m
     文件        8758  2004-12-16 13:36  ImageProcess_ToolBox\fchcode.m
     文件        1454  2004-12-16 13:36  ImageProcess_ToolBox\frdescp.m
     文件         992  2004-12-16 13:36  ImageProcess_ToolBox\fwtcompare.m
     文件         447  2004-12-16 13:36  ImageProcess_ToolBox\gmean.m
     文件        2087  2004-12-16 13:36  ImageProcess_ToolBox\gscale.m
     文件         920  2004-12-16 13:36  ImageProcess_ToolBox\histroi.m
     文件        2707  2004-12-16 13:36  ImageProcess_ToolBox\hough.m
............此处省略71个文件信息

评论

共有 条评论