Sunteți pe pagina 1din 6

IPASJ International Journal of Electronics & Communication (IIJEC)

Web Site: http://www.ipasj.org/IIJEC/IIJEC.htm


A Publisher for Research Motivatin........ Email: editoriijec@ipasj.org
Volume 2, Issue 6, June 2014 ISSN 2321-5984


Volume 2, Issue 6, June 2014 Page 1

ABSTRACT
The main objective of this paper is to implement simple methodology used in video coding without affecting the visual quality.
The desired video performances depend on applications requirements, in terms of quality, disks capacity and bandwidth. The
data quantity is very large for the digital video and the memory of the storage devices and the bandwidth of the transmission
channel are not infinite, so reducing the amount of data needed to reproduce video saves storage space, increases access speed
and is the only way to achieve motion video on digital computers. In this paper video Compression using Accordion Discrete
Cosine Transform (ACC-DCT) method is performed and analyzed. Video compression technologies have become an integral
part of the way we create, communicate and consume visual information .The main objective of this paper is apply simple
methodology in video coding used for video applications to reduce the amount of video data for stori ng or transmission
purposes without affecting the visual quality.

1. INTRODUCTION
Several video compression algorithms had been developed to reduce the data quantity and provide the acceptable
quality as possible as they can. This tutorial starts with an explanation of the basic concepts of video compression
algorithms and then introduces two international standards known as MPEG-1 and MPEG-2.
The Moving Picture Experts Group (MPEG) method is used to compress video. In principle, a motion picture is a rapid
sequence of a set of frames in which each frame is a picture. In other words, a frame is a spatial combination of pixels,
and a video is a temporal combination of frames that are sent one after another. Compressing video, then,
means spatially compressing each frame and temporally compressing a set of frames.

Spatial compression
The spatial compression of each frame is done with JPEG, or a modification of it. Each frame is a picture that can be
independently compressed.

Temporal compression
In temporal compression, redundant frames are removed. When we watch television, for example, we receive 30 frames
per second. However, most of the consecutive frames are almost the same. For example, in a static scene in which
someone is talking, most frames are the same except for the segment around the speakers lips, which changes from
one frame to the next.

Fig 1: MPEG frames
VIDEO COMPRESSION USING ACCORDIAN
DISCRETE COSINE TRANSFORM METHOD

Saif Ahmad
1
, Mohd. Maroof Siddiqui
2


1,2
Department of Electronics and Communication,
Integral University
IPASJ International Journal of Electronics & Communication (IIJEC)
Web Site: http://www.ipasj.org/IIJEC/IIJEC.htm
A Publisher for Research Motivatin........ Email: editoriijec@ipasj.org
Volume 2, Issue 6, June 2014 ISSN 2321-5984


Volume 2, Issue 6, June 2014 Page 2

2. Complete Construction Details of the Model


3. Three Dimensional Accordian Discrete Cosine Transform
We apply the DCT to reduce the spatial redundancy and achieve compression in JPEG. A straightforward idea is to
expand the 2-D DCT to the 3-D DCT for video sequences to remove the temporal redundancy.

4. Algorithm
STEP-1:Taking group of pictures from video frames (figure a) .GOP=10

Fig 2 a) GOP from 1 to 10 from video viptraffic.avi

STEP- 2: Construction of accordion image: From each GOP we combine the picture to make a single accordian image
prior to compression.An example of how to make accordian image/matrix is given in figure 2 a .For simplicity we have
taken GOP =3 and matrix of 3X3.

Fig2 b) GOP from 11 to 20 from video viptraffic .avi
IPASJ International Journal of Electronics & Communication (IIJEC)
Web Site: http://www.ipasj.org/IIJEC/IIJEC.htm
A Publisher for Research Motivatin........ Email: editoriijec@ipasj.org
Volume 2, Issue 6, June 2014 ISSN 2321-5984


Volume 2, Issue 6, June 2014 Page 3

