can u hhelp me by giving the syntax for making an intensity matrix from the given image...
Afficher commentaires plus anciens
Image=imread('D:\semester 3\matlab work\images\hand.jpeg');
imshow(image);
disp(image);
after executing it the command window shows its intensity values....i want to make the matrix from these intensity values... how can i do it????can u help me for the same???
i want to use these intensity values in my code...dats y......
Réponse acceptée
Plus de réponses (1)
vivek govind
le 23 Mar 2013
Modifié(e) : vivek govind
le 23 Mar 2013
To obtain pixel intensity values from an image and store it in an array , you can use this code, suppose i have a 75x75 image ,
gg=imread('D:\semester 3\matlab work\images\hand.jpeg');
for i=1:74,
for j=1:74,
P(i,j) = gg(i,j+1);
end
end
Catégories
En savoir plus sur Particle & Nuclear Physics dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!