ROI object property "does not exist"?

5 次查看(过去 30 天)
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 个评论
Turlough Hughes
Turlough Hughes 2020-3-11
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 2020-3-18
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

请先登录,再进行评论。

回答(0 个)

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by