can u hhelp me by giving the syntax for making an intensity matrix from the given image...
Mostrar comentarios más antiguos
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......
Respuesta aceptada
Más respuestas (1)
vivek govind
el 23 de Mzo. de 2013
Editada: vivek govind
el 23 de Mzo. de 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
Categorías
Más información sobre Video Formats and Interfaces en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!