Wavelet Transform energy preservation

1 vue (au cours des 30 derniers jours)
Brian
Brian le 21 Nov 2014
Commenté : Brian le 25 Nov 2014
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 commentaires
Brian
Brian le 24 Nov 2014
Anyone with experience computing energy of an image?
Brian
Brian le 25 Nov 2014
Is this an impossible question to answer?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Denoising and Compression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by