算法代写 | Module Code: ELEC5611M01

Module Code: ELEC5611M01

Question 1[Page limit: maximal length of the answer for this question is three pages]
(a) Differentiate between ‘Lossy’ and ‘Lossless’ compression algorithms. Give an example of each.
[6 marks]
(b) Calculate the number of bits per pixel with the following colour spaces:
(i) RGB
[2 mark]
(ii) Y:Cr:Cb 4:4:4
[2 mark]
(iii) Y:Cr:Cb 4:2:2
[2 mark]
(c) Using Huffman coding obtain codewords for 4 symbols with the following probability:
Character Probability
A 1
2
B 1
4
C 1
8
D 1
8
[4 marks]
(d) Pulse Code Modulation (PCM) is the basic analog-to-digital conversion method for audio signals.
Give one enhancement to PCM and explain how it achieves further compression.
[4 marks]

Question 2 [Page limit: maximal length of the answer for this question is three pages]
(a) The five main stages of the JPEG image coding algorithm are shown in the diagram below:
(i) Explain the function of the Image/block preparation stage.
[1 mark]
(ii) How does the Discrete Cosine Transform (DCT) help to achieve compression?
[2 marks]
(iii) How does the quantization stage contribute to compression?
[2 marks]
(iv) What algorithms are used in the entropy coding stage to encode the quantized DC and AC
coefficients of the DCT?
[3 marks]
(b) In relation to 3D video coding, define depth maps and explain how they are used to encode 3D videos.
[2 marks]
(c) This question concerns the DVB-T digital television system.
(i) List three signals that the Programme Stream for a TV station will contain.
[2 marks]
(ii) Describe in outline the stages by which signals from several TV stations are combined into a
Transport Stream, i.e. Multiplex. Do not describe how packetisation works.
[3 marks]
(d) Every DVB packet contains a PID (packet identifier).
(i) Describe briefly what the PID identifies. Where in the packet is it stored?
[1 mark]
(ii) When a TV receiver knows the PID of a packet it needs, how does it get this packet from the
[2 marks]
(iii) Consider a TV receiver which needs to find the sound and vision packets of the TV station it is
displaying. How does it find the PIDs of the Program Allocation Table (PAT), Programme Map
Table (PMT), and the sound and vision packets which it needs?
[2 marks]

E-mail: vipdue@outlook.com  微信号:vipnxx