Error- Subscript indices must either be real positive integers or logicals.
Mostrar comentarios más antiguos
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 comentario
Walter Roberson
el 28 de Abr. de 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)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Wavelet Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!