Rounding Considerations SDTV-HDTV YCbCr Transforms 4:4:4 to 4:2:2 YCbCr Conversion

Similar documents
Chapter 3 Fundamental Concepts in Video. 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video

Video compression principles. Color Space Conversion. Sub-sampling of Chrominance Information. Video: moving pictures and the terms frame and

An Overview of Video Coding Algorithms

Video Demystified. A Handbook for the Digital Engineer. Fifth Edition. by Keith Jack

Multimedia. Course Code (Fall 2017) Fundamental Concepts in Video

Video Processing Applications Image and Video Processing Dr. Anil Kokaram

Midterm Review. Yao Wang Polytechnic University, Brooklyn, NY11201

CM3106 Solutions. Do not turn this page over until instructed to do so by the Senior Invigilator.

Chapter 10 Basic Video Compression Techniques

Module 1: Digital Video Signal Processing Lecture 5: Color coordinates and chromonance subsampling. The Lecture Contains:

VIDEO 101: INTRODUCTION:

Streamcrest Motion1 Test Sequence and Utilities. A. Using the Motion1 Sequence. Robert Bleidt - June 7,2002

To discuss. Types of video signals Analog Video Digital Video. Multimedia Computing (CSIT 410) 2

Advanced Computer Networks

Universal Format Converter Implementation

Part1 박찬솔. Audio overview Video overview Video encoding 2/47

H.261: A Standard for VideoConferencing Applications. Nimrod Peleg Update: Nov. 2003

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

Overview: Video Coding Standards

A Unified Approach to Restoration, Deinterlacing and Resolution Enhancement in Decoding MPEG-2 Video

ITU-T Video Coding Standards

5.1 Types of Video Signals. Chapter 5 Fundamental Concepts in Video. Component video

Chapter 2 Introduction to

MPEG-2. ISO/IEC (or ITU-T H.262)

High-Definition, Standard-Definition Compatible Color Bar Signal

Software Analog Video Inputs

ESI VLS-2000 Video Line Scaler

Video to SXGA Converter Box ID#475

So far. Chapter 4 Color spaces Chapter 3 image representations. Bitmap grayscale. 1/21/09 CSE 40373/60373: Multimedia Systems

A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique

Multirate Digital Signal Processing

MULTIMEDIA TECHNOLOGIES

High Quality Digital Video Processing: Technology and Methods

Motion Video Compression

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

CYPRESS TECHNOLOGY CO., LTD.

Multimedia Systems. Part 13. Mahdi Vasighi

Multimedia Communications. Video compression

Lecture 23: Digital Video. The Digital World of Multimedia Guest lecture: Jayson Bowen

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

Research Topic. Error Concealment Techniques in H.264/AVC for Wireless Video Transmission in Mobile Networks

Rec. ITU-R BT RECOMMENDATION ITU-R BT PARAMETER VALUES FOR THE HDTV STANDARDS FOR PRODUCTION AND INTERNATIONAL PROGRAMME EXCHANGE

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

Multimedia Communications. Image and Video compression

Impact of scan conversion methods on the performance of scalable. video coding. E. Dubois, N. Baaziz and M. Matta. INRS-Telecommunications

06 Video. Multimedia Systems. Video Standards, Compression, Post Production

Television History. Date / Place E. Nemer - 1

R&D White Paper WHP 085. The Rel : a perception-based measure of resolution. Research & Development BRITISH BROADCASTING CORPORATION.

Introduction to Video Compression Techniques. Slides courtesy of Tay Vaughan Making Multimedia Work

Video coding standards

OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY

DATASHEET HMP8154, HMP8156A. Features. Ordering Information. Applications. NTSC/PAL Encoders. FN4343 Rev.5.00 Page 1 of 34.

FRAME RATE CONVERSION OF INTERLACED VIDEO

USER MANUAL. VP-419xl Video to SXGA/HD Scaler MODEL: P/N: Rev 7

The H.26L Video Coding Project

Video 1 Video October 16, 2001

Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri April 2011 Sharif University of Technology

A video signal consists of a time sequence of images. Typical frame rates are 24, 25, 30, 50 and 60 images per seconds.

(a) (b) Figure 1.1: Screen photographs illustrating the specic form of noise sometimes encountered on television. The left hand image (a) shows the no

Lecture 2 Video Formation and Representation

Digital Media. Daniel Fuller ITEC 2110

International Journal for Research in Applied Science & Engineering Technology (IJRASET) Motion Compensation Techniques Adopted In HEVC

Color Spaces in Digital Video

CHROMA CODING IN DISTRIBUTED VIDEO CODING

Module 4: Video Sampling Rate Conversion Lecture 25: Scan rate doubling, Standards conversion. The Lecture Contains: Algorithm 1: Algorithm 2:

Digital Television Fundamentals

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

Transitioning from NTSC (analog) to HD Digital Video

