Clear Filters
Clear Filters

How to manually segment an image in Matlab, and also manually label the segments?

3 views (last 30 days)
Hi, I'm a newbie to Matlab. I'm basically attempting to manually segment a set of images and then manually label those segments also. I looked into the imfreehand(), but I'm unable to do this using imfreehand().
Basically, I want to follow the following steps :
1. Manually segment various ROIs on the image (imfreehand only lets me draw one segment I think?)
2. Assign labels to all those segments
3. Save the segments and corresponding labels to be used further (not sure what format they would be stored in, I think imfreehand would give me the position and I could store that along with the labels?)
If there is some other tool or software which would help me do this, then any pointers would be very much appreciated. Thanks!

Answers (1)

tairman singh
tairman singh on 18 Apr 2013
try searching in the image processing toolbox DEMOS.There is one demo which shows how to segment a image and label those ,name of the demo is "Color-Based Segmentation Using the L*a*b* Color Space".

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!