A Novel Method of CCTV Video Compression using Down Sampling

Download Full-Text PDF Cite this Publication

Text Only Version

A Novel Method of CCTV Video Compression using Down Sampling

Anirban Patra

Asst. Professor; Dept of ECE JIS College of Engineering Kalyani; West Bengal

Koushik Gain

Student; Dept. of ECE; JIS College of Engineering Kalyani; Nadia; West Bengal

Laxman Chandra Rana

Student; Dept. of ECE; JIS College of Engineering Kalyani; Nadia; West Bengal

Kapataksha Biswas

Student; Dept. of ECE; JIS College of Engineering Kalyani; Nadia; West Bengal

Abstract CCTV monitoring is an important application in the area of video processing as it is suitable for proper monitoring of surveillance. One of the main drawbacks of this process is that it consumes a lot of storage space. This paper presents a novel method for compressing CCTV video using down sampling. Down sampling is a lossy process and widely used in video compression. The selected CCTV footage video is first divided into frames and followed by down sampling applied on each frame. So, size of each frame has been reduced. The compressed CCTV footage video is communicated over a long distance. However, to a get a reasonably good output, high compression ratio of down sampling should be avoided. We have proved that CCTV video can be compressed a large size video to a smaller one. This method is worked in spatial domain and it is not a time- consuming process. At the receiving end, up sampling is applied to reconstruct the video again. We have calculated PSNR and correlation coefficient values in each frame to measure the quality of the reconstructed images..

Keywords: CCTV Video, Video Compression, Down sampling, Compression Ratio

1. INTRODUCTION

Down sampling of video is a editing process incorporated in order to reduce the size of a video. This is helps to reduce the storage size of videos. Down sampling is the reduction in pixel size resolution while keeping the same two-dimensional (2D) representation. It is typically used to reduce the storage space for transmission of video. A lot of methods have been used for video as well as image compression for last few decades. Balakrishnanet. al. compressed the images based on block truncation coding. In their research paper, they have first converted RGB color image into HSV planes.[1] Sahnoun proposed image compression method based on evidence theory and k-Nearest Neighbor algorithm. However main drawback of this compression technique was high information loss [2] To modify the quality of the output image, Fourier Transform and Huffman Coding was used for modification the previous technique. In both method, visual quality of the original image was poor.[3] Mamun used integer wavelet regression by increasing temporal

correlation, which consequently improves the compression gain. [4] Sahnoun discussed an image compression technique using discrete wavelet transform for noise removal to compress images. [5] Susilohas proposed only hardware-based solutions in this lossless compression technique of X-Sat images. [6] Memane used Discrete Wavelet Transform in their image compression work and performance of different wavelets for image compression have been analyzed.[7] Hacihalilgluhas used conventional Discrete Cosine Transform system for lossless image compression. [8] A Patra proposed a research paper on satellite image compression based on sinusoidal grating.

  1. He also worked on medical and normal digital images and networking too. [10-20]

    In our proposed method, we have selected CCTV video of a particular area. Selected CCTV footage video is first divided into multiple images. Each image (frame) is down sampled by two inthe next process. As a result, size (both pixel resolution and storage) of each frame has been reduced. The series of reduces frames are transmitted to a long distance. At the receiving end, the reduced CCTV footage video frames is joined together to reconstruct the video. As a result, the size (pixel resolution) of the reconstructed CCTV footage video has been reduced. At the receiving end, the transmitted video is again divided into frames. Process of down sampling is displayed in the Figure 1.

    1(a) 1(b)

    Figure 1 (a b) Main Image ;Down sampled Image

    Figure 1(a) represents a 5 x 5-pixel size of image whereas figure 1(b) represents a 3 x 3-pixel size of image which is received by down sampling by 2 of image 1(a). It is down sampled by 2. Red pixels of the above image are eliminated whereas green pixels are selected.

    1. METHODOLOGY

      In the methodology part, we have explained the entire process.

      1. Division of video into frames

      2. Application of down sampling in each frame

      3. Transmission of down sampled frames

      4. Reconstruction of down sampled frames by up sampling

      5. Addition of up sampled frames to reconstruct video

      6. Calculation of PSNR, correlation coefficient

      Figure 2 CCTV footage Video Frames

      Let us assume selected video is represented as g (, ) . The video is divided into frames numbered g1 (, )

      g (, ) [where n is the frame no.]

      Let the frames have been down sampled by 2. [Alternate pixels have been eliminated from row as well ascolumn]

      g (, ) 2 = g (, ) [ where i = frame no.]

      So, down sampled frames are represented as g1 (, )

      g (, )

      Reconstructed down sampled video frames is represented as

      (, )

      Pixel Size of all CCTV footage frames are calculated

    2. RESULT

We have worked in MATLAB 2015 software, i5 processor, 16 GB RAM to perform this simulation operation.

Frames of the selected video is shown in the Figure 2. Pixel resolution of all frames is 1280 x 720.

Though we have worked with 60 frames, here only frames are displayed.

Figure 3 Downs sampled Video Frames

Down sampled frames of the selected video are shown in the Figure 3. Pixel resolution of all down sampled frames is 640 x 360.

REFERENCE :

Figure 4 Up sampled Video Frames

