how to read images stored in mat files using variables
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Lakshmi
il 2 Ago 2013
Commentato: Walter Roberson
il 9 Nov 2017
I have a set of images stored in mat file. In the program I have a variable using which i need to the corresponding image file in mat.
For Example :
I = imread('1.jpg');
J = imread('2.jpg');
save imgs.mat
a = 'I';
imshow(a); --- this should get the image I from mat file displayed. But I am getting the error message
Cannot find the specified file: "I"
How to do this ?
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Convert Image Type 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!