Moving ROIs using the "new" images.roi classes

1 visualizzazione (ultimi 30 giorni)
Samuel Thrysøe
Samuel Thrysøe il 28 Mar 2019
I have an old GUI utilizing imellipse and addNewPositionCallback to dynamically update whenever the ROI is moved.
Just recently, I discovered the "new" images.roi classes, and am trying to move the code onto this platform. From the MATLAB documentation, I can see, that drawellipse and images.roi.Ellipse have an event called images.roi.ROIMovingEventData - unfortunately, the help provided via MATLAB documentation is extremely sparse with no example showing how to implement the ROIMovingEventData event.
Has anybody got an idea for how to do this?
Sincerely,
Samuel Thrysøe

Risposte (0)

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by