extraction of pixel values of image

6 visualizzazioni (ultimi 30 giorni)
Smruti Khobragade
Smruti Khobragade il 24 Gen 2020
Hello
i want to extract the pixels values of image attached and store it in array or matrix?
  3 Commenti
Guillaume
Guillaume il 24 Gen 2020
Modificato: Guillaume il 24 Gen 2020
The question is not clear. In matlab, an image is stored as a matrix of pixel values. So if you've got the image loaded in matlab, you already have what you want.
Smruti Khobragade
Smruti Khobragade il 29 Gen 2020
i wanted to get the highest pixel values of black color to compare it with anothe images highest black color pixel values

Accedi per commentare.

Risposte (1)

Jose Jeremias Caballero
Jose Jeremias Caballero il 24 Gen 2020
Modificato: Jose Jeremias Caballero il 24 Gen 2020
>> a=imread('image.jpeg');
>> read1=a(:,:,1);
>> green1=a(:,:,2);
>> blue1=a(:,:,3);
  3 Commenti
Image Analyst
Image Analyst il 24 Gen 2020
read is a built-in function. You shouldn't use built-in function names as variables -- I think you meant red.
Smruti Khobragade
Smruti Khobragade il 29 Gen 2020
hello,image analyst
sir can u help me in another question i posted
Thankyou .

Accedi per commentare.

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by