function l = label(a)
%
% label: assigns unique sequential labels to 8-connected components in array
% On input:
%     a: 2D array
% On output:
%     l: labeled image (unique, consecutive labels on 8-connected sets)
% Call:
%     l = label(a)  
%

l = label8(a);
