Re: {JPEG}Discrete Cosine Transformation
From: Dave Martindale (davem_at_cs.ubc.ca)
Date: 07/13/04
- Next message: Rajsekar: "Re: Q: Graph encoding"
- Previous message: Kent Paul Dolan: "Re: Can you find anything wrong with this solution to the Halting Problem?"
- In reply to: Gernot Hoffmann: "Re: {JPEG}Discrete Cosine Transformation"
- Next in thread: Brian Stone: "Re: {JPEG}Discrete Cosine Transformation"
- Reply: Brian Stone: "Re: {JPEG}Discrete Cosine Transformation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 13 Jul 2004 06:22:54 +0000 (UTC)
hoffmann@fho-emden.de (Gernot Hoffmann) writes:
>in at least one of the URLs in the other posts the DCT is considered
>as the cosine part of the discrete Fourier series. Thatīs wrong.
>The cosines in the DCT have a phase shift.
>Some illustrations are here:
>http://www.fho-emden.de/~hoffmann/jpeg131200.pdf
>The graphics may help to understand the SHAPES of the functions in the
>function system.
In addition, the discrete Fourier transform assumes that the input
function is periodic in a very simple way: copies of the input image are
effectively tiled out to infinity in all directions, but each tile has
the same orientation. This means there are often abrupt discontinuities
at the tile boundaries, where left edge of one copy meets right edge of
the adjacent tile, and so on. This in turn means there is sometimes
lots of high-frequency content, which is difficult to compress.
The discrete cosine transform assumes a more complex tiling, where the
original image is mirror-imaged across each tile boundary. This means
the input is mathematically an even function, so if you did a Fourier
transform of the double-sized mirrored and reflected image it would have
zero imaginary component to every coefficient. This also makes the DCT
coefficients compress better than FFT coefficients.
Dave
- Next message: Rajsekar: "Re: Q: Graph encoding"
- Previous message: Kent Paul Dolan: "Re: Can you find anything wrong with this solution to the Halting Problem?"
- In reply to: Gernot Hoffmann: "Re: {JPEG}Discrete Cosine Transformation"
- Next in thread: Brian Stone: "Re: {JPEG}Discrete Cosine Transformation"
- Reply: Brian Stone: "Re: {JPEG}Discrete Cosine Transformation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]