View Single Post
Old 1st June 2003, 15:32   #15  |  Link
shlezman
Registered User
 
Join Date: Jan 2003
Posts: 69
@bergi
I took a brief look at your tests I think you might be wrong in constructing the matrixes. You see the inverse transform is not the transpose of the forward transform, but the inverse matrix. anyway the math isnt that hard, I calculated the inverse transform for :

13 13 13 13
17 7 -7 -17
13 -13 -13 13
7 -17 17 -7

and it's :

20 26 20 11
20 11 -20 -26
20 -11 -20 26
20 -26 20 -11

with 10 bits accuracy.

you might want to correct the code and run it with the right matrixes. You can use matlab to calculate the inverse transforms.
shlezman is offline   Reply With Quote