先將彩色影像轉灰階. BW=edge(gray,'canny') %用Canny演算法取得影像邊緣並且 二值化. imshow(BW) %以上步驟結果預覽,無作用. result_logic=imresize(BW,0.5)
www.google.com.tw