Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

2d dual tree dicrete wavelet transform

Asked by 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);

0 Comments

maha lakshmi

Products

No products are associated with this question.

1 Answer

Answer by 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);

0 Comments

Walter Roberson

Contact us