关于MATLAB的翻译求助

来源:百度知道 编辑:UC知道 时间:2024/06/06 18:00:04
Copyright 1993-2002 The MathWorks, Inc.
% $Revision: 1.10 $ $Date: 2002/03/15 15:27:47 $

% Algorithm reference: P. Soille, Morphological Image Analysis:
% Principles and Applications, Springer, 1999, pp. 164-165.

% Input-output specs
% ------------------
% IM: N-D, real, full matrix
% any numeric or logical nonsparse type
% if islogical(IM), treated as binary
% empty ok
% Infs ok
% if logical, NaNs are ok and treated as 0s, otherwise
% not allowed.
%
% CONN: connectivity
%
% IM2: Same class and size as IM

[im,conn] = parse_inputs(varargin{:});
conn = conn2array(conn);

marker = im;

% Now figure out which elements of the marker image are connected to the
% outside, according to the connectivity definition.
im2 = true(size(marker));
im2 = padarray(im2, ones(1

Copyright 1993-2002 The MathWorks, Inc.
美国迈斯沃克公司 1993-2002 版权所有。
% $Revision: 1.10 $ $Date: 2002/03/15 15:27:47 $
版本 1.10 日期:2002/03/15 15:27:47
% Algorithm reference: P. Soille, Morphological Image Analysis:
算法参考:P. Soille 形态学图像分析
% Principles and Applications, Springer, 1999, pp. 164-165.
原理与应用原书名 Springer, 1999, pp. 164-165.
% Input-output specs
输入输出 规则
% ------------------
% IM: N-D, real, full matrix
N-D实数全矩阵
% any numeric or logical nonsparse type
任何数字的 或者逻辑非系数 类型
% if islogical(IM), treated as binary
若是逻辑数则为真,以二进制对待。
% empty ok
空集 确定
% Infs ok
Infs确定
% if logical, NaNs are ok and treated as 0s, otherwise
如果合乎逻辑的,通知书是确定并视为0 ,否则
% not allowed.
% ,不允许。
%
% CONN: connectivity
连接器 连通
%
% IM2: Same class and size as IM
IM2 :同一等级,与IM相同的规模