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

Wavelet decomposition 2D help with software

Asked by Bran on 4 Feb 2013

I am wondering what is the best way to use the wavelet-2D decomposition package? I am trying to compress some MRI images and wondered how I know which wavelet to choose and what value of 'n' to select etc. Anyone familiar with this package who could help me with this software?

Also I was wondering if I could use soft thresholding instead of hard thresholding


Walter Roberson on 5 Feb 2013

It is not clear what this question has to do with compressed sensing?

Bran on 5 Feb 2013

Sorry it is linked to compression. images are compressed using this software as they can be represented sparsely in the wavelet domain using some kind of thresholding. :) many thanks for your comment



1 Answer

Answer by Wayne King on 4 Feb 2013
Accepted answer

In terms of soft vs. hard thresholding. Only hard thresholding would actually buy you something in terms of compression because you would end up with a large number of zeros. For soft thresholding, you shrink wavelet coefficients toward zero but you don't get rid of them, so ultimately you don't save yourself memory that way.

In terms of which wavelets to use, for image processing generally the biorthgonal wavelets 'bior#.#' are favored in practice for image processing.


Bran on 5 Feb 2013

Thanks so much Wayne. I also would like to use a total variation constraint in the wavelet domain for some of my 3D information. Are you familiar with how to do this using this software?

Bran on 22 Mar 2013

Hey Wayne I was wondering if I could ask you a quick question. How would one decide on which bior to use ie bior1.3 and bior 1.5 etc??

Wayne King

Contact us