impoly on multiple axes
2 views (last 30 days)
Show older comments
I have a gui with 4 axes (ax1..ax4), each containing a grayscale image (handles.image{1:4}).
When I use impoly to draw a ROI in one of the axes, the images in some of the other axes are "covered up" in the background color of the gui. When I delete the ROI, the images in the other axes return.
If impoly is invoked on ax1, all other images are covered. If it is invoked on ax2, no other images are covered. If it is invoked on ax3, only the image in ax2 is covered and if impoly is invoked in ax4, the images in ax2 and ax3 are covered.
Can anyone explain this behavior, and how can i get rid of it?
Thanks very much Chris
Matlab R2012a
0 Comments
Answers (1)
Image Analyst
on 10 Mar 2013
I don't observe that. Can you show your code where you invoked impoly for a particular and the other axes vanished (got replaced by the GUI's background color)?
3 Comments
Image Analyst
on 11 Mar 2013
Moved: DGM
on 29 Dec 2023
I've never used h=impoly(handles.AxesHandle{handles.ROI2D.SelectAxes}) - why can't you do h=impoly(handles.AxesHandle{Target}), since you know what Target is?
What is handles.ROI2D.SelectAxes anyway? ROI2D.SelectAxes is a field of ROI2D but SelectAxes sounds like a method of a class - like a function that is supposed to do something rather than a property.
See Also
Categories
Find more on Display Image 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!