Event name listener list for ROI from draw rectangle/freehand/assisted etc
12 views (last 30 days)
Show older comments
Aymeric Ferreira
on 26 May 2020
Commented: Fernando Zigunov
on 28 Aug 2022
Hello,
I'm looking for a list of listener I can create for the draw function : https://www.mathworks.com/help/images/roi-creation-overview.html
I'm unable to find it, is there documentation about this or a code to access all the events I can follow ? For the moment I only know 'ROIMoved' but I would like to follow if a ROI is deleted and maybe more depending on the listener available
Thank you
edit : Ok I found a list of events : https://www.mathworks.com/help/images/ref/images.roi.freehand.html#mw_44f0c5ef-63e0-4fe2-a87f-d39e58225dc6
Is there more ?
0 Comments
Accepted Answer
Payas Bahade
on 29 May 2020
Hi Aymeric,
Different ROI objects like rectangle, freehand, circle, polyline, etc. supports different events. You can add listeners for the events supported by that specific ROI object. To get list of all the ROI objects please refer this link. To get list of all the events supported by each ROI, navigate to the ‘Events’ section of each of the ROIs.
Hope this helps!
1 Comment
Fernando Zigunov
on 28 Aug 2022
This took me forever to find. The god-damned subsection "Events" is collapsed when you open the damn webpage. Why????
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!