2009年6月18日 ... [x,map]=imread('D:\DSC00370.jpg');gray_fg=rgb2gray(x); %轉灰階BW=im2bw(x, map,0.9); %二值化figure %顯示 ...
tw.knowledge.yahoo.com