Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.

Slides:



Advertisements
Similar presentations
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Advertisements

Data Compression CS 147 Minh Nguyen.
Image Compression. Data and information Data is not the same thing as information. Data is the means with which information is expressed. The amount of.
Image Data Representations and Standards
Data Compression Michael J. Watts
Chapter 7 End-to-End Data
Spring 2003CS 4611 Multimedia Outline Compression RTP Scheduling.
CSCI 3 Chapter 1.8 Data Compression. Chapter 1.8 Data Compression  For the purpose of storing or transferring data, it is often helpful to reduce the.
Compression JPG compression, Source: Original 10:1 Compression 45:1 Compression.
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
Lossless Compression in Multimedia Data Representation Hao Jiang Computer Science Department Sept. 20, 2007.
Chapter 7 Special Section Focus on Data Compression.
Guilford County SciVis V106.01
V Obtained from a Guildford County workshop-Summer, 2014.
Data dan Teknologi Multimedia Sesi 08 Nofriyadi Nurdam.
©Brooks/Cole, 2003 Chapter 15 Data Compression. ©Brooks/Cole, 2003 Realize the need for data compression. Differentiate between lossless and lossy compression.
Manipulating Images Image A visual representation of something that is seen in real life. It can be two-dimensional or three-dimensional A visual representation.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
1 GFI Files Graphics Interchange Format. 2 GIF History  CompuServe developed 1987 Versions 87a, V89a Because there was no standard.
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
CS559-Computer Graphics Copyright Stephen Chenney Image File Formats How big is the image? –All files in some way store width and height How is the image.
Lecture 10 Data Compression.
Chapter 2 Source Coding (part 2)
1 Image Compression. 2 GIF: Graphics Interchange Format Basic mode Dynamic mode A LZW method.
MULTIMEDIA TECHNOLOGY SMM 3001 DATA COMPRESSION. In this chapter The basic principles for compressing data The basic principles for compressing data Data.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Digital Image: Representation & Processing (2/2) Lecture-3
D ATA C OMMUNICATIONS Compression Techniques. D ATA C OMPRESSION Whether data, fax, video, audio, etc., compression can work wonders Compression can be.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
1 Image Formats. 2  To be able save image data for future manipulation and display we need to be able to store it in a consistent manner  Formats enable.
Data Compression. Compression? Compression refers to the ways in which the amount of data needed to store an image or other file can be reduced. This.
Chapter 7 – End-to-End Data Two main topics Presentation formatting Compression We will go over the main issues in presentation formatting, but not much.
In this lecture, you will learn: 1 Basic ideas of video compression General types of compression methods.
Chapter 2 : Imaging and Image Representation Computer Vision Lab. Chonbuk National University.
1 Classification of Compression Methods. 2 Data Compression  A means of reducing the size of blocks of data by removing  Unused material: e.g.) silence.
Lossless Compression CIS 465 Multimedia. Compression Compression: the process of coding that will effectively reduce the total number of bits needed to.
1 Image Formats. 2 Color representation An image = a collection of picture elements (pixels) Each pixel has a “color” Different types of pixels Binary.
Spring 2000CS 4611 Multimedia Outline Compression RTP Scheduling.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Lecture 4: Lossless Compression(1) Hongli Luo Fall 2011.
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Comp 335 File Structures Data Compression. Why Study Data Compression? Conserves storage space Files can be transmitted faster because there are less.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
Multi-media Data compression
Chapter 7 Lossless Compression Algorithms 7.1 Introduction 7.2 Basics of Information Theory 7.3 Run-Length Coding 7.4 Variable-Length Coding (VLC) 7.5.
1 Part A Multimedia Production Chapter 2 Multimedia Basics Digitization, Coding-decoding and Compression Information and Communication Technology.
IS502:M ULTIMEDIA D ESIGN FOR I NFORMATION S YSTEM M ULTIMEDIA OF D ATA C OMPRESSION Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Textbook does not really deal with compression.
IMAGE COMPRESSION.
Data Compression.
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
Graphics Bitmap Vector
JPG vs GIF vs PNG What is the difference?
Introduction to Computer Science - Lecture 4
Data Compression.
A computer display is made up of small squares, called pixels.
Data Compression CS 147 Minh Nguyen.
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
Web Design and Development
UNIT IV.
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Chapter 8 – Compression Aims: Outline the objectives of compression.
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Presentation transcript:

Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper

Introduction n Data compression focuses on the assumption that when transmitting data whether it be images, music, video and so on, one can benefit in the size and transmission times associated with such endeavors.

Topics of Discussion Compression TypesCompression Types Run Length EncodingRun Length Encoding Huffman CodingHuffman Coding PNG 0 (Portable Network Graphics)PNG 0 (Portable Network Graphics) JPEG Graphics FormatJPEG Graphics Format GIF Graphics FormatGIF Graphics Format MPEG Moving Picture Expert GroupMPEG Moving Picture Expert Group ConclusionConclusion

