[quote]原帖由 Iamcougar 於 2006-9-4 11:06 AM 發表
??? Index exceeds matrix dimensions.
Error in ==> C:\My Documents\MATLAB\123\edge.m
On line 7 ==> Image1(n,m) = 2*(double(Image1(n,m-1))) - double(Image1(n,m-2)); % 將uint8轉成double...使值可超出255
Error in ==> C:\My Documents\MATLAB\123\Untitled.m
On line 28 ==> Image1=edge(c,d,Image1); %...邊界 (function2)
請問 一下 我run過你的程式 他出現上面幾行 我照你的方法用了 是哪裡出錯了嗎? |