Information to Users

Total Page:16

File Type:pdf, Size:1020Kb

Information to Users CCITT recommendation H.261 video codec implementation Item Type text; Thesis-Reproduction (electronic) Authors Chowdhury, Sharmeen, 1966- Publisher The University of Arizona. Rights Copyright © is held by the author. Digital access to this material is made possible by the University Libraries, University of Arizona. Further transmission, reproduction or presentation (such as public display or performance) of protected items is prohibited except with permission of the author. Download date 27/09/2021 19:57:22 Link to Item http://hdl.handle.net/10150/292041 INFORMATION TO USERS This manuscript has been reproduced from the microfilm master. UMI films the text directly from the original or copy submitted. Thus, some thesis and dissertation copies are in typewriter face, while others may be from any type of computer printer. The quality of this reproduction is dependent upon the quality of the copy submitted. Broken or indistinct print, colored or poor quality illustrations and photographs, print bleedthrough, substandard margins, and improper alignment can adversely affect reproduction. In the unlikely event that the author did not send UMI a complete manuscript and there are missing pages, these will be noted. Also, if unauthorized copyright material had to be removed, a note will indicate the deletion. Oversize materials (e.g., maps, drawings, charts) are reproduced by sectioning the original, beginning at the upper left-hand corner and continuing from left to right in equal sections with small overlaps. Each original is also photographed in one exposure and is included in reduced form at the back of the book. Photographs included in the original manuscript have been reproduced xerographically in this copy. Higher quality 6" x 9" black and white photographic prints are available for any photographs or illustrations appearing in this copy for an additional charge. Contact UMI directly to order. University Microfilms International A Bell & Howell Information Company 300 North Zeeb Road. Ann Arbor, Ml 48106-1346 USA 313/761-4700 800/521-0600 Order Number 1350936 CCITT recommendation H.261 video codec implementation Chowdhury, Sharmeen, M.S. The University of Arizona, 1992 U MI 300 N. ZeebRd. Ann Arbor, MI 48106 CCITT RECOMMENDATION H.261 VIDEO CODEC IMPLEMENTATION by Sharmeen Chowdhury A Thesis Submitted to the Faculty of the DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING In Partial Fulfillment of the Requirements For the Degree of MASTER OF SCIENCE WITH A MAJOR IN ELECTRICAL ENGINEERING In the Graduate College THE UNIVERSITY OF ARIZONA 19 9 2 2 STATEMENT BY AUTHOR This thesis has been submitted in partial fulfillment of requirements for an ad­ vanced degree at The University of Arizona and is deposited in the University Library to be made available to borrowers under rules of the Library. Brief quotations from this thesis are allowable without special permission, pro­ vided that accurate acknowledgment of source is made. Requests for permission for extended quotation from or reproduction of this manuscript in whole or in part may be granted by the head of the major department or the Dean of the Graduate College when in his or her judgment the proposed use of the material is in the interests of scholarship. In all other instances, however, permission must be obtained from the author. SIGNED: APPROVAL BY THESIS DIRECTOR This thesis has been approved on the date shown below: Date Assistant Professor of Electrical and Computer Engineering 3 ACKNOWLEDGMENTS I would like to express my appreciation to the professors who have contributed to make this work possible. First, I am indebted to my advisor, Dr. Ming-Kang Liu, for his constructive suggestions, guidance, and encouragement. His insightful comments and valuable critic have been very useful in developing this thesis. Also, I like to thank my thesis committee members, Dr. Michael W. Marcellin and Dr. William H. Sanders, for reviewing the thesis. The assistance of J. Chitwood, at the University of Arizona Video Campus, for providing the input images is gratefully acknowledged. Finally, my gratitude goes to my parents and Alvi for their patience, support, and active assistance over the years in many, many ways. 4 TABLE OF CONTENTS LIST OF FIGURES 6 LIST OF TABLES 9 LIST OF ABBREVIATIONS 10 ABSTRACT 13 1. Introduction 14 1.1. Background 14 1.2. Thesis Motivation and Objective 15 1.3. Thesis Outline 16 2. Background of H.261 Standard 18 2.1. Video Input Format 18 2.2. Compression Algorithm 23 2.2.1. Interframe Compensation 23 2.2.2. Motion Compensation 26 2.2.3. Discrete Cosine Transform 31 2.2.4. Zig-zag Scanning 33 2.2.5. Quantization 34 2.2.6. Buffer Occupancy Control 37 2.2.7. Coefficient Coding 38 2.2.8. Frame Reconstruction 40 2.2.9. Compressed Data Output Format 43 2.3. H.261 Decoding 48 3. Program Structure and Software Implementation 50 3.1. Compression Program 50 3.1.1. Program Input and Output 50 3.1.2. Input Conversion 51 3.1.3. H.261 Compression Program Flowchart 52 3.1.4. Various Compression Routines 53 3.1.5. Buffer Simulation 56 5 3.2. Decompression Program 63 3.2.1. Program Input and Output 63 3.2.2. Decompression Program Flowchart 64 3.2.3. Various Decompression Routines 64 4. Results and Discussions 72 4.1. Data Summary 72 4.2. Performance Discussion 80 4.2.1. Buffer Occupancy and Step Size Adaptation 80 4.2.2. Inter Macro Block Percentage, Number of Compressed Bits and Compression Ratio 89 4.2.3. Average Step Size, Average Number of Coefficients and Aver­ age Number of Bits 95 4.2.4. Root Mean Square Error and Signal-to-Noise Ratio 95 5. Conclusions 105 REFERENCES 108 6 LIST OF FIGURES 2.1. Significant Pel Area for Y, U, V 19 2.2. Positioning of luminance and chrominance pixels 20 2.3. Block transformation 20 2.4. H.261 frame structure 22 2.5. Block diagram of H.261 compression method 24 2.6. Characteristic of intra/interframe compensation 25 2.7. Search window and a current block 27 2.8. Block comparison order 27 2.9. Example of 3_step_algorithm 28 2.10. Characteristic of motion compensation 30 2.11. Zig-zag scanning 33 2.12. Quantization characteristics 35 2.13. Step size adjustment and transmission in a GOB 37 2.14. Example of events 39 2.15. Inter and intra macro blocks 40 2.16. Filtering of a basic block with 121 filter 42 7 2.17. Syntax diagram for H.261 video multiplex coder 45 2.18. Macro Block Addressing 47 2.19. Block diagram of H.261 decompression method 49 3.1. Input and output for H.261 coder 52 3.2. Flowchart (part one) for the compression program 57 3.3. Flowchart (part two) for the compression program 58 3.4. Flowchart (part three) for the compression program 59 3.5. Flowchart (part four) for the compression program 60 3.6. Flowchart (part five) for the compression program 61 3.7. Input and output for H.261 decoder 64 3.8. Flowchart (part one) for the decompression program 68 3.9. Flowchart (part two) for the decompression program 69 3.10. Flowchart (part three) for the decompression program 70 3.11. Flowchart (part four) for the decompression program 71 4.1. Original Frame 1 73 4.2. Original Frame 2 73 4.3. Compressed and decompressed Frame 1 at p = 6 74 4.4. Compressed and decompressed Frame 2 at p = 6 74 4.5. Compressed and decompressed Frame 1 at p = 20 75 4.6. Compressed and decompressed Frame 2 at p = 20 75 8 4.7. Group of block rows 78 4.8. Buffer occupancy after every frame 90 4.9. Step size at the beginning of every GOB row 91 4.10. Inter macro block percentage per frame 92 4.11. Total number of compressed bits per frame 93 4.12. Compression Ratio vs. Transmission Rate 94 4.13. Mean value of step size per frame 96 4.14. Mean value of the number of non-zero coefficients per macro block . 97 4.15. Mean value of the number of zero coefficients per macro block .... 98 4.16. Mean value of the number of bits per intra macro block 99 4.17. Mean value of the number of bits per inter macro block 100 4.18. Root mean square error for luminance-Y 101 4.19. Signal-to-noise ratio for luminance-Y 102 4.20. Signal-to-noise ratio for chrominance-U 103 4.21. Signal-to-noise ratio for chrominance-V 104 9 LIST OF TABLES 3.1. Transmission Rate versus Quantization Step Size 54 4.1. Presentation of results at p = 1 and for Frame 1-5 81 4.2. Presentation of results at p = 1 and for Frame 6-10 82 4.3. Presentation of results at p = 6 and for Frame 1-5 83 4.4. Presentation of results at p — 6 and for Frame 6-10 84 4.5. Presentation of results at p = 10 and for Frame 1-5 85 4.6. Presentation of results at p = 10 and for Frame 6-10 86 4.7. Presentation of results at p = 20 and for Frame 1-5 87 4.8. Presentation of results at p = 20 and for Frame 6-10 88 10 LIST OF ABBREVIATIONS CBP Coded Block Pattern CCITT Consultative Committeefor International Telegraphy and Telephony CIF Common Intermediate Format DCT Discrete Cosine Transform DSM Digital Storage Media EOB End Of Block GBSC Group of Block layer Start Code GEI Group of block layer Extra Insertion information GIF Graphics Interchange Format GN Group Number GOB Group Of Block GOBLH Group Of Block Layer Header GQUANT Group of block layer QUANTization GSPARE Group of block layer SPARE information 11 Inter-MVBIT Mean Value of the number of BITs per Inter macro block intra-DC Direct Current term in intra macro block Intra_MVBIT Mean Value of the number of BITs per Intra macro block JPEG Joint Photographic Experts Group LAN Local Area Network LZW Lempel-Ziv Welch decoding algorithm mb macro block MBA Macro Block Addressing MC Motion Compensation flag MPEG Moving Pictures Experts Group MQUANT Macro block layer QUANTization
Recommended publications
  • 1. in the New Document Dialog Box, on the General Tab, for Type, Choose Flash Document, Then Click______
    1. In the New Document dialog box, on the General tab, for type, choose Flash Document, then click____________. 1. Tab 2. Ok 3. Delete 4. Save 2. Specify the export ________ for classes in the movie. 1. Frame 2. Class 3. Loading 4. Main 3. To help manage the files in a large application, flash MX professional 2004 supports the concept of _________. 1. Files 2. Projects 3. Flash 4. Player 4. In the AppName directory, create a subdirectory named_______. 1. Source 2. Flash documents 3. Source code 4. Classes 5. In Flash, most applications are _________ and include __________ user interfaces. 1. Visual, Graphical 2. Visual, Flash 3. Graphical, Flash 4. Visual, AppName 6. Test locally by opening ________ in your web browser. 1. AppName.fla 2. AppName.html 3. AppName.swf 4. AppName 7. The AppName directory will contain everything in our project, including _________ and _____________ . 1. Source code, Final input 2. Input, Output 3. Source code, Final output 4. Source code, everything 8. In the AppName directory, create a subdirectory named_______. 1. Compiled application 2. Deploy 3. Final output 4. Source code 9. Every Flash application must include at least one ______________. 1. Flash document 2. AppName 3. Deploy 4. Source 10. In the AppName/Source directory, create a subdirectory named __________. 1. Source 2. Com 3. Some domain 4. AppName 11. In the AppName/Source/Com directory, create a sub directory named ______ 1. Some domain 2. Com 3. AppName 4. Source 12. A project is group of related _________ that can be managed via the project panel in the flash.
    [Show full text]
  • Video Coding Standards
    Video coding standards Video signals represent sequences of images or frames which can be transmitted with a rate from 15 to 60 frames per second (fps), that provides the illusion of motion in the displayed signal. Unlike images they contain the so-called temporal redundancy. Temporal redundancy arises from repeated objects in consecutive frames of the video sequence. Such objects can remain, they can move horizontally, vertically, or any combination of directions (translation movement), they can fade in and out, and they can disappear from the image as they move out of view. Temporal redundancy Motion compensation A motion compensation technique is used to compensate the temporal redundancy of video sequence. The main idea of the this method is to predict the displacement of group of pixels (usually block of pixels) from their position in the previous frame. Information about this displacement is represented by motion vectors which are transmitted together with the DCT coded difference between the predicted and the original images. Motion compensation Image VLC DCT Quantizer Buffer - Dequantizer Coded DCT coefficients. IDCT Motion compensated predictor Motion Motion vectors estimation Decoded VL image Buffer Dequantizer IDCT decoder Motion compensated predictor Motion vectors Motion compensation Previous frame Current frame Set of macroblocks of the previous frame used to predict the selected macroblock of the current frame Motion compensation Previous frame Current frame Macroblocks of previous frame used to predict current frame Motion compensation Each 16x16 pixel macroblock in the current frame is compared with a set of macroblocks in the previous frame to determine the one that best predicts the current macroblock.
    [Show full text]
  • CHAPTER 10 Basic Video Compression Techniques Contents
    Multimedia Network Lab. CHAPTER 10 Basic Video Compression Techniques Multimedia Network Lab. Prof. Sang-Jo Yoo http://multinet.inha.ac.kr The Graduate School of Information Technology and Telecommunications, INHA University http://multinet.inha.ac.kr Multimedia Network Lab. Contents 10.1 Introduction to Video Compression 10.2 Video Compression with Motion Compensation 10.3 Search for Motion Vectors 10.4 H.261 10.5 H.263 The Graduate School of Information Technology and Telecommunications, INHA University 2 http://multinet.inha.ac.kr Multimedia Network Lab. 10.1 Introduction to Video Compression A video consists of a time-ordered sequence of frames, i.e.,images. Why we need a video compression CIF (352x288) : 35 Mbps HDTV: 1Gbps An obvious solution to video compression would be predictive coding based on previous frames. Compression proceeds by subtracting images: subtract in time order and code the residual error. It can be done even better by searching for just the right parts of the image to subtract from the previous frame. Motion estimation: looking for the right part of motion Motion compensation: shifting pieces of the frame The Graduate School of Information Technology and Telecommunications, INHA University 3 http://multinet.inha.ac.kr Multimedia Network Lab. 10.2 Video Compression with Motion Compensation Consecutive frames in a video are similar – temporal redundancy Frame rate of the video is relatively high (30 frames/sec) Camera parameters (position, angle) usually do not change rapidly. Temporal redundancy is exploited so that not every frame of the video needs to be coded independently as a new image. The difference between the current frame and other frame(s) in the sequence will be coded – small values and low entropy, good for compression.
    [Show full text]
  • Multiple Reference Motion Compensation: a Tutorial Introduction and Survey Contents
    Foundations and TrendsR in Signal Processing Vol. 2, No. 4 (2008) 247–364 c 2009 A. Leontaris, P. C. Cosman and A. M. Tourapis DOI: 10.1561/2000000019 Multiple Reference Motion Compensation: A Tutorial Introduction and Survey By Athanasios Leontaris, Pamela C. Cosman and Alexis M. Tourapis Contents 1 Introduction 248 1.1 Motion-Compensated Prediction 249 1.2 Outline 254 2 Background, Mosaic, and Library Coding 256 2.1 Background Updating and Replenishment 257 2.2 Mosaics Generated Through Global Motion Models 261 2.3 Composite Memories 264 3 Multiple Reference Frame Motion Compensation 268 3.1 A Brief Historical Perspective 268 3.2 Advantages of Multiple Reference Frames 270 3.3 Multiple Reference Frame Prediction 271 3.4 Multiple Reference Frames in Standards 277 3.5 Interpolation for Motion Compensated Prediction 281 3.6 Weighted Prediction and Multiple References 284 3.7 Scalable and Multiple-View Coding 286 4 Multihypothesis Motion-Compensated Prediction 290 4.1 Bi-Directional Prediction and Generalized Bi-Prediction 291 4.2 Overlapped Block Motion Compensation 294 4.3 Hypothesis Selection Optimization 296 4.4 Multihypothesis Prediction in the Frequency Domain 298 4.5 Theoretical Insight 298 5 Fast Multiple-Frame Motion Estimation Algorithms 301 5.1 Multiresolution and Hierarchical Search 302 5.2 Fast Search using Mathematical Inequalities 303 5.3 Motion Information Re-Use and Motion Composition 304 5.4 Simplex and Constrained Minimization 306 5.5 Zonal and Center-biased Algorithms 307 5.6 Fractional-pixel Texture Shifts or Aliasing
    [Show full text]
  • Overview: Motion-Compensated Coding
    Overview: motion-compensated coding Motion-compensated prediction Motion-compensated hybrid coding Motion estimation by block-matching Motion estimation with sub-pixel accuracy Power spectral density of the motion-compensated prediction error Rate-distortion analysis Loop filter Motion compensated coding with sub-pixel accuracy Rate-constrained motion estimation Bernd Girod: EE398B Image Communication II Motion Compensated Coding no. 1 Motion-compensated prediction previous frame stationary Δt background current frame x time t y moving object ⎛ d x ⎞ „Displacement vector“ ⎜ d ⎟ shifted ⎝ y ⎠ object Prediction for the luminance signal S(x,y,t) within the moving object: ˆ S (x, y,t) = S(x − dx , y − dy ,t − Δt) Bernd Girod: EE398B Image Communication II Motion Compensated Coding no. 2 Combining transform coding and prediction Transform domain prediction Space domain prediction Q Q T - T - T T −1 T −1 T −1 PT T PTS T T −1 T−1 PT PS Bernd Girod: EE398B Image Communication II Motion Compensated Coding no. 3 Motion-compensated hybrid coder Coder Control Control Data Intra-frame DCT DCT Coder - Coefficients Decoder Intra-frame Decoder 0 Motion- Compensated Intra/Inter Predictor Motion Data Motion Estimator Bernd Girod: EE398B Image Communication II Motion Compensated Coding no. 4 Motion-compensated hybrid decoder Control Data DCT Coefficients Decoder Intra-frame Decoder 0 Motion- Compensated Intra/Inter Predictor Motion Data Bernd Girod: EE398B Image Communication II Motion Compensated Coding no. 5 Block-matching algorithm search range in Subdivide current reference frame frame into blocks. Sk −1 Find one displacement vector for each block. Within a search range, find a best „match“ that minimizes an error measure.
    [Show full text]
  • Efficient Video Coding with Motion-Compensated Orthogonal
    Efficient Video Coding with Motion-Compensated Orthogonal Transforms DU LIU Master’s Degree Project Stockholm, Sweden 2011 XR-EE-SIP 2011:011 Efficient Video Coding with Motion-Compensated Orthogonal Transforms Du Liu July, 2011 Abstract Well-known standard hybrid coding techniques utilize the concept of motion- compensated predictive coding in a closed-loop. The resulting coding de- pendencies are a major challenge for packet-based networks like the Internet. On the other hand, subband coding techniques avoid the dependencies of predictive coding and are able to generate video streams that better match packet-based networks. An interesting class for subband coding is the so- called motion-compensated orthogonal transform. It generates orthogonal subband coefficients for arbitrary underlying motion fields. In this project, a theoretical lossless signal model based on Gaussian distribution is proposed. It is possible to obtain the optimal rate allocation from this model. Addition- ally, a rate-distortion efficient video coding scheme is developed that takes advantage of motion-compensated orthogonal transforms. The scheme com- bines multiple types of motion-compensated orthogonal transforms, variable block size, and half-pel accurate motion compensation. The experimental results show that this scheme outperforms individual motion-compensated orthogonal transforms. i Acknowledgements This thesis was carried out at Sound and Image Processing Lab, School of Electrical Engineering, KTH. I would like to express my appreciation to my supervisor Markus Flierl for the opportunity of doing this thesis. I am grateful for his patience and valuable suggestions and discussions. Many thanks to Haopeng Li, Mingyue Li, and Zhanyu Ma, who helped me a lot during my research.
    [Show full text]
  • Respiratory Motion Compensation Using Diaphragm Tracking for Cone-Beam C-Arm CT: a Simulation and a Phantom Study
    Hindawi Publishing Corporation International Journal of Biomedical Imaging Volume 2013, Article ID 520540, 10 pages http://dx.doi.org/10.1155/2013/520540 Research Article Respiratory Motion Compensation Using Diaphragm Tracking for Cone-Beam C-Arm CT: A Simulation and a Phantom Study Marco Bögel,1 Hannes G. Hofmann,1 Joachim Hornegger,1 Rebecca Fahrig,2 Stefan Britzen,3 and Andreas Maier3 1 Pattern Recognition Lab, Friedrich-Alexander-University Erlangen-Nuremberg, 91058 Erlangen, Germany 2 Department of Radiology, Lucas MRS Center, Stanford University, Palo Alto, CA 94304, USA 3 Siemens AG, Healthcare Sector, 91301 Forchheim, Germany Correspondence should be addressed to Andreas Maier; [email protected] Received 21 February 2013; Revised 13 May 2013; Accepted 15 May 2013 Academic Editor: Michael W. Vannier Copyright © 2013 Marco Bogel¨ et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Long acquisition times lead to image artifacts in thoracic C-arm CT. Motion blur caused by respiratory motion leads to decreased image quality in many clinical applications. We introduce an image-based method to estimate and compensate respiratory motion in C-arm CT based on diaphragm motion. In order to estimate respiratory motion, we track the contour of the diaphragm in the projection image sequence. Using a motion corrected triangulation approach on the diaphragm vertex, we are able to estimate a motion signal. The estimated motion signal is used to compensate for respiratory motion in the target region, for example, heart or lungs.
    [Show full text]
  • Video Coding Standards
    Module 8 Video Coding Standards Version 2 ECE IIT, Kharagpur Lesson 23 MPEG-1 standards Version 2 ECE IIT, Kharagpur Lesson objectives At the end of this lesson, the students should be able to : 1. Enlist the major video coding standards 2. State the basic objectives of MPEG-1 standard. 3. Enlist the set of constrained parameters in MPEG-1 4. Define the I- P- and B-pictures 5. Present the hierarchical data structure of MPEG-1 6. Define the macroblock modes supported by MPEG-1 23.0 Introduction In lesson 21 and lesson 22, we studied how to perform motion estimation and thereby temporally predict the video frames to exploit significant temporal redundancies present in the video sequence. The error in temporal prediction is encoded by standard transform domain techniques like the DCT, followed by quantization and entropy coding to exploit the spatial and statistical redundancies and achieve significant video compression. The video codecs therefore follow a hybrid coding structure in which DPCM is adopted in temporal domain and DCT or other transform domain techniques in spatial domain. Efforts to standardize video data exchange via storage media or via communication networks are actively in progress since early 1980s. A number of international video and audio standardization activities started within the International Telephone Consultative Committee (CCITT), followed by the International Radio Consultative Committee (CCIR), and the International Standards Organization / International Electrotechnical Commission (ISO/IEC). An experts group, known as the Motion Pictures Expects Group (MPEG) was established in 1988 in the framework of the Joint ISO/IEC Technical Committee with an objective to develop standards for coded representation of moving pictures, associated audio, and their combination for storage and retrieval of digital media.
    [Show full text]
  • 11.2 Motion Estimation and Motion Compensation 421
    11.2 Motion Estimation and Motion Compensation 421 vertical component to the enhancement filter, making the overall filter separable with 3 3 support. × 11.2 MOTION ESTIMATION AND MOTION COMPENSATION Motion compensation (MC) is very useful in video filtering to remove noise and enhance signal. It is useful since it allows the filter or coder to process through the video on a path of near-maximum correlation based on following motion trajectories across the frames making up the image sequence or video. Motion compensation is also employed in all distribution-quality video coding formats, since it is able to achieve the smallest prediction error, which is then easier to code. Motion can be characterized in terms of either a velocity vector v or displacement vector d and is used to warp a reference frame onto a target frame. Motion estimation is used to obtain these displacements, one for each pixel in the target frame. Several methods of motion estimation are commonly used: • Block matching • Hierarchical block matching • Pel-recursive motion estimation • Direct optical flow methods • Mesh-matching methods Optical flow is the apparent displacement vector field d .d1,d2/ we get from setting (i.e., forcing) equality in the so-called constraint equationD x.n1,n2,n/ x.n1 d1,n2 d2,n 1/. (11.2–1) D − − − All five approaches start from this basic equation, which is really just an ide- alization. Departures from the ideal are caused by the covering and uncovering of objects in the viewed scene, lighting variation both in time and across the objects in the scene, movement toward or away from the camera, as well as rotation about an axis (i.e., 3-D motion).
    [Show full text]
  • Motion Compensation with Sub-Pel Accuracy
    Overview: motion-compensated coding n Motion-compensated prediction n Motion-compensated hybrid coding n Power spectral density of the motion-compensated prediction error n Rate-distortion analysis n Loop filter n Motion compensation with sub-pel accuracy Bernd Girod: EE368b Image and Video Compression Motion Compensation no. 1 Motion-compensated prediction previous frame stationary Dt background current frame x time t y moving object æ dx ö „Displacement vector“ ç d ÷ shifted è y ø object Prediction for the luminance signal S(x,y,t) within the moving object: ˆ S (x, y,t) = S(x - dx , y - dy ,t - Dt) Bernd Girod: EE368b Image and Video Compression Motion Compensation no. 2 1 Motion-compensated prediction: example Previous frame Current frame Current frame with Motion-compensated displacement vectors Prediction error Bernd Girod: EE368b Image and Video Compression Motion Compensation no. 3 Motion-compensated hybrid coder Control „side information“ Video Channel signal Intraframe S e DCT coder - Intraframe Decoder Motion compensated predictor Decoder Bernd Girod: EE368b Image and Video Compression Motion Compensation no. 4 2 Motion-compensated hybrid decoder Channel reconstructed Intraframe video signal Decoder Motion compensated predictor side information Bernd Girod: EE368b Image and Video Compression Motion Compensation no. 5 Model for performance analysis of an MCP hybrid coder luminance signal S e R-D optimal intraframe - encoder intraframe decoder e‘ motion s‘ compensated predictor displacement estimate æ dx ö æ D xö true displacement ç ÷ + ç ÷ displacement error è dyø è D yø Bernd Girod: EE368b Image and Video Compression Motion Compensation no. 6 3 Analysis of the motion-compensated prediction error Motion-compensated signal c(x) = s(x - Dx )- n(x) Prediction error Previous e(x) = s(x)- c(x) frame = s(x)- s(x - Dx )+ n(x) x c(x) s(x) Current frame Displacement dx Displacement error Dx x Bernd Girod: EE368b Image and Video Compression Motion Compensation no.
    [Show full text]
  • Entropy Coding: 6
    Multimedia-Systems: Compression Prof. Dr.-Ing. Ralf Steinmetz Prof. Dr. Max Mühlhäuser R. Steinmetz, M. Mühlhäuser MM: TU Darmstadt - Darmstadt University of Technology, © Dept. of of Computer Science TK - Telecooperation, Tel.+49 6151 16-3709, Alexanderstr. 6, D-64283 Darmstadt, Germany, [email protected] Fax. +49 6151 16-3052 http://www.tk.informatik.tu-darmstadt.de http://www.kom.e-technik.tu-darmstadt.de RS: TU Darmstadt - Darmstadt University of Technology, Dept. of Electrical Engineering and Information Technology, Dept. of Computer Science KOM - Industrial Process and System Communications, Tel.+49 6151 166151, Merckstr. 25, D-64283 Darmstadt, Germany, [email protected] Fax. +49 6151 166152 GMD -German National Research Center for Information Technology httc - Hessian Telemedia Technology Competence-Center e.V Scope Contents 05A-compression.fm 1 15.March.01 Scope Applications Learning & Teaching Design User Interfaces Usage Content Group Docu- Synchro- Process- Security ... Communi- ments nization R. Steinmetz, M. Mühlhäuser ing cations Services © Databases Programming http://www.tk.informatik.tu-darmstadt.de http://www.kom.e-technik.tu-darmstadt.de Media-Server Operating Systems Communications Systems Opt. Memories Quality of Service Networks Compression Computer Archi- Image & Basics Animation Video Audio Scope tectures Graphics Contents 05A-compression.fm 2 15.March.01 Contents 1. Motivation 2. Requirements - General 3. Fundamentals - Categories 4. Source Coding 5. Entropy Coding: 6. Hybrid Coding: Basic Encoding Steps R. Steinmetz, M. Mühlhäuser © 7. JPEG http://www.tk.informatik.tu-darmstadt.de 8. H.261 and related ITU Standards http://www.kom.e-technik.tu-darmstadt.de 9. MPEG-1 10.
    [Show full text]
  • CS 1St Year: M&A Types of Compression: the Two Types of Compression Are: Lossy Compression
    CS 1st Year: M&A Types of compression: The two types of compression are: Lossy Compression - where data bytes are removed from the file. This results in a smaller file, but also lower quality. It makes use of data redundancies and human perception – for example, removing data that cannot be perceived by humans. So whilst quality might be affected, the substance of the file is still present. Lossy compression would be commonly used over the internet, where large files present a problem. An example of lossy compression is “mp3” compression, which removes wavelength extremes which are out of the hearing range of normal people. MP3 has a compression ratio of 11:1. Another example would be JPEG (Joint Photographics Expert Group), which is used to compress images. JPEG works by grouping pixels of an image which have similar colour or brightness, and changing them all to a uniform, “average” colour, and then replaces the similar pixels with codes. The Lossy compression method eliminates some amount of data that is not noticeable. This technique does not allow a file to restore in its original form but significantly reduces the size. The lossy compression technique is beneficial if the quality of the data is not your priority. It slightly degrades the quality of the file or data but is convenient when one wants to send or store the data. This type of data compression is used for organic data like audio signals and images. Lossy Compression Technique Transform coding: This method transforms the pixels which are correlated in a representation into disassociated pixels.
    [Show full text]