ECE 634: Digital Video Systems Formats: 1/12/17

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

!"#"$%& Some slides taken shamelessly from Prof. Yao Wang s lecture slides

Understanding Human Color Vision

1. Broadcast television

ELEG5502 Video Coding Technology

Lecture 2 Video Formation and Representation

Processing. Electrical Engineering, Department. IIT Kanpur. NPTEL Online - IIT Kanpur

Lecture 2 Video Formation and Representation

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

Essence of Image and Video

Television History. Date / Place E. Nemer - 1

Basics of Video. Yao Wang Polytechnic University, Brooklyn, NY11201

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

Lecture 2 Video Formation and Representation

Fundamentals of Multimedia. Lecture 3 Color in Image & Video

Advanced Computer Networks

Midterm Review. Yao Wang Polytechnic University, Brooklyn, NY11201

An Overview of Video Coding Algorithms

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

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

10 Digital TV Introduction Subsampling

Digital Media. Daniel Fuller ITEC 2110

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

Motion Video Compression

Analog and Digital Video Basics

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

2 Video Formation, Perception, and Representation Chapter 1 color value at any point in a video frame records the emitted or reflected light ata parti

Vannevar Bush: As We May Think

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

Image and video encoding: A big picture. Predictive. Predictive Coding. Post- Processing (Post-filtering) Lossy. Pre-

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

Lecture 1: Introduction & Image and Video Coding Techniques (I)

iii Table of Contents

Analog and Digital Video Basics. Nimrod Peleg Update: May. 2006

2.4.1 Graphics. Graphics Principles: Example Screen Format IMAGE REPRESNTATION

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

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

Video Compression Basics. Nimrod Peleg Update: Dec. 2003

Digital Media. Daniel Fuller ITEC 2110

Computer Graphics. Raster Scan Display System, Rasterization, Refresh Rate, Video Basics and Scan Conversion

VIDEO Muhammad AminulAkbar

Computer and Machine Vision

Basics on Video Communications and Other Video Coding Approaches/Standards

Man-Machine-Interface (Video) Nataliya Nadtoka coach: Jens Bialkowski

In the name of Allah. the compassionate, the merciful

[source unknown] Cornell CS465 Fall 2004 Lecture Steve Marschner 1

decodes it along with the normal intensity signal, to determine how to modulate the three colour beams.

MULTIMEDIA TECHNOLOGIES

Video coding standards

Electronic Publishing

Serial Digital Interface

Multimedia Systems. Part 13. Mahdi Vasighi

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

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

COPYRIGHTED MATERIAL. Introduction to Analog and Digital Television. Chapter INTRODUCTION 1.2. ANALOG TELEVISION

Analog TV Systems: Monochrome TV. Yao Wang Polytechnic University, Brooklyn, NY11201

Inputs and Outputs. Review. Outline. May 4, Image and video coding: A big picture

Elements of a Television System

Welcome Back to Fundamentals of Multimedia (MR412) Fall, ZHU Yongxin, Winson

Chapter 4 Color in Image and Video. 4.1 Color Science 4.2 Color Models in Images 4.3 Color Models in Video

4. Video and Animation. Contents. 4.3 Computer-based Animation. 4.1 Basic Concepts. 4.2 Television. Enhanced Definition Systems

Getting Images of the World

Video. Philco H3407C (circa 1958)

Introduction & Colour

Video Information Glossary of Terms

Contents. xv xxi xxiii xxiv. 1 Introduction 1 References 4

EECS150 - Digital Design Lecture 12 Project Description, Part 2

VIDEO 101: INTRODUCTION:

Transitioning from NTSC (analog) to HD Digital Video

Video 1 Video October 16, 2001

ANTENNAS, WAVE PROPAGATION &TV ENGG. Lecture : TV working

Overview: Video Coding Standards

Content storage architectures

High-Definition, Standard-Definition Compatible Color Bar Signal

Mahdi Amiri. April Sharif University of Technology

Video (Fundamentals, Compression Techniques & Standards) Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences

Chapter 6 & Chapter 7 Digital Video CS3570

Multimedia Communications. Video compression

Beyond the Resolution: How to Achieve 4K Standards

Traditionally video signals have been transmitted along cables in the form of lower energy electrical impulses. As new technologies emerge we are

Graphics Devices and Visual Perception. Human Vision. What is visual perception? Anatomy of the Eye. Spatial Resolution (Rods) Human Field of View

