File Exchange

image thumbnail

SelectRoi

version 1.1 (113 KB) by

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

6 Downloads

Updated

View License

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

Comments and Ratings (1)

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.

Updates

1.1

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

MATLAB Release
MATLAB 8.0 (R2012b)

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

» Watch video