image thumbnail

ROI Draw

version (18.3 KB) by Christopher Changchien
ROI Draw allows you to draw rectangular ROI's at any angle.


Updated 04 Dec 2008

No License

Most ROI Drawing Tools limit you to either drawing a circular ROI or a rectangular ROI perpendicular to the X-Y axis. ROI Draw's primary purpose is to expand upon the drawing of rectangular ROI's by allowing you to draw them at any angle.

After selection of an ROI, ROI Draw crops and rotates your ROI into the X-Y plane using a bicubic interpolation algorithm (chosen in order to preserve textural properties) so that spatial statistics may be analyzed.

ROI Draw outputs a .MAT file which, in addition to storing your rotated ROI, stores the original image and a mask file (for calculating pixel statistics), and the coordinates of the corners of your ROI so that they can be used to colocalize an ROI on another image.

ROI Draw at this point only works for DICOM images as its primary purpose is for application in medical research.

Cite As

Christopher Changchien (2021). ROI Draw (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!