Nintendo. January 21, 2004 Good Emulators I will place links to all of these emulators on the webpage. Mac OSX The latest version of RockNES

Improving Quality of Video Networking

Colour Reproduction Performance of JPEG and JPEG2000 Codecs

Essence of Image and Video

OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY

h t t p : / / w w w. v i d e o e s s e n t i a l s. c o m E - M a i l : j o e k a n a t t. n e t DVE D-Theater Q & A

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

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

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

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

RECOMMENDATION ITU-R BT * Video coding for digital terrestrial television broadcasting

Video to SXGA Converter Box ID#475

NAPIER. University School of Engineering. Advanced Communication Systems Module: SE Television Broadcast Signal.

Module 3: Video Sampling Lecture 16: Sampling of video in two dimensions: Progressive vs Interlaced scans. The Lecture Contains:

Chapter 2 Video Coding Standards and Video Formats

AN MPEG-4 BASED HIGH DEFINITION VTR

DVB-UHD in TS

Transcription:

ECE 634: Digital Video Systems Formats: 1/12/17 Professor Amy Reibman MSEE 356 reibman@purdue.edu hip://engineering.purdue.edu/~reibman/ece634/index.html

ApplicaMons of digital video Entertainment EducaMon InteracMve communicamon Memorabilia, life- logging Medical and ScienMfic Imaging InformaMon extracmon Surveillance, scene understanding Items in blue: FOR humans Items in red: FOR humans or FOR machines

Items in red: FOR humans or FOR machines This course Items in black: FOR machines MoMon models, esmmamon, and tracking Video compression (theory and pracmce) Video transport (error resilience; scalable coding) Stereo, 3D video, lighyields and beyond Items in blue: Video quality and how we see FOR humans Video enhancement, stabilizamon Scene understanding and video analymcs

Today s outline 1/12/17 Video formats Sampling the plenopmc funcmon Color formats

PlenopMc FuncMon (Adelson 91) Measures the intensity of light that passes through a particular point in space Every possible viewing position, with any viewing angle, at every moment in time 3 location coordinates 2 angular directions Time Wavelength

Image FormaMon in a Pinhole Camera Light enters a darkened chamber through pinhole opening and forms an image on the back surface

Video signal What enters through the pinhole and projects on the image plane is a continuous 3-D signal (temporal, horizontal, vertical) Film records samples in time but continuous in space (typically 24 frames/sec) Analog video samples in time and samples vertically; continuous horizontally (about 30 frames/sec) Number of lines controls the maximum vertical frequency that can be displayed for a given viewing distance Video-raster = 1-D signal consisting of scan lines from successive frames Digital video: samples in time, vertically, and horizontally

On sampling temporally Several different approaches: Sample enmre frame at the exact same Mme instant Sample in raster scan order (a tracing finger) Rolling shuier Interlace We will touch on these more as they become relevant For many applicamons, the first is a sufficiently accurate approximamon

Interlacing (Almost) all Standard Definition video is interlaced

Interlaced video field 0 field 1 field 2 field 3 frame 0 frame 1

Interlaced video

Next up: sampling angularly On the next slide, each point in the 2D plane is a common format for video The diagonal lines indicate different aspect ramo The rectangles are color- coded with the diagonal lines The arcs indicate the number of pixels per frame Pixel === picture element

From wikipedia.org: 1080p

Digital formats Digital video is a sequence of frames (x,y,t) Ojen denoted {lines}{i,p} or {lines}{i,p}{fps} 1080i, 720p, 1080p60 Temporal resolumons Video 25, 30, 60 frames per second (fps) 50, 60, 120 fields per second Film: 24, 48 fps AnimaMon: ojen lower Why use more FPS?

SpaMal resolumons High- definimon TV (HDTV) 1920 x 1080 (1080p or 1080i) 1280 x 720 (720p) Standard- definimon TV (SDTV or TV) 720 x 480; 480 x 480; D1: 720 x 486, 720 x 576 Common Intermediate Format (CIF) 352 x 288, 30 frames per second Required for H.261 compression

SpaMal resolumons (cont) Source Image Format (SIF) 352 x 240; 352 x 288 (various frame rates!) Quarter CIF (QCIF) 176 x 120; 176 x 144 4CIF

