iclose.m
来自「来自澳大利亚Qeensland大学的计算机视觉Matlab工具箱。 This 」· M 代码 · 共 24 行
M
24 行
%ICLOSE Morphological closing%% B = ICLOSE(A, SE [,N])%% Return the image A after morphological closing with the structuring% element SE. N (default to 1) dilations then N erosions are performed.%% SEE ALSO: iopen imorph%% Copyright (c) Peter Corke, 1999 Machine Vision Toolbox for Matlabfunction b = iclose(a, se, n) if nargin == 2, n = 1; end b = a; for i=1:n, b = imorph(b, se, 'max'); end for i=1:n, b = imorph(b, se, 'min'); end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?