GetClusters
Version 1.0.0 (1.86 KB) by
Edden M. Gerber
Identify contiguous clusters of pixels in a binary 2D image.
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 (2025). 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 LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Find more on Region and Image Properties in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |