erase and edit freehand in gui

3 visualizzazioni (ultimi 30 giorni)
mary
mary il 7 Giu 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...

Risposte (1)

Paulo Silva
Paulo Silva il 7 Giu 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!

Translated by