How to get rgb data value from jpeg image and include it to array?

Respuestas (1)

I = imread(yourimage) ;
R = I(:,:,1) ; % Red channel
G = I(:,:,2) ; % Green channel
B = I(:,:,3) ; % Blue channel
imshow(I)
Read about imread.

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Preguntada:

el 27 de Sept. de 2017

Comentada:

el 27 de Sept. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by