Temporal Sampling and Interpolation

Similar documents
White paper. HDTV (High Definition Television) and video surveillance

Chapter 1 Time-Lapse Introduction and theory By E.M (Ted) Kinsman Rochester, NY June 2006

A Brief on Visual Acuity and the Impact on Bandwidth Requirements

A pragmatic look at higher frame rates in Digital Cinema

WHICH HD ENDOSCOPIC CAMERA?

Example Chapter 08-Number 09: This example demonstrates some simple uses of common canned effects found in popular photo editors to stylize photos.

SHOOTING AND EDITING DIGITAL VIDEO. AHS Computing

CS-184: Computer Graphics

INTRODUCTION TO RENDERING TECHNIQUES

Optimizing BrightSign Video Quality

. ImagePRO. ImagePRO-SDI. ImagePRO-HD. ImagePRO TM. Multi-format image processor line

DVD FLICK BUILD 738 GUIDE. (Ver. 2.0) Created by: Chirayuw at DVD Flick Forums

Getting ready for high frame rates in Digital Cinema

Robin Dittwald Institut für Linguistik Universität zu Köln June Subtitles with ELAN An Easy Guide

Quick start guide! Terri Meyer Boake

BASIC VIDEO EDITING: IMOVIE

Blender 3D Animation

How To Use 3D On A Computer Or Tv

Recommended codecs: MJPEG, Apple ProRes, H264 (bitrate if possible) > 2MBit/s and uncompressed (very large file)

Stereoscopic 3D Video in the Home

NAPCS Product List for NAICS 51219: Post Production Services and Other Motion Picture and Video Industries

Maya 2014 Basic Animation & The Graph Editor

Connecting Retro or Vintage Computers to a PC Monitor.

Prepared by: Paul Lee ON Semiconductor

A Survey of Video Processing with Field Programmable Gate Arrays (FGPA)

USING 25FPS SCENES IN 24.00FPS AVID MEDIA COMPOSER FILM PROJECTS

BCC Multi Stripe Wipe

Lawrence Township Cable and Telecommunication Advisory Committee FAQs

Understanding Video Latency What is video latency and why do we care about it?

Quality Estimation for Scalable Video Codec. Presented by Ann Ukhanova (DTU Fotonik, Denmark) Kashaf Mazhar (KTH, Sweden)

Quick Start. Guide. The. Guide

DVR GUIDE. Using your DVR/Multi-Room DVR WAVE-123 wavebroadband.com

Anime Studio Debut vs. Pro

Understanding HD: Frame Rates, Color & Compression

Comp 410/510. Computer Graphics Spring Introduction to Graphics Systems

Quintic Software Tutorial 5d

How an electronic shutter works in a CMOS camera. First, let s review how shutters work in film cameras.

ACE: After Effects CC

Information Technology Lab School of Information University of Texas Summer 2005

To determine vertical angular frequency, we need to express vertical viewing angle in terms of and. 2tan. (degree). (1 pt)

Create stunning flash movies online in minutes with the easiest flash maker in the world! Try the world's best online flash movie maker.

WP5 - GUIDELINES for VIDEO shooting

Binocular Vision and The Perception of Depth

Best practices for producing quality digital video files

USING PROFESSIONAL PLASMA DISPLAYS AS EVALUATION GRADE VIDEO MONITORS. Peter H. Putman, CTS ROAM Consulting L.L.C. Doylestown, PA

Digital Video-Editing Programs

Audio/Video Synchronization Standards and Solutions A Status Report. Patrick Waddell/Graham Jones/Adam Goldberg

Understanding ultra high definition television

Graphical displays are generally of two types: vector displays and raster displays. Vector displays

Blender 3D: Noob to Pro/Die Another Way

Shutter Speed in Digital Photography

CS 4300 Computer Graphics. Prof. Harriet Fell Fall 2012 Lecture 33 November 26, 2012

Parameter values for the HDTV standards for production and international programme exchange

Create 3D Videos in VideoWave The Easy Way

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg

HIGH-DEFINITION: THE EVOLUTION OF VIDEO CONFERENCING

Advances in scmos Camera Technology Benefit Bio Research

Lecture Notes, CEng 477

High Definition (HD) Technology and its Impact. on Videoconferencing F770-64

White paper. Latency in live network video surveillance

16:9 aspect ratio is a average widescreen format between 2.35:1 and 1.33:1(4:3) Jens T. Sætre 1

Compression Workshop. notes. The Illities. Richard Harrington. With RICHARD HARRINGTON

White paper. H.264 video compression standard. New possibilities within video surveillance.

Subliminal Flicker: Part I 1. SUBLIMINAL FLICKER Part I: Computer screens, TV's and Flicker Sensitivity. by Richard Conrad, Ph.D.

Computer Game and Animation Past, Present, and Future

Adobe Marketing Cloud Sharpening images in Scene7 Publishing System and on Image Server

Photosensitive Epilepsy

