Exercise 2.1: Coding with and without Loss

From LNTwww
Revision as of 17:42, 30 June 2021 by Guenter (talk | contribs)

Keywords for "coding"

Three types of coding methods are distinguished, namely:


All these basic coding methods have in common that the source signal   $q(t)$  is represented by a code symbol sequence  $\langle c_\nu \rangle $ .  With a digital source  (with or without memory)  the source signal  $q(t)$  can also be described by the source symbol sequence  $\langle q_\nu \rangle $ .

At the receiver, the sink symbol sequence  $\langle v_\nu \rangle $  or the sink signal  $v(t)$  is obtained from the regenerated symbol sequence  $\langle r_\nu \rangle $  gewonnen.  This is called decoding, sometimes also signal reconstruktion.

All the terms listed on the right belong to one of the three disciplines listed above, between which there is a certain affinity, but which are quite different in terms of objective and mathematical handling.

A further distinguishing feature in coded transmission is:

  • One speaks of a lossless coding procedure, if after decoding  $\langle v_\nu \rangle = \langle q_\nu \rangle$  applies.  Otherwise, the coding procedure is lossy.
  • The prerequisite for this classification is error-free transmission:   $\langle r_\nu \rangle = \langle c_\nu \rangle$.





Hints:


Questions

1

In which coding procedures is redundancy added?

Procedure for line coding,
Channel coding method,
Source coding method.

2

Which coding methods can be lossy?

Line coding method,
Channel coding method,
Source coding method.

3

How many of the terms given in the diagram are counted as line coding?

$N_\text{LC} \ = \ $

4

How many of the terms in the graph are counted as channel coding?

$N_\text{KC}\ = \ $

5

How many of the terms given in the graph are counted as lossless source coding?

$N_\text{QC (lossless)} \ = \ $

6

Which statements apply to the lossy source coding methods?

AMR and EFR are used in cellular mobile radio.
GIF, JPG and MP3 are compression methods for pictures.
MP3 is used to compress audio files.


Solution

(1)  Proposed solutions 1 and 2 are correct:

  • In line coding, redundancy is added to adapt the transmitted signal to the spectral characteristics of the channel.
  • With channel coding, redundancy is also added specifically, in this case to be able to use it at the receiver for error detection and/or error correction.
  • The aim of source coding, on the other hand, is to reduce redundancy as much as possible in order to be able to store or transmit the information of the message source as efficiently as possible.


(2)  Correct answer is 3:

  • In line and channel coding, lossy techniques would be counterproductive.
  • In contrast, source coding for analogue input signals (audio, video, etc.) is lossy per se.


(3)  The following are line coding methods

  • the 4B3T codes (there are several variants of this, all of which work in blocks),
  • the AMI code (symbolic:   At each coding step, a binary character is read in and a ternary character is output).


Consequently, $N_\text{LC}\hspace{0.15cm}\underline{ = 2}$.


(4)  In the book "Channel Coding" are dealt with:

  • the Hamming codes,
  • the Reed-Solomon codes,
  • the convolutional codes,
  • the turbo codes.


The correct result is accordingly $N_\text{KC}\hspace{0.15cm}\underline{ = 4}$.


(5)  In lossless source coding, the receiver can completely reconstruct the message of the source if no transmission error has occurred.
Lossless source coding schemes include

  • the Huffman code,
  • the different variants of the Lempel-Ziv algorithm,
  • the so-called run-length codes,
  • the well-known compression programme "Winzip".


All these procedures can only be used with digital input   ⇒   $N_\text{QC (verlustlos)}\hspace{0.15cm}\underline{ = 4}$.


(6)  Statements 1 and 3 are correct:

  • Only GIF and JPG are applied to pictures.  MP3 has been the most widely used audio compression programme for years.
  • The AMR codec and the EFR codec are used for GSM and UMTS.