Home > marsbar > @maroi > save_as_image.m

save_as_image

PURPOSE ^

method save_as_image - saves ROI as image

SYNOPSIS ^

function v = save_as_image(o, fname, sp)

DESCRIPTION ^

 method save_as_image - saves ROI as image

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function v = save_as_image(o, fname, sp)
0002 % method save_as_image - saves ROI as image
0003 %
0004 % $Id$
0005 
0006 if nargin < 2
0007   error('Need ROI and filename');
0008 end
0009 if nargin < 3
0010   sp = [];
0011 end
0012 o = maroi_matrix(o, sp);
0013 v = do_write_image(o, fname);

Generated on Thu 17-Mar-2016 01:14:46 by m2html © 2005