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

I want to put an image' pixels in one array in MATLAB programming.

Risposte (1)

I = imread('cameraman.tif') ;
iwant = I(:) ;

Richiesto:

il 18 Ott 2017

Commentato:

Jan
il 18 Ott 2017

Community Treasure Hunt

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

Start Hunting!

Translated by