Undefined function or variable 'X'
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I want to make a fusion of two images using this example:
but when i write
load('D:\pix.jpg');X1 = X;
then i receive the message :
Undefined function or variable 'X'.
What can I do to fix it? And what are X1 = X; and X2 = X;,can you explain me, pls?
0 Commenti
Risposte (1)
Thorsten
il 16 Nov 2015
Modificato: Thorsten
il 16 Nov 2015
In the example, a variable X is stored in mask.mat and bust.mat, that are assinged to X1 and X2, resp., after loading. If you don't have these file, the code does not work.
You need to modify it such hat two images are stored in X1 an X2.
To read an image, use
X1 = imread('D:\pix.jpg');
15 Commenti
Vedere anche
Categorie
Scopri di più su Image Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!