View License

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

» Watch video

Highlights from
Label the largest pixel/voxel group in an image

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 1.56 KB File ID: #35600 Version: 1.0

Label the largest pixel/voxel group in an image

by

 

LABELLARGEST keep the largest N isolated regions in the image

| Watch this File

File Information
Description

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.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us