SelectRoi
This rectangle and ellipse graphical interface selection tool allows you to make any number of selection you want on an image your provide. You can then resize, move or delete those selections. When you quit the application, the coordinates of the first corner and the width and height of each selection is returned.
It's then pretty straighforward to get the inside pixels coordinates for each of the selection. Contact me if you need help on this.
Read the documentation at the beginning of the code.
>> selectROI() %will run the application using default picture and selection
Cite As
Jean Bilheux (2024). SelectRoi (https://www.mathworks.com/matlabcentral/fileexchange/39224-selectroi), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Image Acquisition Toolbox > Image Data Acquisition >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Data Acquisition >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.