ilabel.m

来自「来自澳大利亚Qeensland大学的计算机视觉Matlab工具箱。 This 」· M 代码 · 共 22 行

M
22
字号
%ILABEL	Label an image%%		li = ILABEL(image)%		[li,maxlabel] = ILABEL(image)%%	Perform connectivity analysis and return a label image LI, same size as %	IMAGE where each pixel value represents the label of the region of its%	corresponding pixel in IMAGE.%%	Connectivity is performed using 4 nearest neighbour, and compares%	the pixel values.  The image can be greyscale or binary.%%	Also returns the maximum label assigned to the image.  Labels lie in%	the range 1 to MAXLABEL.%% SEE ALSO:	imoments%% LIMITATIONS:	should allow for different connectivity modes%%	Copyright (c) Peter Corke, 1999  Machine Vision Toolbox for Matlab

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?