Filter löschen
Filter löschen

ROI object property "does not exist"?

2 Ansichten (letzte 30 Tage)
Veena Chatti
Veena Chatti am 10 Mär. 2020
Kommentiert: Veena Chatti am 18 Mär. 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 Kommentare
Turlough Hughes
Turlough Hughes am 11 Mär. 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 am 18 Mär. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by