[問題] 關於Image From File 的 Block已回收
今天將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
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章