erase and edit freehand in gui

I have a figure and draw shapes by imfreehand on it. but now i wanna to erase a part of that freehand.how can i do it? thx for your help...

Answers (1)

Use the delete key from your keyboard after clicking on the shape line, for example:
figure, imshow('pout.tif');
h = imfreehand;
wait(h);

Asked:

on 7 Jun 2011

Community Treasure Hunt

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

Start Hunting!