ROI object property "does not exist"?

2 visualizaciones (últimos 30 días)
Veena Chatti
Veena Chatti el 10 de Mzo. de 2020
Comentada: Veena Chatti el 18 de Mzo. de 2020
Hi all,
I've been creating ROIs using specific coordinates in images, and strangely I see that when I click on the ROI object in the workspace (1x1 Circle) and click on its properties (ex. Radius) there's just a message saying "The variable w.Radius does not exist".
When I call the property in the workspace with a w.Radius command, I get the message:
Invalid or deleted object. Error in images.roi.Circle/get.Radius
What's going on? I get the same message for other properties of the ROI, including Center, which is totally weird, because I actually gave it the coordinates in which it was supposed to position the center of the circle, which it did accurately (looking at the image).
Thanks for sharing your tips and expertise!
Best,
Veena
  2 comentarios
Turlough Hughes
Turlough Hughes el 11 de Mzo. de 2020
One can only be guess without seeing the code you used to end up with that error. Can you provide the code you've used so far or something representative of the steps your code implements?
Veena Chatti
Veena Chatti el 18 de Mzo. de 2020
Hi Turlough,
Sorry for my late response to your answer- I realized that the ROI object would only be accessible as long as I had the figure open.
Best,
Veena

Iniciar sesión para comentar.

Respuestas (0)

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by