Figure 1: Relation between codec, data containers and compression algorithms.

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. M.Sc. in Advanced Computer Science. Friday 18 th January 2008.

Digital Photography Composition. Kent Messamore 9/8/2013

PRODUCING DV VIDEO WITH PREMIERE & QUICKTIME

Visual Storytelling, Shot Styles and Composition

Color management workflow in Adobe After Effects CS4

Introduction to. With Slides from Dongho Kim and Karen Liu. School of Computer Soongsil University Animation. Computer Animation

B2.53-R3: COMPUTER GRAPHICS. NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions.

The Limits of Human Vision

CREATE A 3D MOVIE IN DIRECTOR

Adding Animation With Cinema 4D XL

A Short Introduction to Computer Graphics

Big Sandy Broadband DVR Guide

Dynamic Resolution Rendering

A Proposal for OpenEXR Color Management

High-speed Photography with a Still Digital Camera

Solomon Systech Image Processor for Car Entertainment Application

Whitepaper. Image stabilization improving camera usability

Proactive Video Assurance through QoE and QoS Correlation

What is idvd? idvd is a software program used to create menus for DVD projects and to burn video to DVDs.

Working with the BCC Clouds Generator

SHOW MORE SELL MORE. Top tips for taking great photos

The Evolution of Video Conferencing: UltimateHD

DVD Arabesk 3 Tutorial & Tips

Computer Vision and Video Electronics

Aliasing, Image Sampling and Reconstruction

What is a DSLR and what is a compact camera? And newer versions of DSLR are now mirrorless

Transcription:

Temporal Sampling and Interpolation Billy Biggs 30 May 2003 http://scanline.ca/deinterlacing/ Temporal Sampling and Interpolation - 30 May 2003 1

Software tvtime: A realtime video deinterlacer. http://tvtime.sourceforge.net/ movietime: A DVD deinterlacer. http://www.sourceforge.net/projects/movietime/ reetpvr: An off-line 2-3 pulldown inverter. http://www.sourceforge.net/projects/reetpvr/ Temporal Sampling and Interpolation - 30 May 2003 2

Overview Motion and the eye Film Video Converting film to video Converting video to progressive Problems, problems, problems Temporal Sampling and Interpolation - 30 May 2003 3

Motion and the eye In 1824, Peter Mark Roget wrote Persistance of Vision with Regard to Moving Objects, used a rotating device with vertical slits to make still images appear as if they are in motion. Sparked alot of inventions, including the Thaumascope, a card with a picture on each side. If rotated fast enough, the two pictures merged into one. Eventually lead to film: early silent films used anything between 16 and 24 frames per second. Temporal Sampling and Interpolation - 30 May 2003 4

Motion and the eye: Observations Stroboscopic motion: still frames shown fast enough appear as motion Filter effects of the eye: The Thaumascope uses the motion blur effects of the eye: persistance can cause images shown rapidly in sequence to appear as one. Dithering is an example of how the eye acts as a low pass filter. Temporal aliasing: Spinning wheels that appear still or go backwards Temporal Sampling and Interpolation - 30 May 2003 5

Edges and perception The eye is sensitive to sharp changes in contrast. As well, the brain is able to use edge information Edges contain much of the information in the scene. Temporal Sampling and Interpolation - 30 May 2003 6

Some cool eye tricks related to edges, perception, and contrast sensitivity Temporal Sampling and Interpolation - 30 May 2003 7

Some cool eye tricks related to edges, perception, and contrast sensitivity Temporal Sampling and Interpolation - 30 May 2003 8

Some cool eye tricks related to edges, perception, and contrast sensitivity Temporal Sampling and Interpolation - 30 May 2003 9

More eye stuff: Flicker The eye is sensitive to high frequencies, despite the blurring effect, and more sensitive in the peripheral vision. Most computers complain about flicker if their monitor is at 60hz or lower. Most TV viewers don t mind: TV is brighter than a monitor, and further away. Temporal Sampling and Interpolation - 30 May 2003 10

How many frames per second From 100fps.com: How many frames per second can the human eye see? is NOT the same as: How many frames per second do I have to have to make motions look fluid? And it s not the same as: How many frames per second makes the movie stop flickering? And it s not the same as: What is the shortest frame a human eye would notice? Temporal Sampling and Interpolation - 30 May 2003 11

Frameless rendering Neat idea: Importance sample in time. Zagier 97, Bergman et al 86, some others Idea is that updating individual pixels can also achieve high quality animation. Poynton shows some arguments against this (Poynton97): doesn t work for standards conversion, and leads to spacial inconsistencies that are noticable. (edges over filtering) Temporal Sampling and Interpolation - 30 May 2003 12

Film Film is shot at 24 frames per second. Film aperature times are usually high enough that you get some gratuituous motion blur. Refresh rate in a theatre is 48hz, each frame is shown twice, not usually noticable strobing. Slow enough that pans can be stuttery. Temporal Sampling and Interpolation - 30 May 2003 13

