cancel a call to impoly

1 回表示 (過去 30 日間)
Jim O'Doherty
Jim O'Doherty 2012 年 11 月 14 日
All,
I'm manually outlining a series of ROIs on some 3D data, and would like to know how to cancel a call to impoly (i.e. when a user has optioned to stop drawing) by way of a togglebutton.
Fundamentally, after impoly is called, I can't seem to find a way to break out of the call until AFTER impoly has had some input (i.e. something is drawn)
A simple example:
r=imread('cameraman.tif');
imshow(r,[])
h=roipoly();
After all this has been entered, how could I cancel the fact that I've called roipoly? Its clearly waiting for input, perhaps through waitfor? I've tried deleting the handle and uiresume with no luck
Thanks
Jim

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by