Chapter 5 : IMAGE COMPRESSION – LOSSLESS COMPRESSION - Nur Hidayah Bte Jusoh (IT 01481) 2)Azmah Bte Abdullah Sani (IT 01494) 3)Dina Meliwana.

Slides:



Advertisements
Similar presentations
T.Sharon-A.Frank 1 Multimedia Compression Basics.
Advertisements

15 Data Compression Foundations of Computer Science ã Cengage Learning.
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.
Lecture04 Data Compression.
SWE 423: Multimedia Systems
Compression Techniques. Digital Compression Concepts ● Compression techniques are used to replace a file with another that is smaller ● Decompression.
SWE 423: Multimedia Systems
Spatial and Temporal Data Mining
Image Compression (Chapter 8)
Fundamentals of Multimedia Chapter 7 Lossless Compression Algorithms Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
1 Image Compression อ. รัชดาพร คณาวงษ์ วิทยาการคอมพิวเตอร์ คณะ วิทยาศาสตร์ มหาวิทยาลัยศิลปากรวิทยาเขต พระราชวังสนามจันทร์
CS430 © 2006 Ray S. Babcock Lossy Compression Examples JPEG MPEG JPEG MPEG.
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.
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.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Software Research Image Compression Mohamed N. Ahmed, Ph.D.
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.
8. Compression. 2 Video and Audio Compression Video and Audio files are very large. Unless we develop and maintain very high bandwidth networks (Gigabytes.
CSE & CSE Multimedia Processing Lecture 7
Chapter 2 Source Coding (part 2)
Lecture 1 Contemporary issues in IT Lecture 1 Monday Lecture 10:00 – 12:00, Room 3.27 Lab 13:00 – 15:00, Lab 6.12 and 6.20 Lecturer: Dr Abir Hussain Room.
Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.
Computer Vision – Compression(2) Hanyang University Jong-Il Park.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 8 – JPEG Compression (Part 3) Klara Nahrstedt Spring 2012.
1 Image Compression. 2 GIF: Graphics Interchange Format Basic mode Dynamic mode A LZW method.
: Chapter 12: Image Compression 1 Montri Karnjanadecha ac.th/~montri Image Processing.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 7 – Basics of Compression (Part 2) Klara Nahrstedt Spring 2011.
Prof. Amr Goneid Department of Computer Science & Engineering
Chapter 8 Image Compression. What is Image Compression? Reduction of the amount of data required to represent a digital image → removal of redundant data.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Image Compression (Chapter 8) CSC 446 Lecturer: Nada ALZaben.
8. 1 MPEG MPEG is Moving Picture Experts Group On 1992 MPEG-1 was the standard, but was replaced only a year after by MPEG-2. Nowadays, MPEG-2 is gradually.
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.
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
Digital Image Processing Image Compression
Lossless Compression CIS 465 Multimedia. Compression Compression: the process of coding that will effectively reduce the total number of bits needed to.
Image Compression – Fundamentals and Lossless Compression Techniques
Image Compression Fasih ur Rehman. Goal of Compression Reduce the amount of data required to represent a given quantity of information Reduce relative.
Chapter 17 Image Compression 17.1 Introduction Redundant and irrelevant information  “Your wife, Helen, will meet you at Logan Airport in Boston.
Lecture 4: Lossless Compression(1) Hongli Luo Fall 2011.
CS654: Digital Image Analysis
CS654: Digital Image Analysis Lecture 34: Different Coding Techniques.
Digital Image Processing Lecture 22: Image Compression
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Introduction to JPEG m Akram Ben Ahmed
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.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 7 – Basics of Compression (Part 2) Klara Nahrstedt Spring 2012.
IT472 Digital Image Processing
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Introductions What Is Data Compression ? Data compression is the process of reduction in the amount of signal space that must be allocated to a given.
Image Compression (Chapter 8)
JPEG Compression What is JPEG? Motivation
Data Coding Run Length Coding
Digital Image Processing Lecture 20: Image Compression May 16, 2005
IMAGE COMPRESSION.
Lecture 10: data compression
Increasing Information per Bit
Data Compression.
Data Compression.
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.
Chapter 11 Data Compression
COMS 161 Introduction to Computing
Image Coding and Compression
15 Data Compression Foundations of Computer Science ã Cengage Learning.
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Presentation transcript:

Chapter 5 : IMAGE COMPRESSION – LOSSLESS COMPRESSION - Nur Hidayah Bte Jusoh (IT 01481) 2)Azmah Bte Abdullah Sani (IT 01494) 3)Dina Meliwana Bte Asjhad Zaenie (IT 02373) 4)Ummi Susanti Bte Rafiei (IT 02145)

Contents: 5.1. Overview of Image Compression 5.2. Lossless Compression Methods 5.3. Application Of Lossless Compression 5.4. Recent Research Of Lossless Compression.

Overview Of Image Compression - Process of reducing or compressing size and image data files but still retaining important information. - compressed file is used to reconstruct image. - relationship between compressed and uncompressed file is denoted as the compression ratio : Introduction Compression Ratio = Uncompressed file size Compressed file size = SIZE U SIZE C

Fidelity Criteria Criterion used to determine important information to be retained when compressing files. Divided into 2 classes : i. Objective fidelity criteria ii.Subjective fidelity criteria What are the objective fidelity criteria & subjective fidelity criteria??