Video Video uses the blurring effects of the eye to compress video: interlaced video. Idea: Like the Thaumascope, rapidly switching between two low quality images to appear like a single high quality image. Interlaced video is a sequence of fields instead of frames. Each field is half of the scanlines of a full image: even and odd fields. Temporal Sampling and Interpolation - 30 May 2003 14

Video Temporal Sampling and Interpolation - 30 May 2003 15

Video standards North america is NTSC style : Frames are 486 scanlines tall (each field is 243 scanlines), 59.94 fields per second. Most other places are PAL style : Frames are 576 scanlines tall (each field is 288 scanlines), 50 fields per second. People say that PAL TVs flicker horridly. Temporal Sampling and Interpolation - 30 May 2003 16

Converting film to video Process is called pulldown. Easier case: 24fps film to 50fps PAL, known as 2-2 pulldown. Film is sped up to 25fps, each frame is shown for two fields. Temporal Sampling and Interpolation - 30 May 2003 17

Converting film to video Harder case: 24fps film to 59.94fps NTSC, known as 3-2 pulldown. 24 and 59.94 don t divide nicely, 24 and 60 are better. Pretend video is 60fps, show film as frames in a 2-3-2-3 pattern. Slow film down to 23.976fps and do this to get 59.94fps. Temporal Sampling and Interpolation - 30 May 2003 18

Pulldown Temporal Sampling and Interpolation - 30 May 2003 19

Converting film to video Other forms of pulldown used on older silent films (Metropolis). Temporal Sampling and Interpolation - 30 May 2003 20

Frame-based movies on a computer monitor Problem: computer monitors run at 60hz or 72hz or 85hz or whatever, have to design a more general algorithm. First solution: pulldown. Show frames multiple times, try and amortize. Some problems with 10ms scheduling: (3223233 instead of 232323). Temporal Sampling and Interpolation - 30 May 2003 21

Deinterlacing Deinterlacing is the process of converting fields to full frames. First method: Use linear interpolation for the missing scanlines. This effectively emulates a television. Temporal Sampling and Interpolation - 30 May 2003 22

Temporal aliasing We re point sampling at a higher rate, should have no problems. First problem: Interlaced video. Uses the dithering effects of the eye. Without an even amortization, the effect is lost. Video fades between seeing more of the top fields/more of the bottom fields, looks like text is bouncing. Temporal Sampling and Interpolation - 30 May 2003 23

Solutions for temporal aliasing First solution: Run at 59.94hz exactly, or 119.88hz. Requires triple buffering. Next solution: Try and make frames look complete, so if we favour top or bottom, we don t notice. Temporal Sampling and Interpolation - 30 May 2003 24

Motion detection in tvtime Compare pixel in next and previous fields to ones above and below, try and decide if there is motion. Motion? Interpolate pixel, No change? Copy pixel. Lots of artifacts, never perfect. Tom Barry: motion. Motion compensation code, use pixel search to detect Temporal Sampling and Interpolation - 30 May 2003 25

Reasons to deinterlace Display. Lower rate. Many computers can t deal with 60fps video. Better to drop to 30fps, and the easy way to do this is to deinterlace every second field. Encoding. Want to store a high quality but low bitrate version. Most encoders can only handle full frames, not keep fields distinct. Temporal Sampling and Interpolation - 30 May 2003 26

Film to Video to Computer These motion methods aren t optimal for film material. It would be better to detect pulldown, and construct the appropriate full frames. Temporal Sampling and Interpolation - 30 May 2003 27

My pulldown detection method top bot - - diff SAME diff diff SAME diff diff diff diff diff Temporal Sampling and Interpolation - 30 May 2003 28

Richard Felker s pulldown detection method Use blocks, look at four fields. Find block of largest difference, use that to make all decisions. Temporal Sampling and Interpolation - 30 May 2003 29

Problem cases: Mixed video and film content What to do if part of the frame is film and the rest is video? What to do if the video contains parts film, parts video, or crossfades between them? Problems: Many modern animated shows, documentaries about movies, or shows that composite logos. Temporal Sampling and Interpolation - 30 May 2003 30

Problem cases: Mixed video and film content Temporal Sampling and Interpolation - 30 May 2003 31

Problem cases: Film content edited as video Many, many shows go after the film look by recording as film, but editing as video. Leads to pulldown that breaks every scene change. Examples: Malcolm in the Middle, Buffy, Power Rangers,... Temporal Sampling and Interpolation - 30 May 2003 32

More problem cases single pixel lines, intentional flicker, other hacks. 72hz or 59.94hz? Low bitrate encoding, high quality encoding. Broadcast TV stations that speed-up shows. Standards converters that use linear interpolation. Temporal Sampling and Interpolation - 30 May 2003 33

More on this irc.freenode.net on #livid http://scanline.ca/deinterlacing/ Temporal Sampling and Interpolation - 30 May 2003 34