Compression Types n Lossless – Recover of the exact original data after compression will be. n Lossy – Certain loss of accuracy in exchange for a substantial increase in compression.

Run Length Encoding n Lossles n A simple technique achieves up to an 8:1 compression ratio. n Replacing multiple occurrences of a symbol with one copy and a count of how many times that symbol appears. n ex. AAABBBCCCCCCCCCDDDDD encoded as 3A3B9C5D

Run Length Encoding n Can also be used to compress digital images by comparing pixels that appear adjacent to each other and only store the changes. n Pros – effective for encoding images with large white spaces or large homogeneous areas.

Run Length Encoding n Cons – Does not work well when encoding files that contain even a small degree of variations among pixels. Because it uses 2 bytes to represent each symbol, these cases can actually cause an increase in file size.

Huffman Coding n Based on creating a variable length character code from frequent occurring characters. n Avg. compression 25%, Maximum 50% - 60% n Code words are composed of variable length binary strings. u Binary string mapped to a different character within the file. u Frequency distribution of characters created. u Decide which code words will be used for each symbol.

Huffman Coding n Example USING HUFFMAN CODES CharacterCodewordSpace required to represent all file characters (String length) * (frequency of characters in file) ________________________________________________________________________ c01*(100,000) d1013*(30,000) y1003*(5,000) t1113*(1,000) r11014*(50) z11004*(25) ________________________________________________________________________ Total Bits Required 208,300 ________________________________________________________________________

Dictionary Based Compression n Encode variable length strings of symbols as single tokens. n Tokens forms an index to a phrase dictionary. n If tokens are smaller than the phrases, they replace the phrases and compression occurs. n LZ77 is a sliding window technique in which the dictionary consists of a set of fixed length phrases found in a window into the previously seen text. n LZ78 builds phrases up one symbol at a time, adding a new symbol to an existing phrase when a match occurs.

JPEG Graphics Format n Lossy n Developed to compress gray-scale or color images. n Stores 24bit color per pixel. n JPEG can: u Achieve 10:1 up to 20:1 compression without visible loss. u Achieve 30:1 up to 50:1 compression with small to moderate loss of quality u Achieve up to 100:1 for usage such as previews where low quality is not an issue.

JPEG Graphics Format n Drawback in time needed to decode and view the image. n Well suited for real world photographs, scenic depictions of nature. n Not been shown to work well with line drawings, cartoon animations, and other similar drawings. n Viewed by the human eye not analyzed by machines.

JPEG Graphics Format n Flexibility, one has to create smaller lower quality images or larger higher quality ones by changing compression parameters. n Extremely useful to a broad scope of real world applications. n Example - “What is the lowest amount of quality we need?” n We can control the actual decoding speed as it relates to the image quality by using inaccurate approximations instead of exact calculations.

GIF (Graphical Interchange Format) n Lossless n Developed by Compuserve in 1987 n Two version GIF87a and GIF89a. n Images have a bit depth of 8 bits per pixels, giving us a maximum of 256 colors. n Image data is compressed using LZW (Lempel-Ziv) algorithm.

GIF contd. n Animation is accomplished by having many gif images together in one file. n Best performance can be reached by using images with large percentage of solid colors throughout a wide portion of the image area.

GIF contd. n GIF89a – extends the GIF87a specification and adds transparency, text comments, and animation of text. n Becoming less used.

PNG 0 – Portable Network Graphic n Lossless n Uses modified Lempel-Ziv 77 algorithm, similarly being used by winzip, and other zip applications. n Benefits of percent higher compression. n Works well with true color, palette, and grayscale color areas.

PNG 0 – Portable Network Graphic n When compared to JPEG, this format offers higher image quality but the compression ratios are not as great as with JPEG. n PNG 0 also uses filtering techniques. It is applied toward bytes of data before compression. This intern prepares data for optimal compression. This works best when applied to true color images.

MPEG (Moving Picture Expert Group) n Lossy n Most popular video formats currently being used today. n Major standards: MPEG-1 and MPEG-2 n Remove spatial redundancy within a video frame and temporal redundancy between video frames n DCT-based compression is used to reduce spatial redundancy

MPEG contd. n Motion-compensation is used to exploit temporal redundancy n The idea of motion-compensation is to encode a video frame based on other video frames temporally close to it. n Complicated and CPU intensive. n Uses several algorithms to achieve as much as 30:1 compression rate

MPEG contd. n Quantized Discrete Cosine Transform (QDCT). n run-length encoding n Huffman encoding

Conclusion n With the growing need to transmit more data in a faster manner, data compression is vital. n Application determines what method is used.