Roipoly on UI axes

2 次查看(过去 30 天)
Igor Vidic
Igor Vidic 2017-9-27
编辑: Neil Guertin 2017-10-12
Hi, I am trying to use roipoly/impoly on UIaxes (showing image using imshow)), I was wondering is it at all possible to do it? I tried setting UIAxes/UIFigure as current figure (it seems that UIAxes doesn't support HG_group...), also I tried giving UIAxes as the input to roipoly/impoly but without success. I am using matlab 2016b, but might upgrade if needed. Does anyone know how to use roipoly/impoly on UIaxes or in matlab app designer on some image? I would also need to add overlay. Thank you

采纳的回答

Neil Guertin
Neil Guertin 2017-10-11
编辑:Neil Guertin 2017-10-12
roipoly and impoly are not supported in App Designer as of R2017b.
The error message in R2016b and R2017a says "HPARENT must be able to have an hggroup object as a child." Support for hggroups was added in R2017b, but roipoly and impoly also rely on other behavior that is not currently supported in App Designer.
For more information, see the following page on Graphics Support in App Designer. http://www.mathworks.com/help/matlab/creating_guis/graphics-support-in-app-designer.html

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by