Preview

Data Compression and Decompression Algorithms

Good Essays
Open Document
Open Document
2572 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Data Compression and Decompression Algorithms
Table of Contents
Introduction………………………………………………………………………..…………………………….…2
1.Data Compression……………………………………..………………………………………………………2 1.1Classification of Compression……………………………………………………………………...2 1.2 Data Compression methods…………………………………………..……………………………3
2. Lossless Compression Algorithm……………..……………………………………………………….4 2.1 Run-Length Encoding……………………..…………………………….……………………………4 2.1.1 Algorithm……………………………..………………………………………………………………….5 2.1.2Complexity ……………………………..………………………………..……………………………….5 2.1.3 Advantages and disadvantage…………..…………………….………………………………6
3. Huffmann coding………………………………..……………………….…………………………………6 3.1 Huffmann encoding…………………………..………………………………………………………..6 3.2 Algorithm…………………………………………………………..……………………………………….7
4. Lempel-Ziv algorithm…………………………………………..……………………………………………7 4.1 Lempel-Ziv78……………………………………………..……………………………………………….8 4.2Encoding Algorithm……………………………………………………………………………………..8 4.3 Decoding Algorithm…………………………………………………………………………………..12
5.Lempel-Ziv Welch…………………………………………………………………………………………….14 5.1 Encoding Algorithm…………………………………………………………………………………..14 5.2 Decoding Algorithm…………………………………………………………………………………..16
References………………………………………………………………………………………………………….17

INTRODUCTION:
Data compression is a common requirement for most of the computerized applications. There are number of data compression algorithms, which are dedicated to compress different data formats. Even for a single data type there are number of different compression algorithms, which use different approaches. This paper examines lossless data compression algorithms.

1. DATA COMPRESSION:
In computer science data compression involves encoding information using fewer bits than the original representation.Compression is useful because it helps reduce the consumption of resources such as data space or transmission capacity. Because compressed data must be decompressed to be used, this extra processing imposes computational or



References: * http://www.sqa.org.uk/e-learning/BitVect01CD/page_86.htm * http://www.gukewen.sdu.edu.cn/panrj/courses/mm08.pdf * http://www.cs.cmu.edu/~guyb/realworld/compression.pdf * http://www.stoimen.com/blog/2012/01/09/computer-algorithms-data-compression-with-run-length-encoding/ * http://www.ics.uci.edu/~dan/pubs/DC-Sec1.html#Sec_1 * http://www.prepressure.com/library/compression_algorithms/flatedeflate * http://en.wikipedia.org/wiki/Data_compression * http://www.google.com.pk/#hl=en&q=lempel+ziv+algorithm+ppt&oq=lempel+ziv+algorithm+ppt&aq=f&aqi=g1&aql=&gs_l=serp.3..0.11251.12329.4.12548.4.3.0.1.1.0.422.422.4-1.1.0...0.0.qB5HdetQcjU&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=1de8caf326efdf37&biw=1024&bih=535 * http://www.cs.cmu.edu/~guyb/realworld/compress.html * http://www.ccs.neu.edu/home/jnl22/oldsite/cshonor/jeff.html

