This is a GUI that allows you to manage multiple ROI handles.
After you have an image open, call ROImanager from command line. A window will popup to ask you which figure to process. Click done after you make selection.
Click 'New ROI' to make a freehand ROI selection. Once you're done with selection and double click, you should see a new ROI name pop in the listbox. To delete an ROI, select from the listbox and click 'Delete ROI'.
Click 'Export ROI handles' to export a cell array containing all the ROI handles to base workspace.
This code appears to be broken on 2014b. Perhaps due to new graphics system? The choose figure selection box registers multiple 'GUI' selections, but cligking on any of them create error
Reference to non-existent field 'idx'.
Error in chooseFigure>pushbutton2_Callback (line 66)
handles.output = handles.figHandleList(handles.idx);
Error in gui_mainfcn (line 95)
Error in chooseFigure (line 42)
28 Aug 2014
adding number label to ROI
10 Jan 2015
Codes modified to accommodate changes in graphic handles in R2014b