Home > phiwave > @phiw_wvimg > as_matrix.m

as_matrix

PURPOSE ^

returns wvimg object as wt image matrix, or sets matrix in object

SYNOPSIS ^

function r = as_matrix(obj, m)

DESCRIPTION ^

 returns wvimg object as wt image matrix, or sets matrix in object
 
 $Id: as_matrix.m,v 1.2 2005/05/31 23:58:54 matthewbrett Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function r = as_matrix(obj, m)
0002 % returns wvimg object as wt image matrix, or sets matrix in object
0003 %
0004 % $Id: as_matrix.m,v 1.2 2005/05/31 23:58:54 matthewbrett Exp $
0005 
0006 if nargin < 2  % get
0007   obj = doproc(obj);
0008   r = obj.img;
0009 else
0010   obj.img = m;
0011   r = obj;
0012 end

Generated on Wed 06-Jul-2005 18:07:21 by m2html © 2003