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

 Respuesta aceptada

Neil Guertin
Neil Guertin el 11 de Oct. de 2017
Editada: Neil Guertin el 12 de Oct. de 2017

0 votos

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

Más respuestas (0)

Preguntada:

el 27 de Sept. de 2017

Editada:

el 12 de Oct. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by