Clear Filters
Clear Filters

2d dual tree dicrete wavelet transform

1 view (last 30 days)
maha lakshmi
maha lakshmi on 4 Feb 2013
i am using dual tree discrete wavelet transform it is showing error as >> w = dualtree2D(x, J, Faf, af); ??? Undefined function or method 'afb2D_A' for input arguments of type 'uint8'.
Error in ==> afb2D at 24 [L, H] = afb2D_A(x, af1, 1);

Answers (1)

Walter Roberson
Walter Roberson on 5 Feb 2013
You need to have installed the toolbox that Youssef mentioned in your other question, http://www.mathworks.co.uk/matlabcentral/answers/61437,
% WAVELET SOFTWARE AT POLYTECHNIC UNIVERSITY, BROOKLYN, NY
% http://taco.poly.edu/WaveletSoftware/
Once you have that installed, use
which -all afb2D_A
If it does not show up then you do not have the toolbox installed correctly.
If it does show up, but the program still does not work, then when you call
w = dualtree2D(x, J, Faf, af)
try changing that to
xdouble = im2double(x);
w = dualtree2D(xdouble, J, Faf, af);

Categories

Find more on Discrete Multiresolution Analysis 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!