cancel a call to impoly
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!