RECOMMENDATION ITU-R BT Studio encoding parameters of digital television for standard 4:3 and wide-screen 16:9 aspect ratios

Progressive Image Sample Structure Analog and Digital Representation and Analog Interface

The Multistandard Full Hd Video-Codec Engine On Low Power Devices

MPEG + Compression of Moving Pictures for Digital Cinema Using the MPEG-2 Toolkit. A Digital Cinema Accelerator

RECOMMENDATION ITU-R BT (Questions ITU-R 25/11, ITU-R 60/11 and ITU-R 61/11)

Module 1: Digital Video Signal Processing Lecture 3: Characterisation of Video raster, Parameters of Analog TV systems, Signal bandwidth

1. Broadcast television

Toward Better Chroma Subsampling By Glenn Chan Recipient of the 2007 SMPTE Student Paper Award

10. Sample Windows Control Panel Software(RS-232 version only) x 4A battery

17 October About H.265/HEVC. Things you should know about the new encoding.

PAL uncompressed. 768x576 pixels per frame. 31 MB per second 1.85 GB per minute. x 3 bytes per pixel (24 bit colour) x 25 frames per second

SM01. Standard Definition Video Encoder. Pattern Generator. User Manual. and

Film Sequence Detection and Removal in DTV Format and Standards Conversion

Video Coding IPR Issues

VGA to Video Converter ID# 424 Operation Manual

TERMINOLOGY INDEX. DME Down Stream Keyer (DSK) Drop Shadow. A/B Roll Edit Animation Effects Anti-Alias Auto Transition

AUDIOVISUAL COMMUNICATION

Video Compression. Representations. Multimedia Systems and Applications. Analog Video Representations. Digitizing. Digital Video Block Structure

Communication Theory and Engineering

Analog Reconstruction Filter for HDTV Using the THS8133, THS8134, THS8135, THS8200

Colour Reproduction Performance of JPEG and JPEG2000 Codecs

BRITE-VIEW BLS-2000 Professional Progressive Scan Video Converter

Video Compression Basics. Nimrod Peleg Update: Dec. 2003

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

White Paper : Achieving synthetic slow-motion in UHDTV. InSync Technology Ltd, UK

The Development of a Synthetic Colour Test Image for Subjective and Objective Quality Assessment of Digital Codecs

iii Table of Contents

Reduced complexity MPEG2 video post-processing for HD display

In MPEG, two-dimensional spatial frequency analysis is performed using the Discrete Cosine Transform

Spatio-temporal inaccuracies of video-based ultrasound images of the tongue

Information Transmission Chapter 3, image and video

Transcription:

Digital it Video Processing 김태용 Contents Rounding Considerations SDTV-HDTV YCbCr Transforms 4:4:4 to 4:2:2 YCbCr Conversion Display Enhancement Video Mixing and Graphics Overlay Luma and Chroma Keying Video Scaling Scan Rate Conversion Noninterlaced to Interlaced Conversion DCT-Based Compression 2/45

Rounding Considerations Truncation drops any fractional data Conventional Rounding If the fractional data is 0.5 or greater, rounding up should be performed Error Feedback Rounding never throw anything away residue of a truncation and adding it to the next video sample Dynamic Rounding The fractional data is compared to the output of a random number generator 3/45 Rounding Considerations Error Feedback Rounding Dynamic Rounding 4/45

SDTV - HDTV YCbCr Transforms SDTV and HDTV applications have different colorimetric characteristics YCbCr data should be processed to compensate for the different colorimetric characteristics. SDTV to HDTV HDTV to SDTV before processing, the 8-bit DC offset (16 for Y and 128 for CbCr) must be removed, then added back in after processing 5/45 444t 4:4:4 to 4:2:2 422YCbCr Conversion Y Filtering There may be many cascaded conversions (up to 10 were envisioned) filters were designed to adhere to very tight tolerances to avoid a buildup of visual artifacts keep the passband as flat as possible. 6/45

444t 4:4:4 to 4:2:2 422YCbCr Conversion Y Filtering 7/45 444t 4:4:4 to 4:2:2 422YCbCr Conversion CbCr Filtering The Cb and Cr lowpass filtering requires a sharp cut-off to prevent repeated conversions from producing a cumulative resolution loss The sharp cut-off produces ringing that is more noticeable than for Y Aliasing is less noticeable in color difference signals The attenuation at half the sampling frequency is only 6 db. 8/45

444t 4:4:4 to 4:2:2 422YCbCr Conversion CbCr Filtering 9/45 Display Enhancement Hue, Contrast, Brightness, and Saturation Color Transient Improvement Sharpness 10/45

Hue, Contrast, Brightness, and Saturation 11/45 Color Transient Improvement 12/45

Sharpness 13/45 Sharpness 14/45

Video Mixing i and Graphics Overlay alpha mixing is used alpha mixing implementation out = (alpha_0)(in_0) + (alpha_1)(in_1) + When only two video sources are mixed out = (alpha)(in_0) + (1 alpha)(in_1) using a single multiplier out = (alpha)(in_0 in_1) + in_1 15/45 Video Mixing i and Graphics Overlay 16/45

