GetClusters

Identify contiguous clusters of pixels in a binary 2D image.
30 Downloads
Updated 4 Jun 2019

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 (2024). 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!
Version Published Release Notes
1.0.0