Code covered by the BSD License  

Highlights from
mmROI (multiple images with multiple ROIs)

4.0

4.0 | 3 ratings Rate this file 17 Downloads (last 30 days) File Size: 5.45 KB File ID: #4511
image thumbnail

mmROI (multiple images with multiple ROIs)

by Shanrong Zhang

 

20 Feb 2004 (Updated 18 Apr 2005)

open multiple images and preform multiple ROIs process

| Watch this File

File Information
Description

1) Goal: Interactively process MULTIPLE images with MULTIPLE ROIs (so-called mmROI), which returns ROI mean, std, min, max, median, area and center(X,Y), and plots the mean/std values along the image series.

2) Usage: [roi, im] = mmROI; (please don't forget to add a semicolon ";" at the end of this command. Otherwise, all image data will be showing on
screen!)

a) The statistic data are in roi structures, which may be save into a text file (optional). If you want to see the details, you may type, for example, roi.mean to show all mean values; roi.mean(1, 1, 1)to display the mean value of the 1st image, the 1st ROI and the red color; roi.std(3, 1, :) to show std values of all image 1, the 1st ROI and the blue color, etc.

b) The image data are in a stack (im). You may use immovie(im) to play a movie or montage(im) to show all images in one figure.
  
3) Limitation: all images MUST have exactly identical size. Otherwise, an error will take place and the program will be terminated. The reason is that all image data were loaded into a stack matrix, im(:,:,:,imNumber).

First version: 02/14/2004
Fix bug: Now it works on Version r14sp2
 
Shanrong Zhang
Department of Radiology
University of Washington

email: zhangs@u.washington.edu

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
ROI

Required Products Image Processing Toolbox
MATLAB release MATLAB 7 (R14)
Other requirements Works well on Wondow XP. If you are testing on other platforms, please share your results (comments on Unix, linux, Mac).
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
07 Apr 2006 lee K

very good

09 May 2007 eman khier  
11 Jan 2011 Vivek

hey can i extract the ROI as separate image? in other words, i want to extract the polygon selection as separate image??
My Roi is in the link and highlighed and i want that ROI as separate image

http://www.4shared.com/photo/EBcw8Doy/ROI.html

Please login to add a comment or rating.
Updates
25 Feb 2004

1) Add image file filter in multiple file selection;
2) Set current directory as default.

08 Mar 2004

1) Now it works for both release 13 and release 14 (v7 prerelease version)
2) turn off "warning off MATLAB:colon:operandsNotRealScalar"

18 Apr 2005

Fix bug so that it will run on version R14SP2

Tag Activity for this File
Tag Applied By Date/Time
gui Shanrong Zhang 22 Oct 2008 07:14:41
display Shanrong Zhang 22 Oct 2008 07:14:41
annotation Shanrong Zhang 22 Oct 2008 07:14:41
roi Shanrong Zhang 22 Oct 2008 07:14:41
multiple Shanrong Zhang 22 Oct 2008 07:14:42
interactive Shanrong Zhang 22 Oct 2008 07:14:42
image process Shanrong Zhang 22 Oct 2008 07:14:42
statistic Shanrong Zhang 22 Oct 2008 07:14:42

Contact us at files@mathworks.com