Wavelet Transform energy preservation
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Denoising and Compression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!