Home > phiwave > @phiw_wvimg > eq.m

eq

PURPOSE ^

eq - == overloaded method

SYNOPSIS ^

function r = eq(obj1, obj2)

DESCRIPTION ^

 eq - == overloaded method

 $Id: eq.m,v 1.2 2005/06/05 04:42:22 matthewbrett Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function r = eq(obj1, obj2)
0002 % eq - == overloaded method
0003 %
0004 % $Id: eq.m,v 1.2 2005/06/05 04:42:22 matthewbrett Exp $
0005 
0006 r = 0;
0007 if all(obj1.wvol.dim(1:3)-obj2.wvol.dim(1:3))
0008   obj1 = doproc(obj1);obj2=doproc(obj2);
0009   r = all(obj1.img(:) == obj2.img(:));
0010 end

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