You May Also Find These Documents Helpful

  • Good Essays

    Kirk Samuda

    • 731 Words
    • 3 Pages

    must be aimed at the data acquired, produced and consumed by applications, and not merely…

    • 731 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Nt1310 Unit 3 Encodeers

    • 4602 Words
    • 19 Pages

    Data encoding on the other hand is the compression of a stream in order to decrease its size requiring less bandwidth to transfer it. With the use of specific tools, it is possible to convert different video formats such as AVI, WMV, MPG, MOV etc to FLV files.…

    • 4602 Words
    • 19 Pages
    Powerful Essays
  • Good Essays

    Cryptography

    • 385 Words
    • 2 Pages

    Data Encryption Standard (DES), ROT13, and Enigma are all examples of algorithm for the encryption of electronic data…

    • 385 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Chapter 2: Data Manipulation Computer Science: An Overview Eleventh Edition by J. Glenn Brookshear Copyright © 2012 Pearson Education, Inc. Chapter 2: Data Manipulation • • • • • • 2.1 Computer Architecture 2.2 Machine Language 2.3 Program Execution 2.4 Arithmetic/Logic Instructions 2.5 Communicating with Other Devices 2.6 Other Architectures Copyright © 2012 Pearson Education, Inc. 0-2 1 Computer Architecture • Central Processing Unit (CPU) or processor – Arithmetic/Logic unit versus Control unit – Registers • General purpose • Special purpose • B Bus • Motherboard Copyright © 2012 Pearson Education, Inc. 0-3 Figure 2.1 CPU and main memory connected via a bus…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Sociology

    • 497 Words
    • 2 Pages

    In 2010 the Acme Widget, United States factory, outsourced 80% of the Anytown population due the fact that unionized workers could not operate the factory’s old equipment. The owners, part of the capitalist class, decided to close the factory after forty years of operation. They moved the factory to the foreign country of Mexico in order to obtain cheap labor and no benefits for new prospective workers. In doing so, the company would be able to save more money by not changing to new equipment and paying new workers less money. As a result, workers back home in the USA were left with no jobs for the next two to five years. The workers of Anytown were forced to live out their unemployment funds, savings and welfare benefits as a main source of income.…

    • 497 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Algorithms

    • 324 Words
    • 1 Page

    In computer science, the analysis of algorithms is the determination of the amount of resources (such as time and storage) necessary to execute them. Most algorithms are designed to work with inputs of arbitrary length. Usually, the efficiency or running time of an algorithm is stated as a function relating the input length to the number of steps (time complexity) or storage locations (space complexity).…

    • 324 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    In computer science, the analysis of algorithms is the determination of the number of resources (such as time and storage) necessary to execute them. Most algorithms are designed to work with inputs of arbitrary length. Usually the efficiency or running time of an algorithm is stated as a function relating the input length to the number of steps (time complexity) or storage locations (space complexity).…

    • 564 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Tar , gzip and bzip (to compress large amount files to save them on floppy or other media).…

    • 636 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    as skeletoning is done on each block of binary data. The orientation of each block is…

    • 1174 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    This project deals with lossless compression of test vectors on the basis of geometric shapes. It consists of two phases: i) Encoding or Compression and ii) Decoding or Decompression. During the compression phase we exploit reordering of test vectors to minimize the number of shapes needed to encode the test data. The test set is partitioned into blocks and then each block is encoded separately. The encoder has the choice of encoding either the 0‘s or the 1‘s in a block. In addition, it encodes a block that contains only 0‘s (or 1‘s) and x‘s with only 3 bits. Furthermore, if the cost of encoding a block using geometric shapes is higher than the original cost of the block, the block is stored as is without encoding. We have created a new greedy based algorithm to find the shapes present in a block in minimal time. This algorithm after analysis seems to be at least 50% more efficient than the algorithm proposed by the author of the original paper which has been implemented in our program. During the decoding phase the data is read from the compressed file and decoded based on the format in which it was encoded. These phases have been implemented using software. The application gives a good compression ratio of nearly 50% under average…

    • 13186 Words
    • 53 Pages
    Powerful Essays
  • Powerful Essays

    Cavlc example

    • 2036 Words
    • 9 Pages

    residue is also of size 4x4. Then this transformed residue is quantized (dividing by some…

    • 2036 Words
    • 9 Pages
    Powerful Essays
  • Better Essays

    certain conditions. A sum graph can be viewed as a representation of a compressed data…

    • 2219 Words
    • 9 Pages
    Better Essays
  • Good Essays

    Encrypt/Decrypt

    • 317 Words
    • 2 Pages

    written that encodes the text by advancing each character by 3 letters. Same procedure is…

    • 317 Words
    • 2 Pages
    Good Essays
  • Good Essays

    to exploit a weakness in the encryption algorithm, or to try an exhaustive search of all…

    • 867 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    1.1 INTRODUCTION Data structure is the branch of computer science that unleashes the knowledge of how the data should be organized, how the flow of data should be controlled and how a data structure should be designed and implemented to reduce the complexity and increase the efficiency of the algorithm. The theory of structures not only introduces the data structures, but also helps to understand and use the concept of abstraction, analyze problems step by step and develop algorithms to solve real world problems. Thus it enables various data structures like stacks, queue, linked list, trees and graphs. Effective use of principles of data structures increases efficiency of algorithms to solve problems like searching, sorting, populating and handling voluminous data. 1.2 Basic Terminology of Data Organization Data: The term data means a value or set of values. For example, marks of students, figures obtained during exit polls etc. The data is stored in the memory of computer. Different models are used to organize data in the memory. For example, the model used to organize the data in main memory are collectively referred to as data structures, whereas the different models used to organize data in the secondary memory are collectively referred to as file structures. Data item:- A data item means a single unit of values. For example, roll number, name, address etc. Entity: Entity is something that has certain qualities, characteristics, properties or attributes that may contain some values. For example, Student is an entity. The attributes of student may be roll number, name, address, etc, The values of these attributes may be 100, Ram, House No. 133-A, Pragati Vihar, Delhi. Entity Set: An entity set is a group of or set of similar entities. For example, employees of an organization, students of a class etc. Information: When the data is processed by applying certain rules, new processed data is called information. The data are not useful for decision…

    • 2894 Words
    • 12 Pages
    Powerful Essays

Related Topics