Wavelet Transform energy preservation

1 次查看(过去 30 天)
Brian
Brian 2014-11-21
评论: Brian 2014-11-25
Some brief understanding of this topic is required as I describe my problem. In Wavelet image compression, one has two main components: an image and a Wavelet matrix. An important property of wavelets is that its inverse is also its transpose. Here are the matrices we're using * I=('kochflake.png'); * T1 is a 256x256 matrix whose inverse is its transpose * W=T1*double(I)*transpose(T1); When we compute W, we are not supposed to lose or gain energy. Here is our problem. Images are often of type uint8, and when computing many (large) numbers, the computer asks that the data be converted to double. I have tested these two different types and found that they have different energies.
*energy is defined as the sum of the squared elements of a matrix.
For image compression, this understanding is key in reducing data space required by the computer. So we come down to two unique problems:
#1 Which sumsqr algorithm is the correct one? uint8 method or double? #2 Why, when we run the program, do we get different energies for I and W?
  2 个评论
Brian
Brian 2014-11-24
Anyone with experience computing energy of an image?
Brian
Brian 2014-11-25
Is this an impossible question to answer?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Denoising and Compression 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by