I wish to use DCT algorithm to compress jpeg image.But, i can't able to understand how they got the values in the matrix2 for corresponding values above 200 in matrix1.

Thanks in advance.

Hi dinesh, first you have to explain your problem in a clear manner.


The document is in error, the second array does not derive from the first. I suspect it's a typo (many of them).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.