[問題] 影像處理 影像跑不出來已回收

看板MATLAB作者 (芭樂孝)時間15年前 (2010/11/11 14:54), 編輯推噓3(303)
留言6則, 3人參與, 最新討論串1/1
>> [image,map]=bmpread('L8_2.bmp'); image1=sobel(image,0.5); image2=sobel(image,0.6); image3=sobel(image,0.7); imshow(image,map) figure,imshow(image1) figure,imshow(image2) figure,imshow(image3) 以上程式來至數位影像處理 活用-MATLAB (繆紹綱著 全華出版) 我在跑他光碟內的實驗範例(8-3 邊界偵測) 但是他卻顯示: Warning: Could not find an exact (case-sensitive) match for 'L8_3'. E:\CH8\L8_3.M is a case-insensitive match and will be used instead. You can improve the performance of your code by using exact name matches and we therefore recommend that you update your usage accordingly. Alternatively, you can disable this warning using warning('off','MATLAB:dispatcher:InexactCaseMatch'). This warning will become an error in future releases. ??? Undefined function or method 'bmpread' for input arguments of type 'char'. Error in ==> L8_3 at 2 [image,map]=bmpread('L8_2.bmp'); 請問到底是出啥問題了?? 我用的是MATLAB 2010a 有請大大解答了~感謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.137.43.103

11/11 18:27, , 1F
用imread看看 不要用bmpread
11/11 18:27, 1F

11/11 18:28, , 2F
然後我記得image好像是保留字?
11/11 18:28, 2F

11/11 18:34, , 3F
好怪 我help bmpread 跟 sobel都沒有這個含式欸
11/11 18:34, 3F

11/11 18:35, , 4F
可能是他自己還有另外寫? 你要把檔案放同一個資料夾看看
11/11 18:35, 4F
※ 編輯: ocs54573 來自: 118.169.171.209 (11/11 22:22)

11/12 15:48, , 5F
圖有出來了~感謝GRA大大的解答!!XD
11/12 15:48, 5F

03/21 10:32, , 6F
2015 sobel有
03/21 10:32, 6F
文章代碼(AID): #1CsvCJCk (MATLAB)