addDrawPolyToolbar

Adds a polygon region of interest (ROI) draw button with masking functionality to the axes toolbar
33 Downloads
Aktualisiert 24. Okt 2022

Lizenz anzeigen

Run addDrawPolyToolbar/addDrawPolyToolbar(axes_handle) to add a polygon ROI drawing button to the current/given axes (alternatively, run addDrawPolyToolbar([],{'roi','test'}) to create a test figure)
Press the button to interactively draw a polygon ROI
Press spacebar/enter to enable or disable the ROI masking of line objects
Moving/resizing the ROI automatically updates the masking
Press shift+s to save the current mask structure and the vertices coordinates to the workspace
Additional options included inside the function

Zitieren als

Vasilis Bellos (2024). addDrawPolyToolbar (https://www.mathworks.com/matlabcentral/fileexchange/119518-adddrawpolytoolbar), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2022a
Kompatibel mit R2018b bis R2022a
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0