Home > marsbar > @maroi_image > vol.m

vol

PURPOSE ^

vol - returns / sets image vol for object

SYNOPSIS ^

function h = vol(obj, val)

DESCRIPTION ^

 vol - returns / sets image vol for object

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function h = vol(obj, val)
0002 % vol - returns / sets image vol for object
0003 %
0004 % $Id$
0005 
0006 if nargin > 1
0007   img = my_vol_func(val, obj.func);
0008   obj.vol = val;
0009   obj = matrixdata(obj, img);
0010   h = obj;
0011 else
0012   h = obj.vol;
0013 end

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019