www.GetXFactor.com

Leading Technology, Science,
Agriculture News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

wavelet compression function in Matlab?
   Science and Technology news... Forum Index -> Compression Forum  
View previous topic :: View next topic  
Author Message
Yan Yu
Guest






PostPosted: Thu Sep 04, 2003 10:15 pm    Post subject: wavelet compression function in Matlab? Reply with quote

Hello,
I am looking for a wavelet compression function in Matlab.
From the help on "wdencmp" in Matlab ( i copied part of the help on
wdencmp below), it seems the right function i am looking for.. However, from
the output it returned, output XC has the same size as input X. I was
confused, if it is compression, isnot XC supposed to be smaller in size than
input X? maybe I miss something here??

"[XC,CXC,LXC,PERF0,PERFL2] =
WDENCMP('gbl',X,'wname',N,THR,SORH,KEEPAPP)
returns a de-noised or compressed version XC of input
signal X (1-D or 2-D) obtained by wavelet coefficients
thresholding using global positive threshold THR."

Any info is greatly appreciated!
looking forward to your reply:)
yan
Back to top
Kevin Easton
Guest






PostPosted: Fri Sep 05, 2003 7:24 am    Post subject: Re: wavelet compression function in Matlab? Reply with quote

Yan Yu <yanyu_1997@yahoo.com> wrote:
[quote]Hello,
I am looking for a wavelet compression function in Matlab.
From the help on "wdencmp" in Matlab ( i copied part of the help on
wdencmp below), it seems the right function i am looking for.. However, from
the output it returned, output XC has the same size as input X. I was
confused, if it is compression, isnot XC supposed to be smaller in size than
input X? maybe I miss something here??

"[XC,CXC,LXC,PERF0,PERFL2] =
WDENCMP('gbl',X,'wname',N,THR,SORH,KEEPAPP)
returns a de-noised or compressed version XC of input
signal X (1-D or 2-D) obtained by wavelet coefficients
thresholding using global positive threshold THR."
[/quote]
"Compression" has another meaning in signal processing. It refers to a
particular non-linear process that reduces higher amplitude components
more than lower amplitude components. For example, the transform
function of A-law compression is:

1 + log A.|x|
g(x) = --------------- sgn(x)
1 + log A

- Kevin.
Back to top
Thomas Richter
Guest






PostPosted: Fri Sep 05, 2003 1:07 pm    Post subject: Re: wavelet compression function in Matlab? Reply with quote

Hi,

[quote]I am looking for a wavelet compression function in Matlab.
From the help on "wdencmp" in Matlab ( i copied part of the help on
wdencmp below), it seems the right function i am looking for.. However, from
the output it returned, output XC has the same size as input X. I was
confused, if it is compression, isnot XC supposed to be smaller in size than
input X? maybe I miss something here??
[/quote]
Even better, if you just count the number of bits required to represent
the wavelet transformed data exactly again, as to allow to reconstruct the
original one by one, you would even find that the wavelet transformer output
requires *more* bits than the original.

Now, how does that work?

The reason why wavelets are a good candidate for compression is that this
transformation is suitable for removing redundance in the input data that
can then be conveniently removed by standard compression techniques (e.g.
arithmetic coding).

Greetings,
Thomas
Back to top
Yan Yu
Guest






PostPosted: Sat Sep 06, 2003 12:47 am    Post subject: Re: wavelet compression function in Matlab? Reply with quote

Thanks a lot for the explanation!
so in Matlab, there is no wavelet compression function, by "compression"
in the sense that it reduces the coding size?
thanks,
yan


Thomas Richter wrote:
[quote]Hi,


I am looking for a wavelet compression function in Matlab.
From the help on "wdencmp" in Matlab ( i copied part of the help on
wdencmp below), it seems the right function i am looking for.. However, from
the output it returned, output XC has the same size as input X. I was
confused, if it is compression, isnot XC supposed to be smaller in size than
input X? maybe I miss something here??


Even better, if you just count the number of bits required to represent
the wavelet transformed data exactly again, as to allow to reconstruct the
original one by one, you would even find that the wavelet transformer output
requires *more* bits than the original.

Now, how does that work?

The reason why wavelets are a good candidate for compression is that this
transformation is suitable for removing redundance in the input data that
can then be conveniently removed by standard compression techniques (e.g.
arithmetic coding).

Greetings,
Thomas[/quote]
Back to top
Thomas Richter
Guest






PostPosted: Mon Sep 08, 2003 1:35 pm    Post subject: Re: wavelet compression function in Matlab? Reply with quote

Hi,

[quote]Thanks a lot for the explanation!
so in Matlab, there is no wavelet compression function, by "compression"
in the sense that it reduces the coding size?
[/quote]
I don>t know Matlab good enough to answer that question, sorry. But you
could check whether MatLab supports any kind of "entropy coding" function.
If not, then the answer is "no". If yes, then combine that with wavelet
transformation and you already have a simple coder.

Greetings,
Thomas
Back to top
Display posts from previous:   
   Science and Technology news... Forum Index -> Compression Forum  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum