MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   将图像表示为矩阵Matlab (https://www.labfans.com/bbs/showthread.php?t=26344)

poster 2019-12-14 20:13

将图像表示为矩阵Matlab
 
如何在Matlab中将图像表示为矩阵?



[B]回答:[/B]

将图像加载到Matlab中后,就会立即将其表示为矩阵。例如

>> A = imread('peppers.png'); >> size(A) ans = 384 512 3 A是384×512×3数组,表示RGB图像,例如A(:,:,1)是红色通道



[url=https://stackoverflow.com/questions/5004639]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 04:51

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.