How will I get the returned position of imrect after the figure is close?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Loren Narciso
am 28 Dez. 2013
Kommentiert: Walter Roberson
am 25 Nov. 2018
Hello, I am a beginner in matlab. I am creating an interactive gui for selection of roi for a certain image. I used the imrect function. After dragging and selecting which area is, I have to closed the figure to continue the process. I want to get the position of the rectangle after closing the figure.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 28 Dez. 2013
I don't think you can. You should have double-clicked inside the rectangle to get the coordinates in your code, then close the figure with the close() function if you wanted it closed.
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!