View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

5.0 | 1 rating Rate this file 6 Downloads (last 30 days) File Size: 113 KB File ID: #39224 Version: 1.1
image thumbnail




28 Nov 2012 (Updated )

Rectangle or/and ellipse shape selection tool that can easily be extended for your needs.

| Watch this File

File Information

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

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Other requirements Tested on MacOS.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
12 Dec 2015 Xinyan Fan

Thank you for this script. Now, I would like to change the operation of the ROI selection based on your script. Could I know how to select ROIs with given size square that I could only click one time when selecting each ROI. Really forward to your reply.

04 Dec 2012 1.1

Fixed bug when using random key instead of Delete/backspace and removed useless files (used by SVN).

Contact us