ISSN V. Bhagya Raju 1, Dr K. Jaya Sankar 2, Dr C.D. Naidu 3

Similar documents
Published in A R DIGITECH

IMAGE COMPRESSION TECHNIQUES

Data Compression Algorithm for Wireless Sensor Network

Topic 5 Image Compression

So, what is data compression, and why do we need it?

Sparse Transform Matrix at Low Complexity for Color Image Compression

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 4, April 2012)

REVIEW ON IMAGE COMPRESSION TECHNIQUES AND ADVANTAGES OF IMAGE COMPRESSION

IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression

IMAGE PROCESSING (RRY025) LECTURE 13 IMAGE COMPRESSION - I

AN OPTIMIZED LOSSLESS IMAGE COMPRESSION TECHNIQUE IN IMAGE PROCESSING

Image compression. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

Digital Image Processing

2-D SIGNAL PROCESSING FOR IMAGE COMPRESSION S. Venkatesan, Vibhuti Narain Rai

A NEW ENTROPY ENCODING ALGORITHM FOR IMAGE COMPRESSION USING DCT

A Image Comparative Study using DCT, Fast Fourier, Wavelet Transforms and Huffman Algorithm

IMAGE COMPRESSION- I. Week VIII Feb /25/2003 Image Compression-I 1

AUDIO COMPRESSION USING WAVELET TRANSFORM

A COMPRESSION TECHNIQUES IN DIGITAL IMAGE PROCESSING - REVIEW

IMAGE COMPRESSION TECHNIQUES

Statistical Image Compression using Fast Fourier Coefficients

Department of electronics and telecommunication, J.D.I.E.T.Yavatmal, India 2

Huffman Coding and Position based Coding Scheme for Image Compression: An Experimental Analysis

ISSN (ONLINE): , VOLUME-3, ISSUE-1,

Modified SPIHT Image Coder For Wireless Communication

Digital Image Processing

Part 1 of 4. MARCH

CHAPTER 6. 6 Huffman Coding Based Image Compression Using Complex Wavelet Transform. 6.3 Wavelet Transform based compression technique 106

Visually Improved Image Compression by using Embedded Zero-tree Wavelet Coding

ENHANCED DCT COMPRESSION TECHNIQUE USING VECTOR QUANTIZATION AND BAT ALGORITHM Er.Samiksha 1, Er. Anurag sharma 2

Fingerprint Image Compression

Megapixel Video for. Part 2 of 4. Brought to You by. Presented by Video Security Consultants

[Kumar, 3(3): March, 2014] ISSN: Impact Factor: 1.852

Compression of Image Using VHDL Simulation

Comparison of EBCOT Technique Using HAAR Wavelet and Hadamard Transform

Digital Image Processing (EI424)

WIRE/WIRELESS SENSOR NETWORKS USING K-RLE ALGORITHM FOR A LOW POWER DATA COMPRESSION

[Singh*, 5(3): March, 2016] ISSN: (I2OR), Publication Impact Factor: 3.785

Shri Vishnu Engineering College for Women, India

Image coding and compression

Study of Image Compression Techniques

Image Compression for Mobile Devices using Prediction and Direct Coding Approach

1.Define image compression. Explain about the redundancies in a digital image.

A Review on Digital Image Compression Techniques

HARDWARE IMPLEMENTATION OF LOSSLESS LZMA DATA COMPRESSION ALGORITHM

IMAGE COMPRESSION. Chapter - 5 : (Basic)

CHAPTER 4 REVERSIBLE IMAGE WATERMARKING USING BIT PLANE CODING AND LIFTING WAVELET TRANSFORM

Volume 2, Issue 9, September 2014 ISSN

