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

Thread Subject:
Haar 2d approximation

Subject: Haar 2d approximation

From: Sprinceana

Date: 6 May, 2010 13:16:05

Message: 1 of 2

Hi everyone and thanks for reading my post!

I want to make a haard 2d approximation the last example from this link:

http://www.ceremade.dauphine.fr/~peyre/numerical-tour/tours/introduction_fourier_wavelets/

Exercice 5: (the solution is exo5.m) Perform non-linear approximation with M=n^2/16 wavelet coefficients by keeping M best coefficients.

exo5;


The problem I'm facing is the function perform_wavelet_transf .

I receive those errors:

??? Undefined function or method 'getoptions' for input arguments of type 'struct'.

Error in ==> perform_wavelet_transf at 23
h = getoptions(options, 'filter', '9-7');

Error in ==> haar_aprox at 8
fw = perform_wavelet_transf(f,Jmin,+1);

Every file in folder it's put in path of matlab (the pwd of matlab).


Here is the full project for haar 2d approximation for my grayscale picture which is not lena is picture_grey.jpg:

http://www.mediafire.com/?jmy3dfmetwo

Subject: Haar 2d approximation

From: Sprinceana

Date: 6 May, 2010 14:49:04

Message: 2 of 2

I finally did it!

If everyone needs it here's the full source:

http://www.mediafire.com/?zynztnv2zzm

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us