erase and edit freehand in gui

4 views (last 30 days)
mary
mary on 7 Jun 2011
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)

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

Community Treasure Hunt

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

Start Hunting!