MATLAB: Event name listener list for ROI from draw rectangle/​freehand/a​ssisted etc

drawlistenerMATLABroi

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
Is there more ?

Best Answer

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!
Related Question