www.gusucode.com > 连通体搜索源码程序 > 连通体搜索源码程序/find_components/find_components/Contents.m

    % FIND_COMPONENTS finds connected components in an image.
% This is a solution to Doug Hull's Puzzler, in his Aug 18, 2008 blog:
% http://blogs.mathworks.com/pick/2008/08/18/
%
% Files
%   find_components         - finds all connected components of an image.
%   find_components_example - gives an example usage of find_components.
%   largest_component       - finds the largest connected component in an image.
%
% Example
%   find_components_example         % prints and plots and small example
%   find_components_example(2)      % a large example, just plotting

% Copyright 2008, Tim Davis, University of Florida