[問題] 關於Image From File 的 Block已回收

看板MATLAB作者 (飛魚)時間16年前 (2009/06/23 10:43), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
今天將Image植入這個block後, 雖然在help中有說到 out的型態分別有以下三種選擇 For image: M-by-N matrix of intensity values or an M-by-N-by-P color video signal)where P is the number of color planes) For color: Scalar, vector, or matrix that represents one plane of the input RGB video stream. Outputs from the R, G, or B ports have the same dimensions. 因為我現在想取得的是圖片的長寬, 所以希冀output為 M by N 的矩陣~ 可是在image輸出的時候,他總是 M by N by P , 想調整讓他output的方法也只剩由image 轉換到 RGB模式@@ 所以想請問,在out的設定中,要怎麼樣才能順利取得M by N 的matrix 而非M by N by P的呢@@? 謝謝^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.122.218.112
文章代碼(AID): #1AG45VSa (MATLAB)
文章代碼(AID): #1AG45VSa (MATLAB)