Error- Subscript indices must either be real positive integers or logicals.
Show older comments
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 Comment
Walter Roberson
on 28 Apr 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)
Accepted Answer
More Answers (0)
Categories
Find more on Wavelet Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!