Size of Original CCTV footage frame = 560 kB

Size of Down sampled CCTV footage frame = 410 kB Compression Ratio = 380/560 = 0.73

To maintain better quality of the extracted images, we have maintained low compression ratio.

PSNR and Correlation Coefficient calculation:

PSNR is calculated to measure the quality of the reconstructed images. Correlation coefficient is used to measure the similarity between two images. If it is close to 1, then it is decided that reconstructed image quality is very good. Both values are displayed in the table.

TABLE

Frame no

PSNR

Correlation Coefficient

1

29.4

0.962

2

30.1

0.945

3

29.6

0.91

4

28.9

0.88

5

29.3

0.898

6

30.2

0.912

7

29.8

0.954

8

30.1

0.922

CONCLUSION

In this communication, we have presented a simple method of video compression in spatial domain using down sampling. In this research work, down sampling is done only by 2. More down sampling is also possible but it is depending on quality of the input image. To maintain a good quality, we have not compressed the frames too much. More down sampling resuls more loss of information of the video. As a result, output video would be degraded and it would be blurred. PSNR value is almost 30 and correlation coefficient is close to one in each case which indicates the better quality of the output images. Our proposed technique is simple and moreover this technique has potential to compress any type of video also.

  1. B Balakrishnan, S. H. Darsana1, J Mathews, M S. Nair; Aerial Image Compression Using Adaptive Block Truncation Coding Technique; Journal of Indian Society of Remote Sensing, 2018

  2. K Sahnoun, N Benabadji; I m a g e Compression Technique Based on The Evidence Theory; Advanced Computing: An International Journal (ACIJ), Vol.5, No.1, January 2014

  3. K Sahnoun, N Benabadji ; Image Compression Algorithm Based On The FFT ; The International Journal of Multimedia & Its Applications (IJMA) Vol.6, No.1, February 2014

  4. Md. Al Mamun and Md. Ali Hossain; Image Compression Using Integer Wavelet Regression; International Conference on Electrical,

    Computer and Communication Engineering (ECCE); 2017

  5. K Sahnoun, N Benabadji; Im ag e Compression Technique Using Noise Bit Removal and Discrete WaveletTransform; International Journal of Imaging and Robotics; Volume 15, Issue Number 3, 2015

  6. R.M. Susilo, T.R. Bretschneider; On the real-time image compression of X-Sat; Fourth International Conference on Information, Communications and Signal Processing, 2003

  7. T Memane and S D Ruikar ; Selection Of Wavelet For Image Compression Using Picture Quality Measures; International Conference on Communication and Signal Processing; 2014

  8. I. HacihalilogluandM. Kartal; DCT and Wavelet Based Image Compression in Images; Recent Advances in Space Technologies, 2003.

  9. A Patra, D Chakraborty, A Saha, K Bhattacharya; Compression of Satellite Images using Sinusoidal AmplitudeGrating; IJEE; Vol 11,

    Issue 1, 2019

  10. K Sneha, N Roy, A Patra, ArijitSaha ; Watermarking in Medical Images Using Alpha Blending; IJSART 3(10), 384-387; 2017

  11. A Patra, D Chakraborty, A Saha, K Bhattacharya; Compression of Satellite Images using Sinusoidal Amplitude Grating; IJEE 11 (1), 664-667; 2019

  12. A Patra, A Saha, A K Chakraborty; A Simple Approach to Watermarking of Multiple Grayscale Images usingAlpha Blending;

    IEEE Xplore; EDCT; 2018

  13. A Patra, A Saha, K Bhattacharya; Multiplexing and encryption of images using phase grating and R andom phase mask; Optical Engineering 59 (3), 2020

  14. A Patra, S Bandyopadhyay, D Chakraborty, A Saha ; A Novel Approach to Compression of Satellite Images Using Butterworth Filtering; Information, Photonics and Communication, 179-183 ;

    LNSS, Vol 79, 2020

  15. A Patra, K Anubala, M Ghosh, Additive Watermarking in Filtered Satellite Images Using Alpha Blending; ICNNEE 2019

  16. S Chakraborty, A Patra; Development of UAV Based Glacial Lake Outburst Monitoring System; IGARSS 2019;

  17. A Patra, A Saha, AK Chakraborty, K Bhattacharya; A New Approach to Invisible Watermarking of Color Images using Alpha Blending ;2018

Authors Profile :

Anirban Patra is working as an Assistant Professor in Electronics and Communication Engineering department at JIS College of Engineering. At present he is pursuing PhD from University of Calcutta in Optical Image Processing. He is also involved in research work at Regional Remote Sensing Centre (East) which is a branch of ISRO, in Chemical Image Processing.

Koushik Gain is a student of Electronics and Communication Engineering department of JIS College of Engineering. He has published few papers in digital image processing. He is now doing project in satellite image processing.

Laxman Chandra Rana is a student of Electronics and Communication Engineering department of JIS College of Engineering. . He has published few papers in digital image processing. He is now doing project in satellite image processing.

Kapataksha Biswas is a student of Electronics and Communication Engineering department of JIS College of Engineering. . He has published few papers in digital image processing. He is now doing project in satellite image processing.

Leave a Reply

Your email address will not be published. Required fields are marked *