Re: DCT of an 8x8 matrix?



James Sumners wrote:
I'm trying to apply the DCT as described in [1], but it isn't working well.* Please take a look at my Maple work*** in [2] (it is an HTML export). I would greatly appreciate a pointer as to what I could be doing wrong. As far as I can tell I am implementing the FDCT correctly.

You need to make your term you're summing in the definition of the DCT of course dependent on x and y. Otherwise, you of course only get the constant term. That is, there should be an

A[x,y]

somewhere in your formula.

Hints:

a) This is a maple problem, and off-topic here.
b) I'm pretty sure maple offers a package containing the DCT readily implemented. It's usually not a good idea to re-invent the wheel. Specifically, the maple implementation might be faster and more general than yours.

So long,
Thomas
.