Fidelity Criteria Errors are measured using : 1.ROOT- MEAN-SQUARE ERROR 2.ROOT-MEAN-SQUARE SIGNAL-TO-NOISE RATIO(SNR) 3.PEAK SIGNAL-TO-NOISE RATIO Objective fidelity criteria measures amount of error in decompressed image. The smaller the value of error metrics, the better the compressed image. Subjective testing is performed by creating a database of image to be tested.

Fidelity Criteria Images will be tested by having all test subjective to evaluate them according to a predefined scoring criterion. The results are then analyzed statistically using average & standard deviations as metrics. 3 category of tests: 1. IMPAIRMENT TEST assess images in terms of how bad they are 2. QUALITY TEST assess images in terms of how good they are 3. COMPARISON TEST evaluate images on a side-by side basis

Compression System Model 1)Compressor  Preprocessing - Data reduction : Reduce image by using gray level and/or spatial quantization or any image enhancement process - Mapping : Map image data into other mathematical space ( easier to compress data )  Encoding - Quantization : Takes potentially continuous from mapping stage and put in discrete form - Coding : Maps discrete data onto a code

Compression System Model 2) Decompressor  Decoding - Reverse coding of compressed file by mapping to original  Inverse Mapping - Reverse mapping process  Postprocessing - Enhance the look of final image

Lossless Compression Method Lossless Compression Methods: 1) Huffman Coding 2) Run – Length Coding 3) Lempel – Ziv – Welch Coding 4) Arithmetic Coding Introduction : Lossless compression methods guarantees that the decompressed image is absolutely identical to the image before compression.

Lossless Compression Methods > HUFFMAN CODING - developed by D. A. Huffman - based on the fact that in an input stream certain tokens occur more often than others. - generating codes that closest to entrophy.

Lossless Compresion Methods > Step By Step… Find the gray – level probabilities for the image by finding the histogram. Order the input probabilities (histogram magnitudes ) from smallest to largest. Combine the smallest two. (add the two smallest) GOTO step 2, until only two probabilities are left. By working backward along the tree, generate code by alternating assignment of 0 and 1.

Lossless Compression Methods > RUN – LENGTH CODING - used when there is a tendency for long runs of repeated digitized gray levels to occur. - the Run-length coding (RLC) works by counting the number of adjacent pixels with the same gray-level value.

Lossless Compression Methods > Step By Step… Define the required parameters horizontally or vertically. Define a convention for the first RLC number in a row (represent a run of 0’s or 1’s). Extend basic RLC using Bit-plane RLC – works by applying basic RLC to each bit plane independently. The compression results is then improved using preprocessing to reduce the number of gray level. Then, the reduce image data mapped to a Gray Code,

Lossless Compression Methods > Horizontal Run Length Coding Using the convention of 0’s as the first value. No of rows ROW 1 ROW 2 ROW 4 ROW 5 ROW 3 ROW 6 ROW 8 ROW 7 8 4, 1, 3 1, 2, 2, 2, 2 1, 6, 1 1, 8 1, 1, 1, 1, 1, 1, 1, 1 4, 3, 1 1, 1, 1, 2, 3

Lossless Compresion Methods > LEMPEL-ZIV-WELCH CODING (LZW) - works by coding strings of data - for images, the strings correspond to sequence of pixel value - a string table that contains the strings and their corresponding value is created - the table is updated as the file is read, with new codes being inserted whenever a new string is encountered

Lossless Compresion Methods > - if the table already contains the string, the corresponding code for that string is put into the compressed file - uses code words with more bits than the original data - the table consists of the original 2 n entries (corresponding to the original n-bit data) and allows another 2 n-k - 2 n entries for string codes

Lossless Compression Method > ARITHMETIC CODING - transforms input data into a single floating point between 0 and 1 - the image must be divided into small subimages to be encoded - works by successively subdividing the interval between 0 and 1 - impractical to use alone

Lossless Compresion Methods > Step By Step… Find the probability for each pixel Divide the initial subinterval based on the distribution The first pixel value is coded by extracting the subinterval corresponding to it, and subdivide again based on the same relative distribution Repeat step (3) for each pixel value until a final interval is determined Any value within this subinterval can be used to represent the sequence of gray-level values

Application Of Lossless Compression QuickTime ‘Animation’ Codec - suited for storage of two-dimensional animation and computer- generated video content. PICTools Medical Compression Toolkit’s High Speed Lossless JPEG by Pegasus. - uses in the field of cardiology and ultrasound imaging.

Application Of Lossless Compression Voice 4.0 (Voice ’s Lossless Audio Compression) - uses the latest in digital audio compression technology to compress messages before transferring them through CompuServe, America Online, Microsoft Network, and the Internet.

Recent Research Of Lossless Compression… PPG Lossless Image Compression Project by UCLA Develop/implement a lossless compression/decompression scheme for use with the UCLA PACS Image Archive satisfying the following Key Technical Requirements: 1. Relatively high speeds of compression/decompression. 2. Flexible enough to work with image data from all modalities. 3. Robust/high-reliability code and support environment (e.g. compilers). 4. Longevity, i.e. be able to restore original images after 20 years.