impoly on multiple axes
显示 更早的评论
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
回答(1 个)
Image Analyst
2013-3-10
0 个投票
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 个评论
Image Analyst
2013-3-11
移动:DGM
2023-12-29
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!