Aspect RaMo Picture width relamve to picture height Display aspect ramos NTSC 4:3 HDTV 16:9 Pixel aspect ramos Computers: square TV: not square

Aspect ramo accommodamons: fiqng HD into SD, or SD into HD Squeeze video to fit Tall skinny people; short wide people LeIerboxing (Pillarboxing) Fill top and boiom (lej and right) with black Pan and scan Show only a subset of the full content Change viewing window over Mme if desired

HDTV formats 1080i CBS, NBC Improved spatial resolution 720p Fox, ABC, ESPN, A&E, History Channel Improved motion rendition Artifacts are prevalent when switching from one to another (if you re trained to see it) Jagged edges (particularly during motion)

How many bits per pixel? QuanMzaMon transforms the conmnuous value at each pixel locamon into a digital number that can be represented by a fixed number of bits. Most video today is 8 bits per pixel (for luminance) Emerging High Dynamic Range (HDR) images and video are 10 or 12 or 16 bits per pixel

On sampling the wavelengths (Color) What color are the central squares? hip://serendip.brynmawr.edu/~laurac/cube/cube.jpg

On sampling the wavelengths (Color) What color are the central squares? hip://serendip.brynmawr.edu/~laurac/cube/cube.jpg

Colorimetry Color itself is a perceptual property NOT an attribute of an object, but of how our eyes and our brain perceive it We often talk about color of an image in terms of the wavelength of light emitted or reflected from objects in the image I ll use the shortcut color here for the latter case

IlluminaMng and ReflecMng Light Illuminating sources: emit light (e.g. the sun, light bulb, TV monitors) follows additive rule R+G+B=White Reflecting sources: reflect an incoming light (e.g. the color dye, matte surface, cloth) Reflected frequencies are the emitted frequencies minus any absorbed frequencies follows subtractive rule R+G+B=Black Yao Wang, 2004

Human PercepMon of Color Retina contains photo receptors Cones: day vision, can perceive color tone Red, green, and blue cones Different cones have different frequency responses Tri-receptor theory of color vision [Young1802] Rods: night vision, perceive brightness only Color sensation is characterized by Luminance (perceived brightness) Chrominance (perceived color tone) Hue (color tone or peak wavelength) Saturation (color purity) Yao Wang, 2004

Frequency Responses of Cones and the Luminous Efficiency FuncMon

TrichromaMc Color Mixing Trichromatic color mixing theory Any color can be obtained by mixing three primary colors in the right proportion C = T C, T : Tristimulus values k k= 1,2,3 k Primary colors for illuminating sources (i.e., monitors): Red, Green, Blue (RGB) Primary colors for reflecting sources (i.e. printed papers) (also known as secondary colors) Cyan, Magenta, Yellow (CMY) k

Color RepresentaMon Models Tristimulus values associated with the three primary colors RGB or CMY Amplitude specification: 8 bits for each color component; 24 bits total for each pixel 16 million colors Luminance and chrominance HSI (Hue, saturation, intensity) YIQ (used in NTSC color TV) YCbCr (used in digital color TV)

Many color spaces Conversion between primary and XYZ/ YIQ/YUV are linear (3x3 matrix) Y = 0.299 R + 0.587 G + 0.114 B U = - 0.147 R - 0.289 G + 0.436 B V = 0.615 R - 0.515 G 0.100 B U = 0.436 (B-Y )/(1-0.114) V = 0.615 (R-Y )/(1-0.299) * For BT.601 and SDTV. Matrix for BT.709 and HDTV differs!

Perceptually uniform color spaces Perceptually uniform: A small perturbation to a value is approximately equally perceptible across the range of that value XYZ, RGB tristimulus values are not perceptually uniform L*u*v* (CIELUV) and L*a*b* (CIELAB) are closer Involves a cube-root Computationally complicated

Choosing color coordinates For display or prinmng: RGB or CMY, to produce more colors For analyzing color differences: HSI, for linear relamonship. For processing perceptually meaningful color: L*a*b* For transmission or storage: YIQ or YUV, for a less redundant representamon

Color in images and videos and OpenCV Images are commonly RGB, and each pixel locamon has 3 colors (this is ignoring Bayer color sampling) BE CAREFUL!!! OpenCV loads images as BGR Videos are commonly YUV or YCbCr, and there are fewer color pixels than luminance pixels OpenCV will automamcally convert videos in YUV into consecumve images of RGB, upsampling the color informamon