Keywords : FAX (Fascimile), GIF, CCITT, ITU, MH (Modified haffman, MR (Modified read), MMR (Modified Modified read).

MRT based Fixed Block size Transform Coding

University of Mustansiriyah, Baghdad, Iraq

A Survey and Study of Image Compression Methods

Removing Spatial Redundancy from Image by Using Variable Vertex Chain Code

Module 6 STILL IMAGE COMPRESSION STANDARDS

A STUDY OF VARIOUS IMAGE COMPRESSION TECHNIQUES

JPEG 2000 Still Image Data Compression

Partial Video Encryption Using Random Permutation Based on Modification on Dct Based Transformation

Image Compression Algorithm and JPEG Standard

AN ANALYTICAL STUDY OF LOSSY COMPRESSION TECHINIQUES ON CONTINUOUS TONE GRAPHICAL IMAGES

Induced Redundancy based Lossy Data Compression Algorithm

VC 12/13 T16 Video Compression

International Journal of Advancements in Research & Technology, Volume 2, Issue 9, September ISSN

DIGITAL TELEVISION 1. DIGITAL VIDEO FUNDAMENTALS

A New Compression Method Strictly for English Textual Data

ISSN Vol.06,Issue.10, November-2014, Pages:

FPGA IMPLEMENTATION OF BIT PLANE ENTROPY ENCODER FOR 3 D DWT BASED VIDEO COMPRESSION

JPEG Compression Using MATLAB

Priyanka Dixit CSE Department, TRUBA Institute of Engineering & Information Technology, Bhopal, India

Image coding and compression

Lecture Information Multimedia Video Coding & Architectures

An Improved Run Length Encoding Scheme for Image Compression Ch.Samson 1, VUK Sastry 2

AN EFFICIENT VIDEO WATERMARKING USING COLOR HISTOGRAM ANALYSIS AND BITPLANE IMAGE ARRAYS

A Parallel Reconfigurable Architecture for DCT of Lengths N=32/16/8

SSIM based image quality assessment for vector quantization based lossy image compression using LZW coding

CS 335 Graphics and Multimedia. Image Compression

Optimization of Bit Rate in Medical Image Compression

Lossless Compression Algorithms

13.6 FLEXIBILITY AND ADAPTABILITY OF NOAA S LOW RATE INFORMATION TRANSMISSION SYSTEM

DIGITAL IMAGE PROCESSING WRITTEN REPORT ADAPTIVE IMAGE COMPRESSION TECHNIQUES FOR WIRELESS MULTIMEDIA APPLICATIONS

Lecture 5: Compression I. This Week s Schedule

Video Compression An Introduction

An Analytical Review of Lossy Image Compression using n-tv Method

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG

Highly Secure Invertible Data Embedding Scheme Using Histogram Shifting Method

Fundamentals of Video Compression. Video Compression

A Research Paper on Lossless Data Compression Techniques

15 Data Compression 2014/9/21. Objectives After studying this chapter, the student should be able to: 15-1 LOSSLESS COMPRESSION

Image Compression - An Overview Jagroop Singh 1

SIGNAL COMPRESSION. 9. Lossy image compression: SPIHT and S+P

PERFORMANCE IMPROVEMENT OF SPIHT ALGORITHM USING HYBRID IMAGE COMPRESSION TECHNIQUE

ANALYSIS OF SPIHT ALGORITHM FOR SATELLITE IMAGE COMPRESSION

VLSI Implementation of Daubechies Wavelet Filter for Image Compression

Image Compression Using BPD with De Based Multi- Level Thresholding

A Comprehensive Review of Data Compression Techniques

Research Article Does an Arithmetic Coding Followed by Run-length Coding Enhance the Compression Ratio?

Multimedia Communications ECE 728 (Data Compression)

Review of Image Compression Techniques

A HYBRID DPCM-DCT AND RLE CODING FOR SATELLITE IMAGE COMPRESSION

Lecture Information. Mod 01 Part 1: The Need for Compression. Why Digital Signal Coding? (1)

CoE4TN4 Image Processing. Chapter 8 Image Compression

Transcription:

Performance Evaluation of Basic Compression Technique for Wireless Text Data ISSN 2278-3091 V. Bhagya Raju 1, Dr K. Jaya Sankar 2, Dr C.D. Naidu 3 1 Prof & HOD, ECE Dept Vidya Vihar Institute of Technology vbhagya01@gmail.com 2 Prof & HOD, ECE Dept Vasavi College of Engineering kottareddyjs@gmail.com 3 Principal VNR VJIET principal@vnrvjiet.ac.in Abstract: The continuous growth of mobile, desktop and wired and wireless digital communication technologies has made the extensive use of the text data unavoidable. The basic characteristics of text data like transmission rate, bandwidth, redundancy, bulk capacity and co-relation among text data makes basic compression algorithms mandatory. The research exploration in the field of text data compression is huge. In this research paper we investigate the performance evolution of basic compression algorithms on text data. We are adopting RLE (Lossless) compression and its modified version of algorithm, named K-RLE (Lossy). The basic and proposed system architecture, design, complexity, and performance could be analyzed and compare using MATLAB Language, which is the quick tool to estimate performance of the system. The KRLE compression algorithm is basically used to compress the repeated unwanted data. This has implemented using ARM7 low cost embedded processor. To implement this project on the processor the external devices like 16X2 LCD, RESET circuit, RS-232 cable have interfaced to this controller. Keywords: KRLE, Data compression, Lossy, MATLAB 1. INTRODUCTION The rapid growth of multimedia and networking technologies gives rise to numerous multimedia applications such as mobile, desktop, internet and video surveillance, satellite communication and webcams, consequently multimedia transmission has become a challenge issue. Due to the unique characteristics of real time wireless sensor text data such as large data size, high bandwidth and stringent real time requirements [1].the researchers have been forcing to use the proper compression algorithm to enhance the overall performance (compression ratio, saving percentage, compression time, entropy and code efficiency) of the system should be selected carefully for real time text transmission. Text compression is specialized discipline of electronic engineering as been gaining considerable attention on account of its applicability to various fields. Compression is art of representing information in compact form rather than it's original. Using the data compression method, the size of particular file can be reduced. Compressed transmission economizes bandwidth, computation and transmission--power, cost, and latency and therefore ensures cost-effectiveness during transmission. the application areas for such compression today range from mobile, TV and broadcasting of HD-TV up to very high quality applications such as professional digital video recording or digital cinema / large screen digital imagery and so 383 on this as lead to enhanced interest in developing tools an algorithms for very low bit rate image coding and image quality [2]. 1.1 COMPRESSION USING ARM 7 LOW COST EMBEDDED PROCESSOR The LCD is interfaced to P1 port of the LPC2148 (P1.16 to P1.21) in 4 bit mode in which nibble by nibble DATA will be sent to the LCD. To receive the data entered from the PC the UART communication is used. To establish that communication RS-232 cable has connected through MAX 232 IC to the P0.0, P0.1 pins of the LPC2148 controller. The MAX IC placed in this board is used to match the RS-232 voltage levels to TTL logic levels to establish the proper communication between PC and processor. The active RESET circuit has been designed to this processor is used to reset the total circuit ever we want. The working of total circuit is as fallows we switch on the power supply the 3.3v goes to processor internal operation & the 5v for external peripherals like LCD, other devices. First In LCD the messages will be displayed like project name and student name and asks for the data to be entered. When we entered the data the compression will start in very next step and displays the compressed data and decompressed data in all categories as shown above for the different data i.e. repeated data, partially repeated data, non repeated data. After completion of all these operation observed on the hardware modules we can conclude that the compression ratio is go on increases as precision factor increases and as well as increases the loss of data as shown in graphical representation. 1.2 IMAGE COMPRESSION The purpose of compression is to code the image data into a compact form, minimizing both the number of bits in the representation, and the distortion caused by the compression.the importance of image compression is emphasized by the huge amount of data in raster images, a typical gray-scale image of 512 x 512 pixels, each represented by 8bits, contains 256 kilobytes of data. With the color information, the number of bytes is tripled. The video images of 25 frames per second, even a one second color film requires approximately 19 Megabytes of

384 ISSN 2278-3091 Memory. To handle and process the above said data representation definitely one has to think of how to represent in terms of the encoded data the method is called compression, obliviously this technique becomes mandatory for any kind of present day digital image data processing. 2. RELATED WORK: Till now many scientists, research scholars, Engineers proposed many data compression algorithms that compress almost any kind of data, In that the best know are the family of ZIV-Lempel algorithms. If the method is lossless they retain all the information of the compressed data, they doesn't take advantage of the 2-D nature of the image data. Only small portion of the data space can be saved by a lossless compression method. now a day's lossy techniques are widely used in image compression, because they produce high compression ratio and saving ratio, of course there may be image quality degradation reproduction of original image from compressed image, however the image quality could be improved by selecting the appropriate compression technique / algorithm based on the application requirements In lossy compression, always there would be tradeoff between the bit rate and the image quality. A common characteristic of most images is that the neighboring pixels are correlated and therefore contain redundant information. Two fundamental components of compression are redundancy and irrelevancy. Redundancy reduction aims at removing duplication from signal source. Irrelevancy reduction omits parts of the signal that will not be noticed by the signal receiver. There are three types of redundancies, they are spatial redundancy means correlation among neighboring pixel values, coding redundancy is used less than optimal code words are used, spectral redundancy means correlation between color planes and temporal redundancy means correlation between adjacent frames. Image compression techniques reduce the number of bits required to represent an image by taking advantage of these redundancies. An inverse process called decompression is applied to the compressed image data to get the reconstructed image. The two main distinct structural blocks of typical image processing system are an encoder and a decoder as shown in figure 1. Image f(x,y) is fed into the encoder, which creates a set of symbols form the input data and uses them to represent the image. If we let n1 and n2 denote the number of information carrying units( usually bits ) in the original and encoded images respectively, the compression that is achieved can be quantified numerically via the compression ratio. CR = n1 /n2 Figure 1 As shown in the figure 1, the encoder is responsible for reducing the coding, interpixel and psychovisual redundancies of input image. In first stage, the mapper transforms the input image into a format designed to reduce interpixel redundancies. The second stage, quantizer block reduces the accuracy of mapper s output in accordance with a predefined criterion. In third and final stage, a symbol decoder creates a code for quantizer output and maps the output in accordance with the code. These blocks perform, in reverse order, the inverse operations of the encoder s symbol coder and mapper block. As quantization is irreversible, an inverse quantization is not included in the figure 1. The typical parameters, which are used to measure performance of the lossy image compression techniques / algorithms. Compression Ratio is the ratio between the size of the compressed file and the size of the source file. Compression Factor is the inverse of the compression ratio. That is the ratio between the size of the source file and the size of the compressed file. Saving Percentage calculates the shrinkage of the source file as a percentage. SP = (size before compression size after compression) / size before compression Compression Time Time taken for the compression and decompression should be considered separately. Some applications like transferring compressed video data, the decompression time is more important, while some other applications both compression and decompression time are equally important. If the compression and decompression times of an algorithm are less or in an acceptable level it implies that the algorithm is acceptable with respective to the time factor. With the development of high speed computer accessories this factor may give very small values and those may depend on the performance of computers or machines. 3. SENSOR TEXT DATA COMPRESSION TECHNIQUES The text compression techniques are broadly classified into two categories, they are: Lossless techniques and Lossy techniques. In our research work we consider one lossy compression (K-RLE) and one lossless compression algorithms (RLE) on hyper text data and data retrieved from temperature sensors and LDR.For category1 ( K=0): COMPRESSED DATA: 104204304404(8 bytes of data). The compression is high in this case COMPRESSED DATA: 103203303403503601(12 bytes of data). The compression is low compared to above case in this case

COMPRESSED DATA: 101201301401501601701801901A0 1B01C01D01E01F01 (16 bytes of data). There is no compression in this case. For category2 ( K=1): COMPRESSED DATA: 108308 (4 bytes of data) the compression is very high in this case compared to category1 COMPRESSED DATA: 106306504 (6 bytes of data) The compression is low compared to above case in this case. COMPRESSED DATA: 102302502702902B02D02F01 (16 bytes of data) There is a little bit compression in this case. For category2 ( K=2): COMPRESSED DATA: 10C404 (4 bytes of data) the compression is very high in this case compared to category1 COMPRESSED DATA: 109407 (4 bytes of data). The compression is low compared to above case in this case. COMPRESSED DATA: 103403703A03D03 (10 bytes of data) There is a little bit BETTER compression in this case. For category2 ( K=3): COMPRESSED DATA: 110 (2 bytes of data) the compression is very very high in this case compared to previous all categories. COMPRESSED DATA: 10C504 (4 bytes of data). The compression is low compared to above case in this case. COMPRESSED DATA: 104504904D03 (8 bytes of data). There is a little bit BETTER compression in this case. When compared to previous categories. The overall comparison is as fallows as precision factor increases compression ratio increases as located in graphical representation. image/data. These are also called noiseless since they do not add noise to the signal (image).it is also known as entropy coding since it use statistics or decomposition techniques to eliminate or minimize redundancy. Lossless compression is used only for a few applications with stringent requirements such as medical imaging and sensor data processing, In our research work we consider the basic lossless compression technique named as Run Length Encoding (RLE), earlier researchers implemented the RLE compression algorithm on low cost, low power tinny embedded systems (based on 8bit/16bit microcontrollers) using ALP and respective EC programming for slowly varying sensor data for wired and wireless sensor networks (WSN) [4]. Even they evaluated the performance of RLE on Reconfigurable FPGA Architecture for above said applications [5]. Probably no one analyzed design exploration of image data compression using RLE. In our research work we analyze and evaluate the performance of RLE compression algorithm for image data applications based on MATLAB EDA Tools 3.1.1 RUN LENGTH ENCODING: The Idea behind this algorithm is, If a data item d occurs n consecutive times in the input data we replace the n occurrences with the single pair nd. Run-Length Encoding (RLE) is a basic compression algorithm. It is very useful in case of repetitive and slowly varying data items. This is most useful basic compression algorithm on data that contains many such runs: for example, relatively simple graphic images such as icons, line drawings, and grayscale images. Which is a lossless data compression algorithm used for slowly varying sensor and image data. It is not useful with files that don't have many runs as it could double the file size. 3.1 LOSSLESS COMPRESSION TECHNIQUE In lossless compression techniques, the original image/data can be perfectly recovered from the compressed (encoded) Figure 2: Flow Chart for Run Length Encoding: 385

3.2 LOSSY COMPRESSION TECHNIQUE Lossy schemes provide much higher compression ratios than lossless schemes. Lossy schemes are widely used since the quality of the reconstructed images is adequate for most applications.by this scheme, the decompressed image is not identical to the original image, but reasonably close to it. 3.2.1 RUN LENGTH ENCODING WITH K-PRECISION: The idea behind this new proposed algorithm is this: let K be a number, a data item d or data between d+k and d-k occur n consecutive times in the input stream, replace the n occurrences with the single pair nd. We introduce a parameter K which is a precision. If K = 0, K-RLE is RLE. K has the same unit as the dataset values, in this case degree. K-RLE is a lossy compression algorithm. This algorithm is lossless at the user level because it chooses K considering that there is no difference between the data item d, d+k or d-k according to the application. Figure 4: Schematic of ARM7 Processor with wireless sensor networks. Figure 5: Development Board of ARM7 Processor with Wireless Sensor Networks Figure 3: Flow Chart for Run Length Encoding with K - Precision: Figure 6: Photo Shot of Receiving Wireless Sensor Data ON LCD 386

10 0 K=0 K=1 K=2 Series 1 Series 2 Series 3 K=3 Figure 7: Photo Shot of Wireless Text Data Compression for K=0 Figure 11: Compression of Text Data for Various Values of K The data we are taking in order to compare the compression in all formats i.e K-0,K=1,K=2,K=3 etc.. DATA 1: 1111 2222 3333 4444(16 bytes of repeated data) DATA2:1112223334445556(16 bytes of partially repeated data) DATA3:123456789ABCDEF (16 bytes of non repeated data) REFERENCES Figure 8: Photo Shot of Wireless Text Data Compression for K=1 [1] Jayavrinda Vrindavanam, Saravanan Chandran and Gautam K. Mahanti, 2012, A survey of image compression methods, IJCA. [2] S.R Koditvwakku and U.S. Amarasinghe, Comprasion of lossless data compression algorithms for text data, IJCSE, vol 1 no 4 410 425. [3] B. Subramanyan, Vivek.M.Chhabria and T.G Sankar Babu, 2011, Image encryption based on aes key expansion, IEEE. [4] Eugene pamba cupo Chichi, Herve Guyennet and Jean Michel friedt, 2009, KRLE A new data compression algorithm for wireless sensor network, IEEE. [5] Wail s. Elkilani, Hatem M. Abdul Kadar, 2009, Performance of encryption techniques for real time video streaming, IEEE. [6] K. Arshak, E. Jafer, D. Mcdonagh and C.S.Ibala, 2007, Modelling and simulation of wireless sensor system for health monitoring using HDL and simulink mixed enviroment, IET computer. Digital tech vol 1. No 5, September. Figure 9: Photo Shot of Wireless Text Data Compression for K=2 Figure 10: Photo Shot of Wireless Text Data Compression for K=3 387