ECE4007 Information Theory and Coding: DR - Sangeetha R.G
ECE4007 Information Theory and Coding: DR - Sangeetha R.G
Message Encoder
e.g. English symbols e.g. English to 0,1 sequence
Information
Coding
Source
Communication
Channel
Destination Decoding
Source Channel
Data
Encoding Encoding
Channel
Source Channel
User
Decoding Decoding
Source Coding:
Definition: A conversion of the output of a
discrete memory less source (DMS) into a
sequence of binary symbols i.e. binary code word,
is called Source Coding.
The device that performs this conversion is called
the Source Encoder.
Objective of Source Coding: An objective of
source coding is to minimize the average bit rate
required for representation of the source by
reducing the redundancy of the information source
Types of Code
• Fixed Length code
• Variable length code
• suppose that we wish to represent the 26 letters in the English
alphabets using bits.
We observe that 25 = 32 > 26. Hence, each of the letters can be
uniquely represented using 5 bits.
• Each letter has a corresponding 5 bit long codeword.
1. Fixed – Length Codes:
A fixed – length code is one whose code word length is fixed. Code 1
and Code 2 of above table are fixed – length code words with
length
2. Variable – Length Codes:
A variable – length code is one whose
code word length is not fixed. All
codes of above table except Code
1 and Code 2 are variable – length
codes.
A distinct code is uniquely decodable if the original source sequence
can be reconstructed perfectly from the encoded binary sequence. A
sufficient condition to ensure that a code is uniquely decodable is that
no code word is a prefix of another.
Entropy Coding
The design of a variable – length code
such that its average code word length
approaches the entropy of DMS is often
referred to as Entropy Coding.