eq - == overloaded method $Id: eq.m,v 1.2 2005/06/05 04:42:22 matthewbrett Exp $
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