Similar to fig.2 b we take 10 GOP at each iteration as shown in figure2 b at next iteration GOP from 11 to 20 are
taken.
TABLE 1.1








Fig 3: Accordion Representation Example

Similar to example of fig 3we have constructed accordion image of GOP =10 .Where each image in a group was of size
120x160x3 after getting the accordion image we get an image 1200x160x3.One of the accordion image is shown in
figure d. This accordion image is obtained from GOP 11 to 20 (figure 4).

Fig 4: Accordian Image obtained from GOP 11 to 20

STEP- 3:Compresion and Decoding: After getting the accordion image we follow the video compression for each
GOP. Table 1.1 shows the results of video compression for each iteration.
Average PSNR of Viptraffic =33.7563
NET Compression of Viptraffic =Original file/Compressed file =9.9415

Step 4: Decompression and Decoding: After compression we can perform decompression of video to compare the
mean square error. Figure e shows the accordion image obtained after reconstruction from compressed video.

Plot
GP OF PICS C.R. PSNR
1 to 10 1.56 Bits / pixel 37.187
11 to 20 1.9292 Bits / pixel 35.2606
21 to 30 2.8453 Bits / pixel 33.0478
31 to 40 3.1347 Bits / pixel 32.9985
41 to 50 3.1809 Bits / pixel 34.8062
IPASJ International Journal of Electronics & Communication (IIJEC)
Web Site: http://www.ipasj.org/IIJEC/IIJEC.htm
A Publisher for Research Motivatin........ Email: editoriijec@ipasj.org
Volume 2, Issue 6, June 2014 ISSN 2321-5984


Volume 2, Issue 6, June 2014 Page 4


Fig5: Original Accordian image and reconstructe image

After decompression we can see figure 5 (a and b).In both images we can see that there is very slight difference in color
and contrast of both images.There is no large degradation in reconstructed video.
Step 5:Reconstruction of Original image from accordion image: In thefigure 5 (a and b) we have shown the image
obtained after reconstruction .We can compare both video frames quality,color contrast and losses.
Similar to ACC-DCT compression we performed only DCT compression on same videos to analyze our result in
reference to compression ratio and PSNR. We obtained following results for DCT based video compression

Fig 6: Original video before compression


Fig 7: Video obtained after decompression/decoding
PLOT (DCT)
0 20 40 60 80 100 120
6
7
8
9
10
compression ratio vs Frame
c
o
m
p
r
e
s
s
i
o
n

r
a
t
i
o


0 20 40 60 80 100 120
30
31
32
33
PSNR vs Frame
P
S
N
R

PLOT(ACC-DCT)
IPASJ International Journal of Electronics & Communication (IIJEC)
Web Site: http://www.ipasj.org/IIJEC/IIJEC.htm
A Publisher for Research Motivatin........ Email: editoriijec@ipasj.org
Volume 2, Issue 6, June 2014 ISSN 2321-5984


Volume 2, Issue 6, June 2014 Page 5

0 2 4 6 8 10 12
5
10
15
20
compression ratio vs Frame
c
o
m
p
r
e
s
s
io
n

r
a
t
io


0 2 4 6 8 10 12
30
32
34
36
38
PSNR vs Frame
P
S
N
R


However compression rate is not only the main issue we should also care about error in original and reconstructed
video.These errors cannot be removed because of losses during quantization and DCT coefficient approximation.But
they can be reduced to meet the human eye perception.From the plot we can observe that using ACC-DCT based
compression we are getting higher PSNR in comparision to DCT compression.Hence these technique is better than
DCT video compression in both point of consideration

