GetClusters

version 1.0.0 (1.86 KB) by Edden M. Gerber
Identify contiguous clusters of pixels in a binary 2D image.

28 Downloads

Updated Tue, 04 Jun 2019 15:42:26 +0000

View License

Takes a 2D matrix of binary data (e.g. {0,1} or {true,false} and returns a labeled map of all sets of contigues "1" pixels with each cluster identified by a different numer.
This will only be useful to you if you don't have the image processing toolbox. Otherwise the bwconncomp function does the same thing faster.

Cite As

Edden M. Gerber (2022). GetClusters (https://www.mathworks.com/matlabcentral/fileexchange/71753-getclusters), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!