Wavelet Transform energy preservation
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
Réponses (0)
Voir également
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!