Computer Vision – Compression(1) Hanyang University Jong-Il Park.

Slides:



Advertisements
Similar presentations
Lecture 2: Basic Information Theory TSBK01 Image Coding and Data Compression Jörgen Ahlberg Div. of Sensor Technology Swedish Defence Research Agency (FOI)
Advertisements

Information Theory EE322 Al-Sanie.
Chapter 6 Information Theory
SWE 423: Multimedia Systems
Fundamental limits in Information Theory Chapter 10 :
Spatial and Temporal Data Mining
Image Compression (Chapter 8)
Losslessy Compression of Multimedia Data Hao Jiang Computer Science Department Sept. 25, 2007.
Lossless Compression - I Hao Jiang Computer Science Department Sept. 13, 2007.
Department of Computer Engineering University of California at Santa Cruz Data Compression (2) Hai Tao.
2007Theo Schouten1 Compression "lossless" : f[x,y]  { g[x,y] = Decompress ( Compress ( f[x,y] ) | “lossy” : quality measures e 2 rms = 1/MN  ( g[x,y]
Noise, Information Theory, and Entropy
Lecture 3 Outline Announcements: No class Wednesday Friday lecture (1/17) start at 12:50pm Review of Last Lecture Communication System Block Diagram Performance.
Noise, Information Theory, and Entropy
Software Research Image Compression Mohamed N. Ahmed, Ph.D.
©2003/04 Alessandro Bogliolo Background Information theory Probability theory Algorithms.
Huffman Coding Vida Movahedi October Contents A simple example Definitions Huffman Coding Algorithm Image Compression.
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.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
MULTIMEDIA TECHNOLOGY SMM 3001 DATA COMPRESSION. In this chapter The basic principles for compressing data The basic principles for compressing data Data.
Digital Image Processing
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.
Channel Capacity.
Image Processing and Computer Vision: 91. Image and Video Coding Compressing data to a smaller volume without losing (too much) information.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
Image Compression (Chapter 8) CSC 446 Lecturer: Nada ALZaben.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
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.
Digital Image Processing Image Compression
Image Compression – Fundamentals and Lossless Compression Techniques
Outline Kinds of Coding Need for Compression Basic Types Taxonomy Performance Metrics.
Image Compression Fasih ur Rehman. Goal of Compression Reduce the amount of data required to represent a given quantity of information Reduce relative.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
Information & Communication INST 4200 David J Stucki Spring 2015.
Chapter 17 Image Compression 17.1 Introduction Redundant and irrelevant information  “Your wife, Helen, will meet you at Logan Airport in Boston.
Outline Transmitters (Chapters 3 and 4, Source Coding and Modulation) (week 1 and 2) Receivers (Chapter 5) (week 3 and 4) Received Signal Synchronization.
Coding Theory Efficient and Reliable Transfer of Information
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.
CS654: Digital Image Analysis
CS654: Digital Image Analysis Lecture 34: Different Coding Techniques.
1 Source Coding and Compression Dr.-Ing. Khaled Shawky Hassan Room: C3-222, ext: 1204, Lecture 10 Rate-Distortion.
1 Lecture 7 System Models Attributes of a man-made system. Concerns in the design of a distributed system Communication channels Entropy and mutual information.
Digital Image Processing Lecture 22: Image Compression
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Image Compression Review of Basics Huffman coding run length coding Quantization.
Image Processing Architecture, © Oleh TretiakPage 1Lecture 4 ECE-C490 Winter 2004 Image Processing Architecture Lecture 4, 1/20/2004 Principles.
Multi-media Data compression
(B1) What are the advantages and disadvantages of digital TV systems? Hint: Consider factors on noise, data security, VOD etc. 1.
SEAC-3 J.Teuhola Information-Theoretic Foundations Founder: Claude Shannon, 1940’s Gives bounds for:  Ultimate data compression  Ultimate transmission.
Entropy estimation and lossless compression Structure and Entropy of English How much lossless compression can be achieved for a given image? How much.
IT472 Digital Image Processing
Entropy vs. Average Code-length Important application of Shannon’s entropy measure is in finding efficient (~ short average length) code words The measure.
UNIT –V INFORMATION THEORY EC6402 : Communication TheoryIV Semester - ECE Prepared by: S.P.SIVAGNANA SUBRAMANIAN, Assistant Professor, Dept. of ECE, Sri.
Image Processing Architecture, © Oleh TretiakPage 1Lecture 5 ECEC 453 Image Processing Architecture Lecture 5, 1/22/2004 Rate-Distortion Theory,
IMAGE PROCESSING IMAGE COMPRESSION
Digital Image Processing Lecture 20: Image Compression May 16, 2005
IMAGE COMPRESSION.
Image Compression The still image and motion images can be compressed by lossless coding or lossy coding. Principle of compression: - reduce the redundant.
CH 8. Image Compression 8.1 Fundamental 8.2 Image compression models
Image Compression 9/20/2018 Image Compression.
Digital Multimedia Coding
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.
COT 5611 Operating Systems Design Principles Spring 2014
Image Compression Fundamentals Error-Free Compression
CSE 589 Applied Algorithms Spring 1999
Source Encoding and Compression
Presentation transcript:

Computer Vision – Compression(1) Hanyang University Jong-Il Park

Department of Computer Science and Engineering, Hanyang University Image Compression The problem of reducing the amount of data required to represent a digital image Underlying basis  Removal of redundant data Mathematical viewpoint  Transforming a 2-D pixel array into a statistically uncorrelated data set

Department of Computer Science and Engineering, Hanyang University Topics to be covered Fundamentals  Basic concepts of source coding theorem Practical techniques  Lossless coding  Lossy coding  Optimum quantization  Predictive coding  Transform coding Standards  JPEG  MPEG  Recent issues

Department of Computer Science and Engineering, Hanyang University History of image compression Theoretic foundation  C.E.Shannon’s works in 1940s Analog compression  Aiming at reducing video transmission bandwidth  Bandwidth compression  Eg. Subsampling methods, subcarrier modulation… Digital compression  Owing to the development of ICs and computers  Early 70s: Facsimile transmission – 2D binary image coding  Academic research in 70s to 80s  Rapidly matured around  standardization such as JPEG, MPEG, H.263, …

Department of Computer Science and Engineering, Hanyang University Data redundancy Data vs. information Data redundancy Relative data redundancy Three basic redundancies 1. Coding redundancy 2. Interpixel redundancy 3. Psychovisual redundancy

Department of Computer Science and Engineering, Hanyang University Coding redundancy Code: a system of symbols used to represent a body of information or set of events Code word: a sequence of code symbols Code length: the number of symbols in each code word Average number of bits

Department of Computer Science and Engineering, Hanyang University Eg. Coding redundancy Reduction by variable length coding

Department of Computer Science and Engineering, Hanyang University Correlation Cross correlation Autocorrelation

Department of Computer Science and Engineering, Hanyang University Eg. Correlation

Department of Computer Science and Engineering, Hanyang University Interpixel redundancy Spatial redundancy Geometric redundancy Interframe redundancy

Department of Computer Science and Engineering, Hanyang University Eg. Interpixel redundancy

Department of Computer Science and Engineering, Hanyang University Eg. Run-length coding

Department of Computer Science and Engineering, Hanyang University Psychovisual redundancy +

Department of Computer Science and Engineering, Hanyang University Image compression models Communication model Source encoder and decoder

Department of Computer Science and Engineering, Hanyang University Basic concepts in information theory Self-information: I(E)= - log P(E) Source alphabet A and symbols Probability of the events z Ensemble (A, z) Entropy(=uncertainty): Channel alphabet B Channel matrix Q

Department of Computer Science and Engineering, Hanyang University Mutual information and capacity Equivocation: Mutual information: Channel capacity C  Minimum possible I (z,v)=0  Maximum possible I over all possible choices of source probabilities in z is the channel capacity

Department of Computer Science and Engineering, Hanyang University Eg. Binary Symmetric Channel Entropy Mutual information Channel capacity p e pepe pepe p bs 1-p bs BSC

Department of Computer Science and Engineering, Hanyang University Noiseless coding theorem Shannon’s first theorem for a zero-memory source It is possible to make L’ avg /n arbitrarily close to H(z) by coding infinitely long extensions of the source Efficiency = entropy/ L’ avg Eg. Extension coding  Extension coding  better efficiency

Department of Computer Science and Engineering, Hanyang University Extension coding A B A Efficiency =0.918/1.0=0.918 B Efficiency =0.918*2/1.89=0.97 Better efficiency

Department of Computer Science and Engineering, Hanyang University Noisy coding theorem Shannon’s second theorem for a zero-memory channel: For any R<C, there exists an integer r and code of block length r and rate R such that the probability of a block decoding error is arbitrarily small. Rate-Distortion theory The source output can be recovered at the decoder with an arbitrarily small probability of error provided that the channel has capacity C > R(D)+e. x x x x Never Feasible! feasible

Department of Computer Science and Engineering, Hanyang University Using mappings to reduce entropy 1st order estimate of entropy > 2 nd order estimate of entropy > 3 rd order estimate of entropy …. The (estimated) entropy of a properly mapped image (eg. “difference source”) is in most cases smaller than that of original image source. How to implement ? The topic of the next lecture!