extraction of pixel values of image
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello
i want to extract the pixels values of image attached and store it in array or matrix?

3 commentaires
Réponses (1)
Jose Jeremias Caballero
le 24 Jan 2020
Modifié(e) : Jose Jeremias Caballero
le 24 Jan 2020
>> a=imread('image.jpeg');
>> read1=a(:,:,1);
>> green1=a(:,:,2);
>> blue1=a(:,:,3);
3 commentaires
Image Analyst
le 24 Jan 2020
read is a built-in function. You shouldn't use built-in function names as variables -- I think you meant red.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!