how to put an image's pixels in one array in matlab?

1 次查看(过去 30 天)
I want to put an image' pixels in one array in MATLAB programming.

回答(1 个)

KSSV
KSSV 2017-10-18
I = imread('cameraman.tif') ;
iwant = I(:) ;

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by