Last update on June 15, 2010 Doug Young Suh

Slides:



Advertisements
Similar presentations
JPEG Compresses real images Standard set by the Joint Photographic Experts Group in 1991.
Advertisements

11/11/02 IDR Workshop Dealing With Location Uncertainty in Images Hasan F. Ates Princeton University 11/11/02.
Technion - IIT Dept. of Electrical Engineering Signal and Image Processing lab Transrating and Transcoding of Coded Video Signals David Malah Ran Bar-Sella.
School of Computing Science Simon Fraser University
Lecture05 Transform Coding.
H.264 / MPEG-4 Part 10 Nimrod Peleg March 2003.
SWE 423: Multimedia Systems Chapter 7: Data Compression (3)
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
Transform Domain Distributed Video Coding. Outline  Another Approach  Side Information  Motion Compensation.
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
SWE 423: Multimedia Systems Chapter 7: Data Compression (5)
5. 1 JPEG “ JPEG ” is Joint Photographic Experts Group. compresses pictures which don't have sharp changes e.g. landscape pictures. May lose some of the.
The Frequency Domain Sinusoidal tidal waves Copy of Katsushika Hokusai The Great Wave off Kanagawa at
Image and Video Compression
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
Lossy Compression Based on spatial redundancy Measure of spatial redundancy: 2D covariance Cov X (i,j)=  2 e -  (i*i+j*j) Vertical correlation   
Quantization and error Last updated on June 15, 2010 Doug Young Suh 8/30/2015.
JPEG C OMPRESSION A LGORITHM I N CUDA Group Members: Pranit Patel Manisha Tatikonda Jeff Wong Jarek Marczewski Date: April 14, 2009.
Transform Coding Heejune AHN Embedded Communications Laboratory
MPEG-1 and MPEG-2 Digital Video Coding Standards Author: Thomas Sikora Presenter: Chaojun Liang.
Windows Media Video 9 Tarun Bhatia Multimedia Processing Lab University Of Texas at Arlington 11/05/04.
1 Chapter 5 Image Transforms. 2 Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post Processing Scaling.
Videos Mei-Chen Yeh. Outline Video representation Basic video compression concepts – Motion estimation and compensation Some slides are modified from.
Performance Enhancement of Video Compression Algorithms using SIMD Valia, Shamik Jamkar, Saket.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
Codec structuretMyn1 Codec structure In an MPEG system, the DCT and motion- compensated interframe prediction are combined. The coder subtracts the motion-compensated.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
Understanding JPEG MIT-CETI Xi’an ‘99 Lecture 10 Ben Walter, Lan Chen, Wei Hu.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
DCT.
Media signal Media format Last updated on June 15, 2010 Doug Young Suh
Copyright © 2003 Texas Instruments. All rights reserved. DSP C5000 Chapter 18 Image Compression and Hardware Extensions.
Digital Image Processing Lecture 21: Lossy Compression Prof. Charlene Tsai.
Motivation: Wavelets are building blocks that can quickly decorrelate data 2. each signal written as (possibly infinite) sum 1. what type of data? 3. new.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Chapter 8 Lossy Compression Algorithms. Fundamentals of Multimedia, Chapter Introduction Lossless compression algorithms do not deliver compression.
(B1) What are the advantages and disadvantages of digital TV systems? Hint: Consider factors on noise, data security, VOD etc. 1.
MPEG CODING PROCESS. Contents  What is MPEG Encoding?  Why MPEG Encoding?  Types of frames in MPEG 1  Layer of MPEG1 Video  MPEG 1 Intra frame Encoding.
Chapter 13 Discrete Image Transforms
Wavelets Chapter 7 Serkan ERGUN. 1.Introduction Wavelets are mathematical tools for hierarchically decomposing functions. Regardless of whether the function.
Fourier transform.
Signal Prediction and Transformation Trac D. Tran ECE Department The Johns Hopkins University Baltimore MD
Complexity varying intra prediction in H.264 Supervisors: Dr. Ofer Hadar, Mr. Evgeny Kaminsky Students: Amit David, Yoav Galon.
Chapter 8 Lossy Compression Algorithms
Singular Value Decomposition and its applications
Image Transformation Spatial domain (SD) and Frequency domain (FD)
JPEG Compression What is JPEG? Motivation
Last updated on June 15, 2010 Doug Young Suh
An Example of 1D Transform with Two Variables
Algorithms in the Real World
Digital Image Processing Lecture 21: Lossy Compression
A Simple Image Compression : JPEG
Image Compression The still image and motion images can be compressed by lossless coding or lossy coding. Principle of compression: - reduce the redundant.
경희대학교 MediaLab 서 덕 영 Information theory 경희대학교 MediaLab 서 덕 영
Digital 2D Image Basic Masaki Hayashi
CSI-447: Multimedia Systems
Dr. Nikos Desypris, Oct Lecture 3
Regression-Based Prediction for Artifacts in JPEG-Compressed Images
DSP Lab. Week 7 CDMA and noise
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.
4. DIGITAL IMAGE TRANSFORMS 4.1. Introduction
Standards Presentation ECE 8873 – Data Compression and Modeling
UNIT IV.
Image Compression Techniques
1-D DISCRETE COSINE TRANSFORM DCT
Image Coding and Compression
Digital Image Procesing Discrete CosineTrasform (DCT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL.
Presentation transcript:

Last update on June 15, 2010 Doug Young Suh suh@khu.ac.kr Transformation Last update on June 15, 2010 Doug Young Suh suh@khu.ac.kr 7/30/2018

Entropy and compression amount of information = degree of surprise Entropy and average code length Information source and coding Memoryless source : no correlation ∙∙∙∙∙ Red blue yellow yellow red black red ∙∙∙ 00011010001100 ∙∙∙ 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University Entropy Entropy What if {0.99,0.003,0.003,0.004}? H(X)≈0 Reduce H(X)!! We need narrower pdf. 1/4 1 2 3 4 1/2 1/4 1/8 1 2 3 4 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University How to get small H(X)? Transformation Signals in the frequency domain or mapping into more probable vectors Predict to reduce uncertainty H(X) = “degree of uncertainty” Prediction by using known information 7/30/2018 Media Lab. Kyung Hee University

Set of ortho-normal vectors Inner product of two orthogonal vectors is 0. Inner product Add multiplications at the same positions. Normal Normal 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University Mapping to { , } Any vector in the 2 dimensional space can be represented by weighted sum of 2 ortho-normal vectors.                                                                        In this case, c0 is stronger. What does it mean “a weight is large”? weights 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University How to get the weights? Inner product for weight More generally, 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University 2 point DCT/IDCT 2 point DCT/IDCT DCT IDCT 7/30/2018 Media Lab. Kyung Hee University

4-pt transform 4 basis vectors (i.e. code) possible C1 =[½ ½ ½ ½ ] Matrix representation Networked Video

Media Lab. Kyung Hee University 8-pt DCT with 8D vectors Any set of 8 data can be represented by weighted sum of 8 ortho-normal vectors 8 weights for 8 ortho-normal vectors in the 8 dimensional spaces. Frequency 0  DC, constant (not varying) 7/30/2018 Media Lab. Kyung Hee University

8X8D ortho-normal vectors is calculated for u=1 and x=0~7 (cosine 1/2 period) is calculated for u=2 and x=0~7 (cosine 1 period) is calculated for u=3 and x=0~7 (cosine 1.5 period) is calculated for u=7 and x=0~7 (cosine 3.5 period) 7/30/2018 Media Lab. Kyung Hee University

8 8D ortho-normal vectors DC frequency 0 u=0 From low frequency u=1 u=2 u=3 To high frequency n=0  n=3  n=7 7/30/2018 Media Lab. Kyung Hee University

8 8D ortho-normal vectors From low frequency u=4 u=5 u=6 u=7 To high frequency n=0  n=3  n=7 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University 8-pt DCT/IDCT IDCT DCT 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University 8-pt DCT of DC DC : constant signal 255 255 255 255 255 255 255 255 722 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University 8-pt DCT of step signal Step signal 255 255 255 255 360 326 -114 77 65 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University 8-pt DCT of step signal High frequency signal 255 255 255 255 360 65 77 114 327 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University 8x8 DCT 2D DCT of the 8x8 block, 64 pixels 8 point DCT for 8 rows of 8 pixels  8 point DCT for 8 columns 8x8 DCT 8x8 IDCT 7/30/2018 Media Lab. Kyung Hee University

8x8 DCT 8 pt DCT is to calculate weights for 8 1D basic patterns, while 8x8 2D DCT is to calculate weights for 64 2D basic patterns. For example,

8x8 DCT 64 8x8 patterns U=0 U=7 v=0 v=7

Media Lab. Kyung Hee University 2D 8x8 DCT By using 8X8 DCT, 64 weights are calculated and stored, respectively. These are 2D 8x8 DCT coefficients. 7/30/2018 Media Lab. Kyung Hee University

2D 8x8 DCT at horizontal edge F00 and F01 are large. For u>0, they are almost 0. DCT Block with Horizontal edge DCT of Horizontal edge 7/30/2018 Media Lab. Kyung Hee University

Block with vertical edge Media Lab. Kyung Hee University 2D 8x8 DCT at vertical edge F00 and F10 are large. For v>0, the values are small. F10 < 0 ? DCT Block with vertical edge DCT of vertical edge 7/30/2018 Media Lab. Kyung Hee University

Low pass filtering (LPF) Remove weights of higher frequency LPF 7/30/2018 Media Lab. Kyung Hee University

Media Lab. Kyung Hee University Energy compaction More compression when energy distribution is focused to a direction. The simpler an image, the more compression. DCT is better than DFT for image.  KL transform! Ortho-normal vector patterns of DCT are better suited to image. 1 2 3 4 5 6 7 Simple image Complex image DCT DFT 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 7/30/2018 Media Lab. Kyung Hee University

Matrix representation Matrix representation of 4x4-pt transform where , then Complexity ~ O(N3)  needs fast algorithm Networked Video

Media Lab. Kyung Hee University Summary Transform for compression Energy compaction transform = inner product to ortho-normal vectors weighted sum Weights = frequency coefficients No information loss at all !! 7/30/2018 Media Lab. Kyung Hee University

Video encoding 2-1 2-3 2-2 DCT Q VLC IQ IDCT Original Video Encoded + DCT Q VLC Encoded Bitstream IQ Motion Estimation Motion vector Frame Memory IDCT Networked Video