image_components_test, a MATLAB program which calls image_components() to count and label the connected nonzero/nonblack components in an image or integer vector, matrix or 3D block.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
image_components, a MATLAB library which seeks the connected nonzero or nonblack components or segments of an image or integer vector, array or 3D block.