我有一個名爲rectimgs數組,它包含約2000的圖片和看到個別PIC 我做如何處理圖片的排列在MATLAB
imshow(rectimgs{375}) // this displays the 375th pic in the array.
現在每個PIC是86 * 86 * 3(RGB)
size((rectimgs{375}))
ans =
86 86 3
如何訪問一個圖像的每個像素從這個陣列,比如我想找出平均值爲像素43 * 44爲每個畫面(比如紅色值),我怎麼能做到這一點。
你能上傳'.mat'文件與數據那我們可以玩一玩嗎? – 2013-04-09 05:56:52
在這裏可以找到http://www.ryanmwhite.com/research/attractiveness_data.zip – JATMON 2013-04-09 05:59:42