Digital Video Solutions to Midterm Exam 2008 Edited by Hung-Ming Wang Confirmed by Prof. Jar-Ferr Yang LAB: 92923 R, TEL: ext. 621

Slides:



Advertisements
Similar presentations
Sampling and Pulse Code Modulation
Advertisements

The Embedded Block Coding with Optimized Truncation in JPEG2000 蘇文鈺 Prepared By 黃文彬 成大資訊.
MPEG4 Natural Video Coding Functionalities: –Coding of arbitrary shaped objects –Efficient compression of video and images over wide range of bit rates.
Error Resilience for MPEG-4 Environment Nimrod Peleg Nov
School of Computing Science Simon Fraser University
Lecture 6: Huffman Code Thinh Nguyen Oregon State University.
1 Wavelets and compression Dr Mike Spann. 2 Contents Scale and image compression Signal (image) approximation/prediction – simple wavelet construction.
DWT based Scalable video coding with scalable motion coding Syed Jawwad Bukhari.
1/88 DCT Transform Decoder. 2/88 Image (512x512) Subsample (128x128) Manipulation Reposition : (256,256)-(384,384) Compress (JPEG) D array.
Greedy Algorithms. 2 Greedy Methods ( 描述 1) * 解最佳化問題的演算法, 其解題過程可看成是由一 連串的決策步驟所組成, 而每一步驟都有一組選擇 要選定. * 一個 greedy method 在每一決策步驟總是選定那目 前看來最好 的選擇. *Greedy.
JPEG 2000 Image Coding System Coding of Still Pictures JPEG 2000 Part I Final Committee Draft Version 1.0 April, 2000.
Overview of Fine Granularity Scalability in MPEG-4 Video Standard Weiping Li, Fellow, IEEE.
Communication & Multimedia C. -Y. Tsai 2005/12/15 1 Vidwav Wavelet Video Coding Specifications Student: Chia-Yang Tsai Advisor: Prof. Hsueh-Ming Hang Institute.
JPEG 2000: An Introduction.
Fundamentals of Multimedia Chapter 7 Lossless Compression Algorithms Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
Lecture 9: Spring 2009 Image Compression Standards
Notes by Shufang Wu Embedded Block Coding with Optimized Truncation - An Image Compression Algorithm Notes by Shufang Wu
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.
MPEG2 FGS Implementation ECE 738 Advanced Digital Image Processing Author: Deshan Yang 05/01/2003.
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Still Image Conpression JPEG & JPEG2000 Yu-Wei Chang /18.
Noiseless Coding. Introduction Noiseless Coding Compression without distortion Basic Concept Symbols with lower probabilities are represented by the binary.
Entropy coding Present by 陳群元. outline constraints  Compression efficiency  Computational efficiency  Error robustness.
Digital Video Solutions to Final Exam 2008 Edited by Hung-Ming Wang Shih-Ming Huang Confirmed by Prof. Jar-Ferr Yang LAB: R, TEL: ext
Digital Video Solutions to Midterm Exam 2012 Edited by Yang-Ting Chou Confirmed by Prof. Jar-Ferr Yang LAB: R, TEL: ext. 621
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 7 – Basics of Compression (Part 2) Klara Nahrstedt Spring 2011.
Concepts of Multimedia Processing and Transmission IT 481, Lecture 5 Dennis McCaughey, Ph.D. 19 February, 2007.
Hyperspectral Imagery Compression Using Three Dimensional Discrete Transforms Tong Qiao Supervisor: Dr. Jinchang Ren 04/07/2013.
Digital Image Processing
1 Multimedia Compression Algorithms Wen-Shyang Hwang KUAS EE.
Prof. Amr Goneid Department of Computer Science & Engineering
Chapter 9 Image Compression Standards 9.1 The JPEG Standard 9.2 The JPEG2000 Standard 9.3 The JPEG-LS Standard 9.4 Bi-level Image Compression Standards.
JPEG. The JPEG Standard JPEG is an image compression standard which was accepted as an international standard in  Developed by the Joint Photographic.
4C8 Image Compression.
Wavelet-based Coding And its application in JPEG2000 Monia Ghobadi CSC561 final project
JPEG CIS 658 Fall 2005.
Digital Video Solutions to Final Exam 2013 Edited by Yang-Ting Chou Confirmed by Prof. Jar-Ferr Yang LAB: R, TEL: ext. 621
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.
A hardware-Friendly Wavelet Entropy Codec for Scalable video Hendrik Eeckhaut ELIS-PARIS Ghent University Belgium.
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
JPEG2000 Yeh Po-Yin Lien Shao-Chieh Yang Yi-Lun. Outline Introduction Features Flow chart Discrete wavelet transform EBCOT ROI coding Comparison of ROI.
OVERVIEW OF JPEG2000 CORE CODING SYSTEM Department of Information and Communications Engineering Universitat Autònoma de Barcelona, Spain Francesc Aulí-Llinàs.
1 The Embedded Block Coding with Optimized Truncation (EBCOT) in JPEG2000.
Fine Granularity Scalability in MPEG-4 Video by Weiping Li Presentation by Warren Cheung.
JPEG - JPEG2000 Isabelle Marque JPEGJPEG2000. JPEG Joint Photographic Experts Group Committe created in 1986 by: International Organization for Standardization.
Overview of Fine Granularity Scalability in MPEG-4 Video Standard Weiping Li Presented by : Brian Eriksson.
JPEG Image Compression Standard Introduction Lossless and Lossy Coding Schemes JPEG Standard Details Summary.
Page 11/28/2016 CSE 40373/60373: Multimedia Systems Quantization  F(u, v) represents a DCT coefficient, Q(u, v) is a “quantization matrix” entry, and.
1 Yu Liu 1, Feng Wu 2 and King Ngi Ngan 1 1 Department of Electronic Engineering, The Chinese University of Hong Kong 2 Microsoft Research Asia, Beijing,
21 Audio Signal Processing -- Quantization Shyh-Kang Jeng Department of Electrical Engineering/ Graduate Institute of Communication Engineering.
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.
JPEG. Introduction JPEG (Joint Photographic Experts Group) Basic Concept Data compression is performed in the frequency domain. Low frequency components.
Presenter : r 余芝融 1 EE lab.530. Overview  Introduction to image compression  Wavelet transform concepts  Subband Coding  Haar Wavelet  Embedded.
An introduction to audio/video compression Prepared by :: Bhatt shivani ( )
Entropy vs. Average Code-length Important application of Shannon’s entropy measure is in finding efficient (~ short average length) code words The measure.
Digital Video Solutions to Midterm Exam 2004 Edited by Yu-Kuang Tu Confirmed by Prof. Jar-Ferr Yang LAB: R, TEL: ext. 621
MP3 and AAC Trac D. Tran ECE Department The Johns Hopkins University Baltimore MD
Information theory Data compression perspective Pasi Fränti
Image Compression-JPEG 2000
JPEG Compression What is JPEG? Motivation
Chapter 9 Image Compression Standards
JPEG.
The Johns Hopkins University
CSE 589 Applied Algorithms Spring 1999
Dynamic Buffering in EBCOT
MPEG4 Natural Video Coding
Presentation transcript:

Digital Video Solutions to Midterm Exam 2008 Edited by Hung-Ming Wang Confirmed by Prof. Jar-Ferr Yang LAB: R, TEL: ext Page of MPL:

2.1 (a) binary bits : { a 3, a 2,a 1,a 0 } (b) <W<0.8953, (57/64) Shadow Pixel Context number P( 0 | context number)

 Significance Coding (Normal Mode) [ zero coding ]  Use to code new significance.  9 contexts according to the significance of its neighbors.  Significance Coding (Run Mode) [run length coding]  Group 4 insignificant coefficients when they are very probable.  Reduce the average number of symbols needed to be coded.  One context for whether all four are insignificant. Four Types of Coding Primitives 2.2

Four Types of Coding Primitives  Magnitude Refinement Coding  3 contexts depending on the significance of its neighbors and whether it is the first time for refinement.  Sign Coding  Used to code the sign right after a coefficient is identified significant.  5 contexts based on the sign of four neighbors.

Significance Coding (Normal Mode) Current sample Formation of significance coding context 2.2

Coding Passes  3 coding passes for each bit-plane, p  Significance Propagation Pass  Sample location j belongs to this pass if it is insignificant, but has a significant neighborhood  Magnitude Refinement Pass  For any sample which was already significant in the previous bit-plane  Cleanup Pass  Including all samples for which information has not already been coded in bit-plane p 2.2

Primitive of Each Coding Pass  Significant Propagation Passes  ZC + SC  Magnitude Refinement Pass  MR  Cleanup Pass  RLC + ZC + SC RLC ( 連續 4 個 0 ,且鄰居都是 0) 2.2

zc sc zc sc zc sc zc Significance Propagation Pass (Pass 1) 2.2 : Coefficient which is already significant : Significance Propagation Pass (Pass 1) ZC: Zero Coding SC: Sign Coding (a)

zc sc zc sc zc sc zc Significance Propagation Pass (Pass 1) 2.2 : Coefficient which is already significant : Significance Propagation Pass (Pass 1) ZC: Zero Coding SC: Sign Coding (a)

Magnitude Refinement Pass (Pass 2) : Magnitude Refinement Pass (Pass 2) : Significance Propagation Pass (Pass 1) zc sc zc sc zc sc zc

Clean-up Pass (Pass 3) : Pass 1 : Pass 2 : Pass 3 (ZC) : Pass 3 (RLC) ZC: Zero Coding SC: Sign Coding RLC

