Error- Subscript indices must either be real positive integers or logicals.
Afficher commentaires plus anciens
I have a code for dual tree wavelet transform
x = rand(64,64,3);
J = 3;
[Faf, Fsf] = FSfarras;
[af, sf] = dualfilt1;
w = dualtree3D(x, J, Faf, af);
y = idualtree3D(w, J, Fsf, sf);
err = x - y;
max(max(max(abs(err))))
for this i get the answer ,
but if i replace x by my image
x=imread('st.tif'), i get error,
please help
1 commentaire
Walter Roberson
le 28 Avr 2012
Please show the error traceback.
Also please show class(x) after the imread. Not double precision, right, whereas your x = rand() is initializing to double precision. Consider whether you should use im2double(x)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Wavelet Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!