File Exchange

image thumbnail

Label the largest pixel/voxel group in an image

version 1.0 (1.56 KB) by

LABELLARGEST keep the largest N isolated regions in the image

0 Downloads

Updated

View License

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.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.10 (R2010a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video