Transform coding explained

Transform coding is a type of data compression for "natural" data like audio signals or photographic images. The transformation is typically lossless (perfectly reversible) on its own but is used to enable better (more targeted) quantization, which then results in a lower quality copy of the original input (lossy compression).

In transform coding, knowledge of the application is used to choose information to discard, thereby lowering its bandwidth. The remaining information can then be compressed via a variety of methods. When the output is decoded, the result may not be identical to the original input, but is expected to be close enough for the purpose of the application.

Colour television

NTSC

One of the most successful transform encoding system is typically not referred to as such—the example being NTSC color television. After an extensive series of studies in the 1950s, Alda Bedford showed that the human eye has high resolution only for black and white, somewhat less for "mid-range" colors like yellows and greens, and much less for colors on the end of the spectrum, reds and blues.

Using this knowledge allowed RCA to develop a system in which they discarded most of the blue signal after it comes from the camera, keeping most of the green and only some of the red; this is chroma subsampling in the YIQ color space.

The result is a signal with considerably less content, one that would fit within existing 6 MHz black-and-white signals as a phase modulated differential signal. The average TV displays the equivalent of 350 pixels on a line, but the TV signal contains enough information for only about 50 pixels of blue and perhaps 150 of red. This is not apparent to the viewer in most cases, as the eye makes little use of the "missing" information anyway.

PAL and SECAM

The PAL and SECAM systems use nearly identical or very similar methods to transmit colour. In any case both systems are subsampled.

Digital

The term is much more commonly used in digital media and digital signal processing. The most widely used transform coding technique in this regard is the discrete cosine transform (DCT),[1] [2] proposed by Nasir Ahmed in 1972,[3] [4] and presented by Ahmed with T. Natarajan and K. R. Rao in 1974. This DCT, in the context of the family of discrete cosine transforms, is the DCT-II. It is the basis for the common JPEG image compression standard,[5] which examines small blocks of the image and transforms them to the frequency domain for more efficient quantization (lossy) and data compression. In video coding, the H.26x and MPEG standards modify this DCT image compression technique across frames in a motion image using motion compensation, further reducing the size compared to a series of JPEGs.

In audio coding, MPEG audio compression analyzes the transformed data according to a psychoacoustic model that describes the human ear's sensitivity to parts of the signal, similar to the TV model. MP3 uses a hybrid coding algorithm, combining the modified discrete cosine transform (MDCT) and fast Fourier transform (FFT).[6] It was succeeded by Advanced Audio Coding (AAC), which uses a pure MDCT algorithm to significantly improve compression efficiency.[7]

The basic process of digitizing an analog signal is a kind of transform coding that uses sampling in one or more domains as its transform.

See also

Notes and References

  1. Book: Muchahary . D. . Mondal . A. J. . Parmar . R. S. . Borah . A. D. . Majumder . A. . 2015 Fifth International Conference on Communication Systems and Network Technologies . A Simplified Design Approach for Efficient Computation of DCT . 2015 . 483–487 . 10.1109/CSNT.2015.134. 978-1-4799-1797-6 . 16411333 .
  2. Book: Chen . Wai Kai . The Electrical Engineering Handbook . 2004 . . 9780080477480 . 906 .
  3. Ahmed . Nasir . N. Ahmed . How I Came Up With the Discrete Cosine Transform . . January 1991 . 1 . 1 . 4–5 . 10.1016/1051-2004(91)90086-Z .
  4. Stanković . Radomir S. . Astola . Jaakko T. . Reminiscences of the Early Work in DCT: Interview with K.R. Rao . Reprints from the Early Days of Information Sciences . 2012 . 60 . 13 October 2019.
  5. Web site: T.81 – Digital compression and coding of continuous-tone still images – Requirements and guidelines . . September 1992 . 12 July 2019.
  6. Web site: Guckert . John . The Use of FFT and MDCT in MP3 Audio Compression . . Spring 2012 . 14 July 2019.
  7. Web site: MP3 and AAC Explained. Brandenburg. Karlheinz. 1999. live. https://web.archive.org/web/20170213191747/https://graphics.ethz.ch/teaching/mmcom12/slides/mp3_and_aac_brandenburg.pdf. 2017-02-13.