How to get rgb data value from jpeg image and include it to array?
Afficher commentaires plus anciens
hi, i want to get rgb value from pixel jpeg image, then i want include it to an array. can you help me?
1 commentaire
Stephen23
le 27 Sep 2017
A = imread(...)
Réponses (1)
KSSV
le 27 Sep 2017
I = imread(yourimage) ;
R = I(:,:,1) ; % Red channel
G = I(:,:,2) ; % Green channel
B = I(:,:,3) ; % Blue channel
imshow(I)
Read about imread.
Catégories
En savoir plus sur Images dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!