can u hhelp me by giving the syntax for making an intensity matrix from the given image...
Mostra commenti meno recenti
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......
Risposta accettata
Più risposte (1)
vivek govind
il 23 Mar 2013
Modificato: vivek govind
il 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
Categorie
Scopri di più su Image Processing Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!