You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
LABELLARGEST keep the largest N isolated regions in the image;
Author: Sheng Yue (sheng.yue.84@gmail.com, syue@imperial.ac.uk)
Imperial College London
08-March_2010
Image Processing Toolbox required.
Usage:
[L CC] = LabelLargest(IM,pieces,conn);
L= LabelLargest(IM,pieces,conn);
LabelLargest(IM,pieces,conn);
IM is the input image.
pieces is the regions you want to keep. Default value is 1;
conn is the connectivity defined same as matlab.
Cite As
Sheng Yue (2026). Label the largest pixel/voxel group in an image (https://www.mathworks.com/matlabcentral/fileexchange/35600-label-the-largest-pixel-voxel-group-in-an-image), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.56 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
