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

1 view (last 30 days)
I want to put an image' pixels in one array in MATLAB programming.

Answers (1)

KSSV
KSSV on 18 Oct 2017
I = imread('cameraman.tif') ;
iwant = I(:) ;

Community Treasure Hunt

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

Start Hunting!