ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission (11-20 -06) Lossy wavelet encoding Subband decomposition & coding Wavelet transform Embedded.

Slides:



Advertisements
Similar presentations
Chapter 6 Review.
Advertisements

Two-Dimensional Wavelets
School of Computing Science Simon Fraser University
Video enhances, dramatizes, and gives impact to your multimedia application. Your audience will better understand the message of your application.
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.
Wavelet Based Image Coding. [2] Construction of Haar functions Unique decomposition of integer k  (p, q) – k = 0, …, N-1 with N = 2 n, 0
Wavelet Based Image Coding
SWE 423: Multimedia Systems Chapter 5: Video Technology (1)
Image (and Video) Coding and Processing Lecture: DCT Compression and JPEG Wade Trappe Again: Thanks to Min Wu for allowing me to borrow many of her slides.
Comp :: Fall 2003 Video As A Datatype Ketan Mayer-Patel.
Sample rate conversion At times, it will be necessary to convert the sampling rate in a source signal to some other sampling rate Consider converting from.
Wavelet-based Coding And its application in JPEG2000 Monia Ghobadi CSC561 project
CMPT 365 Multimedia Systems
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
MPEG-2 Digital Video Coding Standard
CSE679: MPEG r MPEG-1 r MPEG-2. MPEG r MPEG: Motion Pictures Experts Group r Standard for encoding videos/movies/motion pictures r Evolving set of standards.
Image and Video Compression
Still Image Conpression JPEG & JPEG2000 Yu-Wei Chang /18.
Lossy Compression Based on spatial redundancy Measure of spatial redundancy: 2D covariance Cov X (i,j)=  2 e -  (i*i+j*j) Vertical correlation   
JPEG 2000 Image Type Image width and height: 1 to 2 32 – 1 Component depth: 1 to 32 bits Number of components: 1 to 255 Each component can have a different.
Video Media Department of Computer Education KMUTNB.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 8 – JPEG Compression (Part 3) Klara Nahrstedt Spring 2012.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Digital Video Motion Pictures Broadcast Television Digital Video 11/28.
1 Image Compression. 2 GIF: Graphics Interchange Format Basic mode Dynamic mode A LZW method.
Multimedia Data Video Compression The MPEG-1 Standard
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Encoding of Waveforms Encoding of Waveforms to Compress Information.
MPEG-1 and MPEG-2 Digital Video Coding Standards Author: Thomas Sikora Presenter: Chaojun Liang.
Comparative study of various still image coding techniques. Harish Bhandiwad EE5359 Multimedia Processing.
Concepts of Multimedia Processing and Transmission IT 481, Lecture 5 Dennis McCaughey, Ph.D. 19 February, 2007.
Video Video.
DIGITAL Video. Video Creation Video captures the real world therefore video cannot be created in the same sense that images can be created video must.
JPEG. The JPEG Standard JPEG is an image compression standard which was accepted as an international standard in  Developed by the Joint Photographic.
Image Processing and Computer Vision: 91. Image and Video Coding Compressing data to a smaller volume without losing (too much) information.
Wavelet-based Coding And its application in JPEG2000 Monia Ghobadi CSC561 final project
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
JPEG CIS 658 Fall 2005.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
What Exactly is Television?  A process of transmitting images through a signal from one place or another.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( , ) JPEG block based transform coding Beyond basic JPEG Spatial correlation.
Image/Video Coding Techniques for IPTV Applications Wen-Jyi Hwang ( 黃文吉 ) Department of Computer Science and Information Engineering, National Taiwan Normal.
M. Wu: ENEE631 Digital Image Processing (Spring'09) Subband and Wavelet Coding Spring ’09 Instructor: Min Wu Electrical and Computer Engineering Department,
Fine Granularity Scalability in MPEG-4 Video by Weiping Li Presentation by Warren Cheung.
Digital Video Digital video is basically a sequence of digital images  Processing of digital video has much in common with digital image processing First.
IT2002 ATI Naiwala 1 By ATI Naiwala. IT2002 ATI Naiwala Combination of time Variant Image and Sound – Most realistic media Dynamic Huge data size(Very.
JPEG - JPEG2000 Isabelle Marque JPEGJPEG2000. JPEG Joint Photographic Experts Group Committe created in 1986 by: International Organization for Standardization.
JPEG Image Compression Standard Introduction Lossless and Lossy Coding Schemes JPEG Standard Details Summary.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Image Compression Quantization independent samples uniform and optimum correlated.
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.
Block-based coding Multimedia Systems and Standards S2 IF Telkom University.
3-D WAVELET BASED VIDEO CODER By Nazia Assad Vyshali S.Kumar Supervisor Dr. Rajeev Srivastava.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) JPEG block based transform coding.... Why DCT for Image transform? DFT DCT.
Presenter : r 余芝融 1 EE lab.530. Overview  Introduction to image compression  Wavelet transform concepts  Subband Coding  Haar Wavelet  Embedded.
Video Concepts and Techniques 1 SAMARTH COLLEGE OF ENGINEERING &TECHNOLOLOGY DEPARTMENT OF ELECTRONIC & COMMUNICATION ENGINEERING 5th semester (E&C) Subject.
Digital Video Representation Subject : Audio And Video Systems Name : Makwana Gaurav Er no.: : Class : Electronics & Communication.
MP3 and AAC Trac D. Tran ECE Department The Johns Hopkins University Baltimore MD
Image Compression-JPEG 2000
Fundamental concepts in video
CSI-447 : Multimedia Systems
JPEG Compression What is JPEG? Motivation
CSI-447: Multimedia Systems
CMPT 365 Multimedia Systems
ELE 488 Fall 2006 Image Processing and Transmission ( )
The Johns Hopkins University
Embedded Zerotree Wavelet - An Image Coding Algorithm
Wavelet Based Image Coding
Standards Presentation ECE 8873 – Data Compression and Modeling
Presentation transcript:

ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Lossy wavelet encoding Subband decomposition & coding Wavelet transform Embedded zero tree Successive approximation quantization Digital Video 11/20

ELE 488 F06 Subband Decomposition + Coding Encoding / Decoding G 0 (z) = H 0 (z) = H 1 (-z) = - G 1 (-z) aliasing free H 0 – lowpass, H 1 – highpass Specified by a single filter H 0 (z)

ELE 488 F06 Filterbank and Discrete Wavelet Transform (Mitra – section 14.5, 14.6) More subbands Specified by a single filter H 1 (z)

ELE 488 F06 Total # of u samples same as # of x samples

ELE 488 F06 From x[n] to {u k [n]} Discrete Wavelet Transform (forward DWT) Mother wavelet Scaling function (level k) Discrete Wavelet Transform (forward DWT)

ELE 488 F06 Inverse Discrete Wavelet Transform (IDWT)

ELE 488 F06 Example – Haar Wavelet H 0 (z) = H 1 (-z) Other wavelets

ELE 488 F06

Examples of 1-D Wavelet Transform Note: low frequency components similar From Matlab Wavelet Toolbox Documentation UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06 UMCP ENEE631 Slides (created by M.Wu © 2004) 2-D Wavelet Transform via Separable Filters From Usevitch (IEEE Sig.Proc. Mag. 9/01) Note numbering of freq bands

ELE 488 F06 Embedded Zero-Tree Wavelet Coding (EZW) Exploits multi-resolution and self-similar nature of wavelet decomposition –Energy is compacted into a small number of coeff. –Significant coeff w.r.t. a threshold tend to cluster at the same position in each frequency subband Two sets of info. to code: –Where are the significant coefficients? (significance map) –What values are the significant coefficients? Usevitch (IEEE Sig.Proc. Mag. 9/01) UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06 Key Concepts in EZW Parent-children relation among coeff. –A coeff at level k spatially correlates with 4 child coeff at level (k-1) of same orientation –A lowest band coeff correlates with 3 coeff. Coding significance map via zero-tree –Encode only high energy coefficients Need to send location info.  large overhead –Encode “insignificance map” with zero- trees Successive approximation quantization –Send most-significant-bits first and gradually refine coeff. value –“Embedded” nature of coded bit-stream Improve image quality by adding extra refining bits UMCP ENEE631 Slides (created by M.Wu © 2001) Usevitch (IEEE Sig.Proc. Mag. 9/01)

ELE 488 F06 EZW Algorithm and Example Initial threshold ~ 2 ^ floor(log 2 x max ) –Put all coeff. in dominant list Dominant Pass (“zig-zag” across bands) –Assign symbol to each coeff. and entropy encode symbols ps – positive significance ns – negative significance iz – isolated zero ztr – zero-tree root –Significant coeff. move to subordinate list put zero in dominant list Subordinate Pass –Output one bit for subordinate list According to position in up/low half of quantization interval Repeat with half threshold –Until bit budget achieved From Usevitch (IEEE Sig.Proc. Mag. 9/01) UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06 1 st Pass UMCP ENEE631 Slides (created by M.Wu © 2001) x max = 53, 32< 53 < 64, T o = 32 Only 2 coef in [32,64) (32+64)/2 = 48 48<53<64  1, 32<34<48  0

ELE 488 F06 After 1 st Pass UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06 2 nd Pass From Usevitch (IEEE Sig.Poc. Mag. 9/01) UMCP ENEE631 Slides (created by M.Wu © 2001) T o =32, T 1 =16, 16< 22 < 32, (16+32)/2 = 24

ELE 488 F06 EZW Algorithm and Example Initial threshold ~ 2 ^ floor(log 2 x max ) –Put all coeff. in dominant list Dominant Pass (“zig-zag” across bands) –Assign symbol to each coeff. and entropy encode symbols ps – positive significance ns – negative significance iz – isolated zero ztr – zero-tree root –Significant coeff. move to subordinate list put zero in dominant list Subordinate Pass –Output one bit for subordinate list According to position in up/low half of quantization interval Repeat with half threshold –Until bit budget reached UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06 Beyond EZW Cons of EZW –Poor error resilience –Difficult for selective spatial decoding SPIHT (Set Partitioning in Hierarchal Trees) –Further improvement over EZW to remove redundancy EBCOT (Embedded Block Coding with Optimal Truncation) –Used in JPEG 2000 –Address the shortcomings of EZW (random access, error resilience, …) –Embedded wavelet coding in each block + bit-allocations among blocks UMCP ENEE631 Slides (created by M.Wu © 2001/2004)

ELE 488 F06 JPEG 2000: A Wavelet-Based New Standard Targets and features –Excellent low bit rate performance without sacrifice performance at higher bit rate –Progressive decoding to allow from lossy to lossless –Region-of-interest (ROI) coding –Error resilience For details –David Taubman: “High Performance Scalable Image Compression with EBCOT”, IEEE Trans. On Image Proc, July –JPEG2000 Tutorial by Skrodras et al IEEE Sig. Proc Magazine Sept 01 –Links and tutorials: UMCP ENEE631 Slides (created by M.Wu © 2001/2004)

ELE 488 F06

Examples JPEG2K vs. JPEG From Christopoulos (IEEE Trans. on CE 11/00) UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06

DCT vs. Wavelet 3dB improvement? –Wavelet compression claimed to have 3dB improvement over DCT-based compression –Comparison done on JPEG Baseline Improvement not all due to transforms –Improvement comes mainly from better rate allocation, advanced entropy coding, & smarter redundancy reduction via zero-tree –DCT coder can be improved to decrease the gap "A comparative study of DCT- and wavelet-based image coding" Z. Xiong, K. Ramchandran, M. Orchard, Y-Q. Zhang, IEEE Trans. on Circuits and Systems for Video Tech., Aug 1999, pp UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06 Motion Picture Motion pictures started with an argument: –“Do They Or Don’t They?” –Muybridge (1877) - 12 cameras to take 12 pictures of running horse Limitation of human vision system –persistence and fusion

ELE 488 F06 Motion Picture Perception of motion - persistence and fusion 1877: Muybridge - 12 cameras to take 12 pictures of running horse 1882: Marey - one camera to take 12 pictures per second 1888: Dickson - motion picture camera –Kinetograph (patent 1893, 50ft perforated film, 40 fr/sec, battery, 1000lb) –Kenetoscope, single viewer projector (47 ft film, 25c for 5 shows) 1895: Lumiere - projector/camera (hand-crank, 16 fr/sec, 20lb) 1919: De Forest - optical sound on film 1926 Warner B: “Don Juan” (John Barrymore, NY Philharmonic) : Film industry 1940’s: Television 1980’s: Digital Video Recording event Re-live past moments Editing Creation of fictitious events / objects Manipulate perceived REALITY

ELE 488 F06 Motion Picture  Television  Digital Video Broadcast Television (analog) –movie at home - why invent new technology? –mass market –influence of movie on development Key Steps –convert pictures to electric signal –send electric signal –convert electric signal to picture Comparison with motion picture High Definition Television - analog  digital, compression Video telephone - analog predecessor Video conference - travel cost, people cost Cable (narrowcast), satellite, interactive,...

ELE 488 F06 Key Steps in Broadcast Television Convert picture to electric signal – video camera –initially only at TV studios, cost not as important –recording media (tape), editing, … –special equipment to convert movie Send electric signal –follow radio broadcast, needs spectrum allocation from FCC –VHF (Ch 2 – 13), UHF (Ch 14 & up) Convert electrical signal to picture –cathode ray tube offers economic solution –flat panel: LCD, LED, plasma panel –future

ELE 488 F06 Forming Picture on TV Tube (black-white) How many lines?

ELE 488 F06 How Many TV Lines? dot Cannot resolve if distance > 2000 x separation N = 500

ELE 488 F06 NTSC ( National Television Systems Committee ) 525 lines –2 dots less than 1/2000 of distance from eye are not separated (merge into one) –Assume view at distance 4 times the screen height. Dots on screen less than (1/2000) x 4 x H = H/500 apart are not separated by eye. No need to have more than 500 lines –NTSC set 525 lines (475 active) Movies in 1940 has 4:3 aspect ratio (width to height) 25 or more pictures per second to see continuous motion 50 or more pictures per second to avoid flicker –movies use 24 frames/sec, each shown twice 30 frames/sec with 2:1 interlace (60 even-odd fields/sec)

ELE 488 F06 Television Tube

ELE 488 F06 2:1 Interlaced Scanning even field odd field

ELE 488 F06 Bandwidth of Broadcast Television Without interlace (progressive scan), 60 frames/sec –500 lines alternating black and white gives 250 full cycles –each horizontal line has 250 x 4/3 ~ 350 full cycles –60 (frames/sec) x 500 (line) x 350 = 10,000,000 cycles/sec = 10 MHz –video ONLY With 2:1 interlace, 5 MHz for video FCC assigns 6 MHz per broadcast channel –real usable bandwidth is less, MUCH less –actual resolvable lines per vertical height ~250 Color insertion - must compatible with B/W receiver –Change R-G-B to Y-Cb-Cr –Y is luminance (brightness), Cb and Cr are chrominances –B/W sets converts Y to picture, color sets converts Y-Cb-Cr to R-G-B

ELE 488 F06 Digital Video What drives digital video? –Information technology: electronics, communication infrastructure, storage, functionality, … –HDTV R-G-B component video –640 x 480 (pixel) x 3 (color) x 8 (bits/color) x 30 = 221 Mb/sec Y-Cb-Cr with subsampled Cb and Cr –640 x 480 (pixel) x 1.5 (color) x 8 (bits/color) x 30 = 110 Mb/sec Compression - MPEG (motion picture expert group) –MPEG-1: CD-ROM, 1.5Mb/sec, 1.2Mb/sec for video, 352x240 (CIF), progressive scan, motion compensation –MPEG-2: extension of MPEG-1, interlace, HD –MPEG-4: object/region based –H.2xx

ELE 488 F06 Some Video Formats

ELE 488 F06 Video Coding Video consists of frames, each frame is a still picture –Motion JPEG Each frame is close to the previous frame –Code the difference - Differential Coding Most part of frame is unchanged, except for moving objects –Motion Compensated Coding –MPEG (motion picture expert group)

ELE 488 F06 Video Coding Differential encoding – prediction

ELE 488 F06 Video Coding Each frame is close to the previous frame –Code the frame difference - Differential Coding

ELE 488 F06 Video Coding Most of picture remains unchanged, some objects have moved. Code Displaced Frame Difference - Motion Compensated Coding MPEG (motion picture expert group) previous framecurrent frame

ELE 488 F06

Motion Compensated Encoding current frame previous frame Y

ELE 488 F06 Need for Bi-directional Encoding

ELE 488 F06

Motion Compensated Coding delay

ELE 488 F06 Coding of I-frame

ELE 488 F06 Coding of P frame

ELE 488 F06 More Detail