Chrominance Subsampling Formats 4:4:4 For every 2x2 Y Pixels 4 Cb & 4 Cr Pixel (No subsampling) 4:2:2 For every 2x2 Y Pixels 2 Cb & 2 Cr Pixel (Subsampling by 2:1 horizontally only) 4:1:1 For every 4x1 Y Pixels 1 Cb & 1 Cr Pixel (Subsampling by 4:1 horizontally only) 4:2:0 For every 2x2 Y Pixels 1 Cb & 1 Cr Pixel (Subsampling by 2:1 both horizontally and vertically) Y Pixel Cb and Cr Pixel

History

History of TV in US 1941: First NTSC broadcast, monochrome 4:3 aspect ratio; Interlacing 60 Hz (60 fields per second) 525 lines but only 480 active lines 1953: Color NTSC Backwards compatible with black and white TVs 1993: Grand Alliance forms to design HDTV 1996: First public broadcast of HDTV 2000: First HDTV Superbowl transmission 2009: Last analog transmission

NTSC Spectrum IllustraMon Yao Wang, 2004 Video Basics 36

Analog video NTSC (North America + Japan) 59.95 fields per second; 525 lines; YIQ PAL (most of Western Europe, India, Australia) 50 fields per second; 625 lines; YUV SECAM (most of the rest of Asia; eastern Europe) 50 fields per second; 625 lines; YDbDr

Progressive Scanning Scan lines Horizontal retrace Vertical retrace Progressive scan: Captures consecutive lines Captures a complete frame every Δt sec Also referred to as sequential or non-interlaced Used by computers J.Apostolopoulos, Stanford EE392J 38

Interlaced Scanning A C E B Even field Odd field (Horizontal & vertical retrace not shown) D Interlaced scan: Captures alternate lines (each frame split into two fields) Odd lines are captured (odd field), then even lines (even field) Captures a complete frame every Δt sec Used in analog television F J.Apostolopoulos, Stanford EE392J 39

Why interlaced? Provides a trade- off between temporal and vermcal resolumon, for a given, fixed data rate

Hold overs from analog video Temporal scanning: Interlace and progressive Digital video standards included capability for interlace up unml H.265 (High Efficiency Video Coding HEVC) Different spamal samplings: NTSC and PAL 525 lines at 30 fps; or 625 lines at 25 fps

SpaMal resolumons (revisited) Common Intermediate Format (CIF) 352 x 288, 30 frames per second Required for H.261 compression Source Image Format (SIF) 352 x 240; 352 x 288 (various frame rates!) Quarter CIF (QCIF) 176 x 120; 176 x 144 4CIF

BT.601* Video Format Digital encoding of analog video 858 pels 864 pels 720 pels 720 pels 5 2 5 lin e s 4 8 0 lin e s Ac tive Area 6 2 5 lin e s 5 7 6 lin e s Ac tive Area 122 pel 16 pel 132 pel 12 pel 525/60: 60 field/s 625/50: 50 field/s * BT.601 is formerly known as CCIR601 Yao Wang, 2004 Video Basics 43

Over the air HDTV in US Flexible picture formats Progressive scan or interlace scan Video compression based on MPEG-2

Digital Video Formats Video Format Y Size Color Sampling Frame Rate (Hz) Raw Data Rate (Mbps) HDTV Over air. cable, satellite, MPEG2 video, 20-45 Mbps SMPTE296M 1280x720 4:2:0 24P/30P/60P 265/332/664 SMPTE295M 1920x1080 4:2:0 24P/30P/60I 597/746/746 Video production, MPEG2, 15-50 Mbps BT.601 720x480/576 4:4:4 60I/50I 249 BT.601 720x480/576 4:2:2 60I/50I 166 High quality video distribution (DVD, SDTV), MPEG2, 4-10 Mbps BT.601 720x480/576 4:2:0 60I/50I 124 Intermediate quality video distribution (VCD, WWW), MPEG1, 1.5 Mbps SIF 352x240/288 4:2:0 30P/25P 30 Video conferencing over ISDN/Internet, H.261/H.263, 128-384 Kbps CIF 352x288 4:2:0 30P 37 Video telephony over wired/wireless modem, H.263, 20-64 Kbps QCIF 176x144 4:2:0 30P 9.1 Yao Wang, 2004