Video Mixing i and Graphics Overlay 17/45 Luma and Chroma Keying Keying involves specifying a desired foreground color Areas containing this color are replaced with a background image Luminance Keying involves specifying a desired foreground luminance level; soft keying by specifying two luminance values of the foreground image: Y H and Y L if Y FG > Y H K = 1 = background only if Y FG < Y L K = 0 = foreground only if Y H ε Y FG ε Y L Chroma Keying K = (Y FG Y L )/(Y H Y L ) =mix 18/45

Luminance Keying 19/45 Luminance Keying 20/45

Chroma Keying 21/45 Chroma Keying 22/45

Key Generation 23/45 Key Suppression 24/45

Background Key Generation 25/45 Video Scaling The spacing between output samples can be defined by a Target Increment (tarinc) value: tarinc = I / O The first and last output samples may be aligned with the first and last input samples by adjusting tarinc = (I 1) / (O 1) 26/45

Video Scaling Pixel Dropping and Duplication The simplest form of scaling down is pixel dropping Simple upscaling can be accomplished by pixel duplication Scaling using pixel dropping or duplication is not recommended due to the visual artifacts and the introduction of aliasing components. Linear Interpolation An improvement in video quality of scaled images is possible using linear interpolation. 27/45 Video Scaling Anti-Aliased Resampling One approach is a variable-bandwidth antialiasing filter followed by a combined interpolator/resampler. t l A second approach is a combined filter/interpolator followed by a resampler. A third approach is an interpolator followed by a combined filter/resampler. 28/45

Scan Rate Conversion Frame or Field Dropping and Duplicating Simple scan-rate conversion Disadvantage: jerky motion, motion judder 29/45 Scan Rate Conversion Temporal Interpolation 30/45

Scan Rate Conversion Motion compensation Used by MPEG incorporate motion compensation to minimize motion artifacts. For scan rate conversion, it is important to determine true motion information Motion Compensation in MPEG In MPEG, the goal is to minimize the displaced frame difference The resulting motion vectors do not necessarily correspond to true motion vectors. motion vector errors are self-correcting since the residual difference between the predicted macroblocks is encoded. 31/45 Scan Rate Conversion 32/45

Scan Rate Conversion 3-2 Pulldown When converting to PAL or SECAM, each film frame is usually mapped into 2 video fields (2-2 pulldown), resulting in the video program being 4% too fast When converting film to NTSC (59.94-Hz field rate), 3-2 pulldown is used The film speed is slowed down by 0.1% to 23.976 (24/1.001) Varispeed is commonly used to cover up problems such as defects, splicing, censorship cuts, or to change the running time of a program. The 3-2 relationship between the film and video is disrupted long enough to ensure a smooth temporal rate. 33/45 Noninterlaced-to-Interlaced Conversion Noninterlaced to interlaced conversion must be performed on component video signals such as R G B or YCbCr Scan Line Decimation sharp vertical transition of color or intensity will flicker 34/45

Noninterlaced-to-Interlaced Conversion Vertical Filtering A better solution is to use two or more lines of noninterlaced data. Fast vertical transitions are smoothed out over several interlaced lines Using more than 3 lines usually results in excessive blurring Implementation uses IIR rather than FIR filtering 35/45 Interlaced-to-Noninterlaced Conversion Intrafield Processing The computer industry has coined this as bob. The resulting vertical resolution is always limited by the content of the original field. Scan Line Duplication no increase in the vertical resolution. 36/45

Interlaced-to-Noninterlaced Conversion Scan Line Interpolation Although the number of active scan lines is doubled, the vertical resolution is not. Fractional Ratio Interpolation similar to the polyphase filtering used for scaling only performed in the vertical direction. Variable Interpolation 37/45 Interlaced-to-Noninterlaced Conversion Interfield Processing The computer industry has coined this as weave. This method can provide higher vertical resolution uses content from more than a single field Field Merging merges two consecutive fields together to produce a frame of video pair of fields combine to generate a frame 38/45

Interlaced-to-Noninterlaced Conversion Motion Adaptive Deinterlacing 각각의픽셀을처리하여과하질이미지구현이가능함 Motion Compensated Deinterlacing Several orders of magnitude more complex than motion adaptive deinterlacing. Requires calculating motion vectors between fields for each sample Interpolating along each sample s motion trajectory. Motion vectors must be found that pass through each of the missing samples. The motion vectors must have sub-pixel accuracy. Motion vector errors will produce artifacts. 39/45 DCT-Based Compression 40/45

DCT DCT-Based Compression processes an 8 8 block 41/45 DCT-Based Compression 42/45

DCT-Based Compression Quantization Zig-Zag g Scanning 43/45 DCT-Based Compression 44/45

DCT-Based Compression 45/45