Effacer les filtres
Effacer les filtres

storing an image intensity value as an array

6 vues (au cours des 30 derniers jours)
Durga
Durga le 19 Oct 2014
Commenté : Durga le 19 Oct 2014
how to store intensity values of an image into a matrix via matlab code.i have tried a code which prints the values of intensities using:
for i=1:1.0:455
for j=1:1.0:306
val=impixel(img2,i,j);
disp(val);
end
end
**Image array is already the intensity matrix..but how can i store it into an array which is user defined variable

Réponse acceptée

Rick Rosson
Rick Rosson le 19 Oct 2014
val = img2(:);
  1 commentaire
Durga
Durga le 19 Oct 2014
Thank u Sir for helping.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by