Video Object Tracking and Replacement for Post TV Production LYU0303 Final Year Project Spring 2004.

Slides:



Advertisements
Similar presentations
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 9 Adding Realism Through Texture.
Advertisements

9.1si31_2001 SI31 Advanced Computer Graphics AGR Lecture 9 Adding Realism Through Texture.
Video Object Tracking and Replacement for Post TV Production LYU0303 Final Year Project Spring 2004.
Graphics Pipeline.
Texture Mapping. Texturing  process that modifies the appearance of each point on a surface using an image or function  any aspect of appearance can.
Chapter 2: Time and Space Lecturer: Norhayati Mohd Amin.
Video Object Tracking and Replacement for Post TV Production LYU0303 Final Year Project Fall 2003.
Virtual Dart: An Augmented Reality Game on Mobile Device Supervisor: Professor Michael R. Lyu Prepared by: Lai Chung Sum Siu Ho Tung.
Computer Concepts 2013 Chapter 8 Digital Media. 8 Digital Audio Basics  Sampling a sound wave Chapter 8: Digital Media 2.
LYU0603 A Generic Real-Time Facial Expression Modelling System Supervisor: Prof. Michael R. Lyu Group Member: Cheung Ka Shun ( ) Wong Chi Kin ( )
Supervised by Prof. LYU, Rung Tsong Michael Department of Computer Science & Engineering The Chinese University of Hong Kong Prepared by: Chan Pik Wah,
(conventional Cartesian reference system)
Video Object Tracking and Replacement for post TV production LYU0303 Final Year Project Fall 2003.
Video Object Tracking and Replacement for Post TV Production LYU0303 Final Year Project Fall 2003.
University of New Mexico
Hand Movement Recognition By: Tokman Niv Levenbroun Guy Instructor: Todtfeld Ari.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
Topic 4 - Video Data Basic Concepts
Post-rendering Cel Shading & Bloom Effect
Digital Video An Introduction to the Digital Signal File Formats Acquisition IEEE 1394.
Video Data Topic 4: Multimedia Technology. What is Video? A video is just a collection of bit-mapped images that when played quickly one after another.
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
Digital Images The digital representation of visual information.
Working With Images, Sound, and Video Mark Grabe.
Computer Concepts – Illustrated 8th edition
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Impulse Embedded Processing Video Lab Generate FPGA hardware Generate hardware interfaces HDL files HDL files FPGA bitmap FPGA bitmap C language software.
Simple Graphics. Graphics Used in PowerPoint, Web pages and others Basic Knowledge drawing change of colour, shape and others acquiring, video camera,
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
CMPD273 Multimedia System Prepared by Nazrita Ibrahim © UNITEN2002 Multimedia System Characteristic Reference: F. Fluckiger: “Understanding networked multimedia,
Reconstructing 3D mesh from video image sequences supervisor : Mgr. Martin Samuelčik by Martin Bujňák specifications Master thesis
Advanced Computer Technology II FTV and 3DV KyungHee Univ. Master Course Kim Kyung Yong 10/10/2015.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 5 Working with Images Starting Out with Games & Graphics in.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
Object Orientated Data Topic 5: Multimedia Technology.
XP Practical PC, 3e Chapter 15 1 Creating Desktop Video and Animation.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
1 Artificial Intelligence: Vision Stages of analysis Low level vision Surfaces and distance Object Matching.
I. Getting Started with the Interface Microsoft ® Windows ® Movie Maker.
1 Research Question  Can a vision-based mobile robot  with limited computation and memory,  and rapidly varying camera positions,  operate autonomously.
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
IMovie 10 Overview. Importing Files from a Video Camera into iMovie 1.Plug the camera into a wall outlet using the power supply. (Some cameras will not.
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
CSCI-100 Introduction to Computing Hardware Part II.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
Portable Camera-Based Assistive Text and Product Label Reading From Hand-Held Objects for Blind Persons.
Introduction to Computer Graphics
Chapter 8 Digital Media.
University of New Mexico
Computer Graphics Texture Mapping
Composition.
Creating Desktop Video and Animation
VIDEO.
Basic Concepts Video is a collection of bit-mapped still images (called frames) that are taken one after the other. When the file is played these pictures.
The Graphics Rendering Pipeline
Models and Architectures
Software Equipment Survey
Computer Graphics.
Chapter 14 Shading Models.
Models and Architectures
Models and Architectures
Digital Media Dr. Jim Rowan ITEC 2110.
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
Models and Architectures
Models and Architectures
Chapter 14 Shading Models.
Presentation transcript:

Video Object Tracking and Replacement for Post TV Production LYU0303 Final Year Project Spring 2004

Outline Brief project overview and targets achieved New components added to the proposed system Working principles of individual parts Future work Q & A

Overview Post-TV production processes and changes the content of a video clip Difficult for computers to process video in a global view Step-by-step programming enables the computer to “think” more thoroughly

Overview We have introduced the following parts in the last semester:  Bitmap I/O  RGB HSV converter  Edge detector  Edge equation finder  Translation detector  Texture mapper New parts have been added in order to increase the functionality of the system

Additional Basic Components The following parts have been added  Graphical User Interface (GUI)  Corner point finder  Video file reader and writer  Video player processor (frame-based)  Improved texture mapper The following part has been modified  Bitmap I/O  Edge finder  Texture mapper  Removed Equation processor

Graphical User Interface Although UI is not a main project part, a good GUI can significantly decrease the time needed for processing and program maintenance Since C++ language is being used, the Microsoft Foundation Classes are adopted to develop the user interface Provide most of the basic functions needed for information input and output

Graphical User Interface

Corner Point Finder As we know that processing dots are much faster than processing lines, we may wish to try to find the corner points directly before finding the edge equations Stick some brightly coloured labels at the corners of the rectangular surface Can apply on cylindrical objects as well to indicated the curve control points A simple K-Means method is used to group the points together.

Corner Point Finder

Video File I/O As we are talking about video processing, it is inevitable to handle video reading and writing DirectShow interfaces are being used in the project Able to process any type of AVI video as long as the Window Media Player can play them

Video Player We need to choose a video renderer that is suitable for our application To reserve the function of real-time processing and video texture in the future, the Video Mixing Renderer 9 (VMR9) is used Allows the rendering of more than one video or bitmap on the screen at the same time

Video Processor Video are sequence of bitmap frames We capture each video frame and process them in the same way as processing the bitmaps After a video frame is being processed, we add them to an AVI file Default video compressor is DivX Mpeg4 encoder (FourCC code “divx”)

Video Renderer Video System Structure

Texture Mapper A graphics design technique used to wrap a surface of a 3-D object with a texture map The 3-D object acquires a surface texture similar to the texture map. Colors, brightness values or altitudes

Texture Mapper Mapping function (u,v) (r,c) Texture coordinates Image coordinates

line by line process each pixel on every line Scan-line conversion Scanline y k Scanline y k+1 scanning order for every line

Cylindrical mapping Mapping cylinders 3 parts: Surface detection Orientation determination Scan-line mapping

Surface detection Hough algorithm to detect 2 straight edges

Surface detection Scanning from top to bottom in an orthogonal way To detect the points shown These are points where color transition occurs

Surface detection Model the curve surfaces by ellipses X 2 / a 2 + y 2 / b 2 = 1

Orientation determination Add markers at the edge Each indicates a specific portion of the texture map

Scan-line mapping Line by line From left to right Problem: need consideration of depth

Scan-line mapping Solution: Radius and center of the can could be detected. To find the inclined angle. The larger it is, the more texture map is assigned to that pixel. 1 pixel

Scan-line mapping 1 pixel Texture scanning is not line by line 2nd1st3rd

Cylindrical mapping

Shadow mapping Mapping of surface brightness Retain the brightness of the original surface Method:  Compute the average brightness of the image surface  Scale down the texture brightness by (avg_bright/256)  Replace the V value of the mapped surface

Shadow mapping

Limitations Camera distortion  Lines are not parallel

Future Work Keep the audio data in output file Enable input to be any video capturing device Further increase the accuracy of recognition Allow user to choose an output format Video texture replacement (e.g. replace one surface of the sample cube with another video clip) 3D object mapping

Q & A