Image Compression (Chapter 8) CSC 446 Lecturer: Nada ALZaben.

Slides:



Advertisements
Similar presentations
Data Compression CS 147 Minh Nguyen.
Advertisements

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.
Michael Alves, Patrick Dugan, Robert Daniels, Carlos Vicuna
Data Compression Michael J. Watts
Compression & Huffman Codes
Compression Techniques. Digital Compression Concepts ● Compression techniques are used to replace a file with another that is smaller ● Decompression.
SWE 423: Multimedia Systems
Department of Computer Engineering University of California at Santa Cruz Data Compression (1) Hai Tao.
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.
A Data Compression Algorithm: Huffman Compression
Compression & Huffman Codes Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Klara Nahrstedt Spring 2014
Fundamentals of Multimedia Chapter 7 Lossless Compression Algorithms Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
Lossless Data Compression Using run-length and Huffman Compression pages
Lossless Compression - I Hao Jiang Computer Science Department Sept. 13, 2007.
Data Compression Basics & Huffman Coding
Data dan Teknologi Multimedia Sesi 08 Nofriyadi Nurdam.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
Software Research Image Compression Mohamed N. Ahmed, Ph.D.
CSE Lectures 22 – Huffman codes
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.
Source Coding-Compression
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 7 – Basics of Compression (Part 2) Klara Nahrstedt Spring 2011.
1 Analysis of Algorithms Chapter - 08 Data Compression.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 6 – Basics of Compression (Part 1) Klara Nahrstedt Spring 2010.
 The amount of data we deal with is getting larger  Not only do larger files require more disk space, they take longer to transmit  Many times files.
Compression.  Compression ratio: how much is the size reduced?  Symmetric/asymmetric: time difference to compress, decompress?  Lossless; lossy: any.
Digital Image Processing Image Compression
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.
COMPRESSION. Compression in General: Why Compress? So Many Bits, So Little Time (Space) CD audio rate: 2 * 2 * 8 * = 1,411,200 bps CD audio storage:
An introduction to audio/video compression Dr. Malcolm Wilson.
Computer Vision – Compression(1) Hanyang University Jong-Il Park.
Huffman Code and Data Decomposition Pranav Shah CS157B.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 6 – Basics of Compression (Part 1) Klara Nahrstedt Spring 2011.
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
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.
Chapter Five Making Connections Efficient: Multiplexing and Compression Data Communications and Computer Networks: A Business User’s Approach Eighth Edition.
Multi-media Data compression
1 Data Compression Hae-sun Jung CS146 Dr. Sin-Min Lee Spring 2004.
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.
Dr. Hadi AL Saadi Image Compression. Goal of Image Compression Digital images require huge amounts of space for storage and large bandwidths for transmission.
An introduction to audio/video compression Prepared by :: Bhatt shivani ( )
Computer Sciences Department1. 2 Data Compression and techniques.
Compression and Huffman Coding. Compression Reducing the memory required to store some information. Lossless compression vs lossy compression Lossless.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Data Compression: Huffman Coding in Weiss (p.389)
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.
Data Compression Michael J. Watts
Design & Analysis of Algorithm Huffman Coding
Compression & Huffman Codes
Digital Image Processing Lecture 20: Image Compression May 16, 2005
IMAGE COMPRESSION.
Lecture 7 Data Compression
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.
Image Compression Fundamentals Error-Free Compression
Chapter 11 Data Compression
Image Coding and Compression
File Compression Even though disks have gotten bigger, we are still running short on disk space A common technique is to compress files so that they take.
Data Compression.
Presentation transcript:

Image Compression (Chapter 8) CSC 446 Lecturer: Nada ALZaben

Outline:  Introduction.  Image Compression Model.  Compression Types.  Data Redundancy.  Redundancy Types.  Coding redundancy  Lossless compression

Introduction  Most data nowadays are available on line and for the limited storage space and communications requirement, methods of compressing data prior to storage and/or transmission are being interesting study field.  Image compression address the problem of reducing the amount of data required to represent a digital image.  Image compression is done prior to storage and/or transmission and then decompressed to reconstruct the original image.

Image Compression Model  Source encoder: removes input redundancy.  Channel encoder: increase the noise immunity of source encoder output.  Channel: if it is noise free the channel encoder and channel decoder is omitted.

Compression Types 1) Lossy image compression: is useful in applications such as broadcasting television and video conferencing in which certain amount of error is acceptable trade off for increased compression performance. 2) Lossless image compression: useful in image archiving such as medical records where the image will be compressed and decompressed without losing any information.

Data redundancy [1]

Data redundancy [2]

Redundancy Types 1) Coding redundancy. 2) Interpixel redundancy. 3) Psychvisual redundancy. Data compression is done if one or more of these types are achived.

Coding Redundancy

Coding Redundancy [example]

Lossless Compression  Assigning fewer bits to the more probabilty gray level than the least probable ones achive data compression which is called “variable- length coding”  Lossless compression  “Huffman code” is a kind of the variable length coding.

Lossless Compression  “Huffman code example”.  The letters A,B,C,D, and E are to be encoded and have relative probability of occurrence as follows:  p(A)=0.16, p(B)=0.51, p(C)=0.09, p(D)=0.13, p(E)=0.11  the two characters with the lowest probability are combined in the first binary tree which has the characters as leaves. p(CE)=0.20  Each right branch 1 and each left branch 0

“Huffman code example”.

Lossless Compression  “Run- length encoding”  Lossless compression.  The Idea of run-length encoding is replaceing long sequences (runs) of identical samples with a special code that indicates the value to be repeated and the number of times repeated RLE (3,1)(2,0)(1,1)(4,0)