- Open Access
- Total Downloads : 16
- Authors : Sumita Chandak, K Tejaswi, Renuka Nagpure, Reena Mahe, Nileema Pathak
- Paper ID : IJERTCONV5IS01119
- Volume & Issue : ICIATE – 2017 (Volume 5 – Issue 01)
- Published (First Online): 24-04-2018
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
A Low Complex Algorithm for DVC using Cross-Layer based Rate Control Method
Sumita Chandak
Asst. Professor,
Atharva College of Engg. Malad- W, Mumbai,India
K Tejaswi
Asst. Professor,
Atharva College of Engg. Malad-W, Mumbai, India
Renuka Nagpure
Asst. Professor,
Atharva College of Engg. Malad-W, Mumbai,India
Reena Mahe
Asst. Professor,
Atharva College of Engg. Malad-W, Mumbai,India
Nileema Pathak
Asst. Professor,
Atharva College of Engg. Malad-W, Mumbai,India
Abstract- Distributed Video Coding (DVC) is an emerging video coding technology that utilizes the distributed source coding principles to build very low complex video encoders. Motivated by this idea, for the Wyner-Ziv codec an algorithm is introduced in which after DCT only DC coefficients which contain maximum energy of respective blocks are transmitted. And for the conventional codec JPEG algorithm is modified. The proposed algorithm improves around 12% in PSNR at 38 db and shows significant improvement in data rate.
Keywords- Distributed source coding(DSC), Distributed Video coding, DCT, Quantization, JPEG, Wyner-Ziv coding, LDPC codes, Cross layer.
INTRODUCTION
Compression of multimedia signals has seen very large improvements during the last twenty years. The concepts of predictive coding[9], transform coding[9] and combinations thereof were continually improved. In video coding, as standardized by MPEG or the ITU-T H.26x recommendations, where video is compressed using a hybrid of motion compensation and transform coding by the removal of statistical redundancies inherent in video as well as the reduction of the perceptual irrelevancy that can be tolerated by human visual system. These are characterized by an asymmetry in terms of complexity, typically having one complex encoder and many simpler decoders, which matches broadcast or down-link applications. In a number of emerging applications e.g. related to wireless communication, the complex encoder is disadvantageous in terms of physical size and power consumption.
However, efficient compression can also be achieved by exploiting source statistics at decoder side using concept introduced by Slepian-Wolf and Wyner-Ziv. Thus, DVC (Distributed Video Coding) reverses the complexity balance between encoder and decoder.
FOUNDATION OF DISTRIBUTED VIDEO CODING
DSC builds on the information theoretic discoveries of Slepian and Wolf[1] in 1973 and Wyner and Ziv[2][3] in 1976. The Slepian-Wolf and Wyner-Ziv theoremsprove that correlation between sources can be exploited without having direct access to realizations of the correlated source. Distributed coding exploits the source statistics in the decoder and, hence, the encoder can be very simple, at the expense of a more complex decoder.
-
Slepian-Wolf Theorem for Lossless Distributed coding
Consider two statistically dependent independent identically distributed (i.i.d.) finite-alphabet random sequences X and Y.(Figure 1) with separate conventional entropy encoders and decoders, one can achieve Rx H(X) and Ry H(Y) , where H(X) and H(Y) are the entropies of X and Y, respectively. Interestingly, we can do better with joint decoding (but separate encoding), if we are content with a
Fig. 1. Distributed compression of two statistically dependent random processes X and Y
residual error probability for recovering X and Y that can be made arbitrarily small (but, in general, not zero) for encoding long sequences. In this case, the SlepianWolf theorem establishes the rate region (Figure 2)
Fig. 2. Achievable rate region for distributed compression of two statistically dependent i.i.d. sources X and Y
Compression with decoder side information (Fig. 3) is a special case of the distributed coding problem (Fig.1). The source produces a sequence X with statistics that depend on side information. We are interested in the case where this side information Y is available at the decoder, but not at the encoder. Since RY =H(Y) is achievable for (conventionally) encoding Y, compression with receiver side information corresponds to one of the corners of the rate region in Fig.2 and, hence RX H(X/Y), regardless of the encoders access to side information Y . Practically SlepianWolf coding is a close kin to channel coding.
Fig.3. Compression of a sequence of random symbols X using statistically related side information Y.
We are interested in the distributed case, where Y is only available at the decoder, but not at the encoder.
-
Wyner and Ziv Rate-Distortion Theory for Lossy Compression
Fig. 4. Lossy compression of a sequence X using statistically related side information Y.
Consider X and Y represent samples of two i.i.d. random sequences, modeling source data and side information, respectively. The source values X are encoded without access to the side information Y (Fig 4). The decoder, however, has access to Y, and obtains a reconstruction Xof the source values. A distortion is acceptable.
The WynerZiv rate-distortion function then is the achievable lower bound for the bit-rate for a distortion D. We denote by the rate required if the side information were available at the encoder as well. In general, a Wyner Ziv coder[4][5] can be thought to consist of a quantizer followed by a SlepianWolf encoder in fig 5.
Fig 5.Wyner Ziv Codec
PROPOSED DVC ARCHITECHTURE
Fig 6 Proposed Architecture of DVC
Fig 6 shows the architecture for proposed DVC [10][11][12]. It consists of conventional intra frame codec and Wyner-Ziv codec. Video frames are divided into even frames and odd frames. Odd frames are called keyframes and even frames are called wyner-ziv frames. Color space of video frames are converted from RGB to YCbCr for transmission.
RESULTS AND DISCUSSION
It was observed that transform domain Wyner-Ziv encoding performs better than traditional intraframe coding as well as with DISCOVER DVC.
-
Assumptions of Constraints For Simulation
Various standard and non standard video sequences are used for the simulation e.g. foreman sequence, hall monitor, coast guard sequence etc.
-
Video is divided into odd frames and even frames thus Group of Picture (GOP) is 2. Odd frames are considered as keyframes and even frames are considered as wyner-ziv frames.
-
Convert RGB color space of frames to YCbCr color space.
-
For different combination of diagonals of Cb component matrix and Cr component matrix PSNR is calculated.
-
For DC coefficients and AC coefficients different techniques are used.
-
Amplitude of DC coefficient is high hence DC coefficients are first divided by 8 and then difference coding is applied. For AC coefficients standard quantization matrix is used.
-
Huffman Dictionary and symbols are transmitted with 10 bits per coefficients.
-
-
Comparison with Existing Codec for Foreman Sequence
shows Fig 8 various outputs for various video sequences.
For all sequences at the decoder PSNR is set to 39 db and to achieve this PSNR number of diagonals is calculated. It has
[dB]4241
40
39
38
37
36
35
17%
Data Rate Vs PSNR
55%
discover
been observed that different sequences require different number of diagonals. As the number of diagonals varies data rate varies.
PSNR of proposed DVC and DISCOVER DVC are compared at data rate 110 kbps, improvement of 19 % in PSNR is observed.
34
P 33
S 32
N 3
R 30
29
28
27
DVC H.264/AVC
H.263+
proposed DVC
0 200 400 600
Data rate Kbps
Fig 7 Comparison with existing codec
CONCLUSION
Here two simple but novel algorithms are introduced for the transmission of video on wireless channel.
The algorithm for Wyner Ziv encoder encodes individual frame, and transmits only DC component per block of Y (luminance) component. Also the proposed algorithm transmits fix number of data without feedback hence require less time. Thus the wyner ziv encoder becomes less complex.
The algorithm for conventional codec is modified JPEG
Output of proposed DVC is compared with DISCOVER DVC, H.264/AVC and H.263+intra codec in the Fig 7. It has been observed that for the range of 30 to 39 dB PSNR proposed DVC gives better performance. Data rates of proposed DVC and DISCOVER DVC are compared at 37 db PSNR, improvement of 60 % in data rate is observed.
-
Results for Targeted PSNR at 39 db
algorithm in which instead of sending all the data only optimum data is transmitted.
The simulation results shows improvements, at least 10% in PSNR at data rate 110 kbps with respect to DISCOVER and shows significant improvement in data rate from 50kbps to 300 kbps.
For various video sequences number of zigzag coefficients (diagonals) to be transmitted are calculated, for 37db PSNR Indoor sequence required 4 diagonals to achieve 38.2 dB
d 20
i
a 10
number of diagonals
11
8 10
PSNR at 51.5 kbps. Coast guard sequence required 3 diagonals to achieve 39.2 dB PSNR at 38.53. Hall monitor, outdoor & foreman sequences required 5 diagonals to achieve PSNR 37.09, 38.3 & 37.36 dB at 95.55,57 & 104.4 kbps
g
o
n 0
a l
kkbbppss 400 348.64 Data rate
d 312.7
a 200 175.5
t 38.53 96.55104.58
a
0
r
a t e
[dB] 423
PSNR
5 6
41.4
respectively. Endoscopy sequence requires 9 diagonals to achieve 37.06 dB PSNR at 228 kbps.
For various video sequence number of zigzag coefficients (diagonals) to be transmitted are calculated, for 39 dB PSNR Indoor sequence required 5 diagonals to achieve 41.4 dB PSNR at 96.55 kbps. Coast guard sequence required 3 diagonals to achieve 39.2 dB PSNR at 38.53 kbps.Hall monitor seq. required 8 diagonals to achieve 39.49 dB PSNR at 175.5 kbps.Outdoor sequence required 6 diagonals to achieve 39.4 dB PSNR at 104.58 kbps.Foreman sequence
41 39.88
required 11 diagonals to achieve 39.12 dB PSNR at 348.64
40
P 39
S 38
N 37
R
39.12
39.49
39.4
38.55
kbps
Thus for various video sequences, calculating optimum number of diagonals to achieve a particular PSNR, thus data rate can be controlled.
FUTURE SCOPE
The implementation given in this project is for GOP
=2, can be further implement for GOP=4, 8. The implemented Wyner Ziv codec can be cascaded with various intraframe codec such as H.263+ and H.264/AVC.
It can be modified for live streaming applications like video streaming, video chat etc. The implementation code was
Fig 8 various results for targeted PSNR 39 dB
developed in MATLAB which does not have facility to implement and demonstrate live streaming of videos. Also MATLAB is a high end programming language which requires a high speed processor. Converting these codes into Java executables will help this model run on a cell phone or devices which has low end processors.
REFERENCES
-
SLEPIAN D., WOLF J.K.: Noiseless coding of correlated information sources, IEEE Trans. Inf. Theory, 1973, IT-19,pp. 471480
-
WYNER A.D., ZIV J.: The ratedistortion function for source coding with side information at the decoder, IEEE Trans. Inf. Theory, 1976,
IT- 22, pp. 110
-
AARON A., RANE S., SETTON E., GIROD B.: Transform-domain WynerZiv codec for video, Proc. SPIE Int. Soc. Opt. Eng., 2004, 5308
-
GIROD B., AARON A., RANE S., REBOLLO-MONEDERO D.:Distributed video coding, Proc. IEEE (Special Issue on Video Coding Deliv.), 2005, 93, (1), pp. 7183 (Invited paper)
-
VARODAYAN D., AARON A., GIROD B.: Rate-adaptive codes for distributed source coding. Proc. EURASIP Signal Processing,
November 2006, (86), pp. 31233130
-
Gallager, R. G. 1963. Low-Density Parity-Check Codes. MIT Press, Cambridge.
-
Mackay, D. J. C. 1999. Good Error Correcting Codes Abased on Very Sparse Matrices. IEEE Transactions on Information Theory. 2: 399 431.
-
http: //www. discoverdvc. org/
-
David Salomon, Data compression the complete reference ,fourth edition, book published in 2005 by Springer International, pp 337,653- 718
-
Sumita Rathi, Rajesh Bansode, Shruti Patil, Study of Turbo code and LDPC code for Distributed video coding, International Conference, 25-26 Feb. 2011.
-
Sumita Rathi , Rajesh Bansode, Shruti Patil , Study of Turbo code and LDPC code for Distibuted video coding, in Proceedings ICWET-2011,
TCET, Mumbai, India, Feb. 2011
-
Sumita Rathi, Kamal Shah and Vinit Dongre, A Modified Low Complex Algorithm for Distributed Video Coding, International Journal of Research and Reviews in Computer Science (IJRRCS) Vol. 2, No. 6, pp. 1348-1352, December 2012.