Borrar filtros
Borrar filtros

How to display selected ROI Area in real-time

4 visualizaciones (últimos 30 días)
Katie
Katie el 6 de Ag. de 2013
I have a program in which the user moves and resizes a pre-created elliptical ROI (using imellipse). After they've clicked okay, I calculate the after pixel intensity of that ROI.
I would like to display the size that the ROI in real-time as the user changes the size because they will often need to create an ROI of a particular area.
My version of MATLAB is a little older (7.5.0) so newer functions might not work.
Thanks!

Respuestas (1)

Image Analyst
Image Analyst el 6 de Ag. de 2013
I don't think it's possible. If it's like other functions of that type, once you're in the drawing ellipse mode, you can't tie in to the mouse move event to get the ellipse area and put it to a label on the GUI. You can only do that after you double click in the ellipse to finish it, or right click and say "Create Mask" to finish it.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by