Saving session to: 11-Dec-2001.txt dsa type delfigs % EC480 Intro to Image Processing, S99-00 % Delete all figures delete(get(0,'Children')) delfigs motdet whos Name Size Bytes Class X1 240x320 76800 uint8 array X2 240x320 76800 uint8 array X3 240x320 76800 uint8 array f1 1x1 8 double array f2 1x1 8 double array f3 1x1 8 double array fwidth 1x1 8 double array map1 256x3 6144 double array map2 256x3 6144 double array map3 256x3 6144 double array pos 1x3 24 double array sheight 1x1 8 double array ssize 1x4 32 double array swidth 1x1 8 double array x1 240x320 614400 double array x2 240x320 614400 double array x3 240x320 614400 double array Grand total is 463117 elements using 2092136 bytes y=x2-x1; figure imshow(y) profiles imshow(y,[]) imshow(abs(y),[]) profiles imshow(abs(y)>0.1,[]) imshow(abs(y)>0.2,[]) imshow(abs(y)>0.3,[]) imshow(abs(y)>0.5,[]) imshow(abs(y)>0.3,[]) y = x3 - x1; imshow(abs(y)>0.3,[]) delfigs x=imread('mart.png'); imshow(x) profiles x=double(x)/256; r = detrend(x')'; s = x - r; figure imshow(s) profiles figure imshow(r,[]) exit