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.

Réponses (1)

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

Commenté :

Jan
le 18 Oct 2017

Community Treasure Hunt

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

Start Hunting!

Translated by