Roipoly on UI axes

2 vues (au cours des 30 derniers jours)
Igor Vidic
Igor Vidic le 27 Sep 2017
Modifié(e) : Neil Guertin le 12 Oct 2017
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

Réponse acceptée

Neil Guertin
Neil Guertin le 11 Oct 2017
Modifié(e) : Neil Guertin le 12 Oct 2017
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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by