2.2 (b) a: Magnitude refinement coding  h [j] = 1,  v [j] = 2,  d [j] = 1,  sig [j]=7  mag [j] = 15 or 16 b: ZC, LL band  h [j] = 1,  v [j] = 0,  d [j] = 1,  sig [j]=6 c: SC  h[j] = 0,  v[j] = 0, k sign [j] =9 d: RLC context number = 17 zc sc zc sc zc sc zc sc zc sc zc sc zc (a) (b) (c) (e) (f) zc R L C zc R L C 0(d)

e: ZC, LL band  h [j] = 0,  v [j] = 0,  d [j] = 0,  sig [j]=0 f: Magnitude refinement coding  h [j] = 1,  v [j] = 1,  d [j] = 1,  sig [j]=7  mag [j] = 15 or 16 (we don’t know  [j]) 2.2 (b)

2.2 (b)  sig [j] LL and LH blocksHL blocksHH blocks h[j]h[j] v[j]v[j] d[j]d[j] h[j]h[j] v[j]v[j] d[j]d[j] d[j]d[j]  h [j]+  v [j] 82xxx2x≥3x 71≥1x 1x ≥2 402x20x11 301x10x Assignment of context labels for significant coding “x” means “don’t care.”

2.2 (b) h[j]h[j] v[j]v[j]  sign  flip Assignment of context labels and flipping factor for sign coding  h [j],  v [j]: neighborhood sign status -1: one or both negative. 0: both insignificant or both significant but opposite sign. 1: one or both positive. Current sample

2.2 (b)  [j]  sig [j]  mag >015 1X16 Assignment of context labels and flipping factor for magnitude refinement coding  [j]: remains zero until after the first magnitude refinement bit has been coded. For subsequent refinement bits,  [j] = 1.  sig  [j]: context label for significant coding of sample j

2.2 (b) The entropy coder uses 19 different contexts which maybe summarized as follows: –Contexts 0 through 8 of the ZC primitive, –Contexts 9 through 13 of the SC primitive, –Contexts 14 through 16 of the MR primitive, –Contexts 17 of the RLC primitive, –Contexts 18 for the UNIFORM primitive.

2.3. n x[n]x[n] y 0 [2n] y 1 [2n+1] x0[n]x0[n] x1[n]x1[n] x’[n] y 0 [2n] y 0 [2n+1]

2.4. (a) (b) (c) (d) (e) (f) 水平掃描電壓波幅不足 In Fig. g, H bias ckt has problem 垂直掃描電壓波幅不足 In Fig. g, V bias ckt has problem Clock 不同步 In Fig. g, V bias ckt has problem Video Amplifier (AGC) 有問題 In Fig. h, the video amp (upper one) has problem with improper DC offset. Blanking level 不正常 In Fig. h, the video amp (upper one) has problem Color decoder 有問題 In Fig. h, the video amp (lower one) or 2~4.2M BPF has problem normal abnormal vertical Incorrect time

2.5 Initialization: LIP: { (0,0)  40, (0,1)  18, (1,0)  -20, (1,1)  15 } LIS: { D(0,1), D(1,0), D(1,1) } LSP: {} Significant Pass: Refinement Pass: LIP: { (0,0)  40, (0,1)  18, (1,0)  -20, (1,1)  15 } LIS: {D(0,1), D(1,0), D(1,1) } LSP: { (0,0)  40 } (a) (b) SPIHT 48

Significant Pass: Refinement Pass: 0 LIP: { (0,1)  18, (1,0)  -20, (1,1)  15 } LIS: { (0,1)D, (1,0)D, (1,1)D } LSP: { (0,0)  40, (0,1)  18, (1,0)  -20} Significant Pass: up to 20 bits Generated bitstream:

(c) Bitstream: Bitstream: (1) (2) (3)

EZW : –DWT SPIHT : –DWT, set partioning EBCOT : –DWT, block, bit-plane, RDO, resolution & SNR scalable 2.6

2.7 p(A) = 0.50, p(B) = 0.25, p(C) = 0.10, p(D)=p(E) = p(F) = 0.05 (a) Huffman code: A 0 (1) B 10 (01) C 110 (001) D 1110 (0001) E (00001) F (00000) A 0.5 B 0.25 C 0.10 D 0.05 E 0.05 F (b) RVLC code : A 0 B 101 C D E F

(c) Original Huffman code: 0, 10, 110, 1110, 11110, Optimal symmetrical RVLC A 0 B 11 C 101 D 1001 E F optimal symmetrical RVLC : 從後面長

Prefix conflict Optimal asymmetrical RVLC A 0 B 11 C 101 D 1001 E F (d) Original Huffman code: 0, 10, 110, 1110, 11110, optimal asymmetrical RVLC : 從前面長

1.(a) Color Substracting Mixing vs. Color Additive Mixing ex: ink ex: light dyes 1.(b) QMF vs. Subband Coding

1.(c) Bringhtness versus Hue 1.(d) Error Resilience versus Reversible VLC

1.(e) Simultaneous Effect versus Weber’s Law 同一顏色會受到相鄰顏色 ( 背景色 ) 的影響 1.(f) ROI versus MaxShift