Code covered by the BSD License  

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

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

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