5. Conclusion
In this paper, we productively extended and implement a video compression using Accordian Discrete cosine
algorithm on MATLAB and provided experimental results to show that our technique is better than the existing
methods. We not only improved the coding competence in the proposed encoding algorithm but also it reduces
complexity. When SVC coding scenario meets these circumstances, proposed method should be useful. With the
apparent gains in compression efficiency we foresee that the proposed method could open new horizons in video
compression domain; it strongly exploits temporal being without a job with the minimum of processing complexity
which facilitates its completion in video embedded systems. It presents some useful functions and features which can be
exploited in some domains as video surveillance.

REFERENCES
[1] Le Gall D., MPEG: A video compression standard for multimedia applications, Commun ACM 34 (1991), 46
58.
[2] Richardson, Lain E. G., Video Codec Design: Developing Image and Video Compression Systems, John Wiley
& Sons Inc, 2002.
[3] Shi Yun Q. and Sun Huifang, Image and Video Compression for Multimedia Engineering: Fundamentals,
Algorithms, and Standards, CRC press, 2000.
[4] Jung H., Park J., Yoo J., and Ye J.C., Radial k-t FOCUSS for high-resolution cardiac cine MRI, Magn Reson Med
63 (2010), 6878.
[5] Wand Yao, Ostermann Jorn and Zhang Ya-Qin, Video Processing and Communications, Prentice Hall, 2007.
[6] Sikora T., MPEG-4 very low bit rate video, IEEE International Symposium on Circuits and Systems, ISCAS 97,
vol. 2, pp. 1440-1443, 1997.
[7] G Barry, Haskell, Puri Atul and N. Netravali Arun, Digital Video : An Introduction to MPEG-2, Boston :
Kluwer Academic, 1999.
[8] Girod B., Aaron A., Rane S., and Rebollo-Monedero D., Distributed video coding, Proc IEEE 93 (2005), 7183.
[9] Jung H., Sung K., Nayak K.S., Kim E.Y., and Ye J.C., k-t FOCUSS: A general compressed sensing framework for
high resolution dynamic MRI, Magn Reson Med 61 (2009), 103116.
[10] Koenen R., Editor, Overview of the MPEG-4 Standard, ISO/IEC JTC/SC29/WG21, MPEG-99-N2925, March
1999, Seoul, South Korea.
[11] Li Ze-Nian and Drew M. S., Fundamentals of Multimedia, Prentice Hall, 2004.
[12] Liang Z., and Lauterbur P., An efficient method for dynamic magnetic resonance imaging, IEEE Trans Med
Imaging 13 (1994), 677686.
[13] Ninomiya Y., Ohtsuka Y., Izumi Y., Gohshi S., and Iwadate Y., An HDTV broadcasting system utilizing a
bandwidth compression technique-MUSE, IEEE Trans Broadcasting 33 (1987), 130160.
IPASJ International Journal of Electronics & Communication (IIJEC)
Web Site: http://www.ipasj.org/IIJEC/IIJEC.htm
A Publisher for Research Motivatin........ Email: editoriijec@ipasj.org
Volume 2, Issue 6, June 2014 ISSN 2321-5984


Volume 2, Issue 6, June 2014 Page 6

[14] Richardson,Iain E. G., H.264 and MPEG-4 Video Compression, Video Coding for Next-generation Multimedia,
the Robert Gordon University, Aberdeen, UK, 2003.
[15] Sullivan G. and Wiegand T., Video Compression - From Concepts to theH.264/AVC Standard, Proceedings of
the IEEE, Special Issue on Advances in Video Coding and Delivery, December 2004.
[16] Sikora T., MPEG-4 video standard verification model, IEEE Trans. Circuits Syst. Video Technol., vol. 7, no. 1,
pp. 19-31, Feb 1997.
[17] Schwarz H., and Wiegand T., The emerging JVT/H. 26L video coding standard, Proc IBC, 2002.
[18] Wiegand T., Sullivan G. J., Bjontegaard G., and Luthra A., Overview of the H.264/AVC video coding standard,
IEEE Trans. on Circuits and systems for video Technology, vol. 13, no. 7, pp. 560-576, July 2003.

S-ar putea să vă placă și