vol - returns / sets image vol for object $Id$
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