Cameras and Projectors

Slides:



Advertisements
Similar presentations
Automatic Color Gamut Calibration Cristobal Alvarez-Russell Michael Novitzky Phillip Marks.
Advertisements

Computer Vision, Robert Pless
Graphics Pipeline.
RealityEngine Graphics Kurt Akeley Silicon Graphics Computer Systems.
A Projector Based Hand-held Display System
A Keystone-free Hand-held Mobile Projection System Li Zhaorong And KH Wong Reference: Zhaorong Li, Kin-Hong Wong, Yibo Gong, and Ming-Yuen Chang, “An Effective.
Applications Presented by: Michal Kamara. Outline Motivation-shadow removal from multi- projector displays Dynamic shadow elimination for multi- projector.
Multimedia Specification Design and Production 2012 / Semester 1 / week 6 Lecturer: Dr. Nikos Gazepidis
Correcting Projector Distortions on Planar Screens via Homography
VisHap: Guangqi Ye, Jason J. Corso, Gregory D. Hager, Allison M. Okamura Presented By: Adelle C. Knight Augmented Reality Combining Haptics and Vision.
Presented by : …….. Ramesh Raskar, Greg Welch and Henry Fuchs University of North Carolina at Chapel Hill Presented by : …….. Ramesh Raskar, Greg Welch.
Slide 1 Tiled Display Walls - Relation to the Access Grid and Other Systems Mike Walterman, Manager of Graphics Programming, Scientific Computing and Visualization.
RANSAC-Assisted Display Model Reconstruction for Projective Display Patrick Quirk, Tyler Johnson, Rick Skarbez, Herman Towles, Florian Gyarfas, Henry Fuchs.
Announcements Project 1 artifact voting ( announce later today) Project 2 out today (help session at end of class) IMPORTANT: choose Proj 2 partner.
A Personal Surround Environment: Projective Display with Correction for Display Surface Geometry and Extreme Lens Distortion Tyler Johnson, Florian Gyarfas,
Lecture 7: Image Alignment and Panoramas CS6670: Computer Vision Noah Snavely What’s inside your fridge?
Real-Time Geometric and Color Calibration for Multi-Projector Displays Christopher Larson, Aditi Majumder Large-Area High Resolution Displays Motivation.
CSCE 641 Computer Graphics: Image-based Modeling Jinxiang Chai.
CS335 Principles of Multimedia Systems Multimedia and Human Computer Interfaces Hao Jiang Computer Science Department Boston College Nov. 20, 2007.
1Jana Kosecka, CS 223b Cylindrical panoramas Cylindrical panoramas with some slides from R. Szeliski, S. Seitz, D. Lowe, A. Efros,
CSCE 641 Computer Graphics: Image Mosaicing Jinxiang Chai.
CV: 3D sensing and calibration
More Mosaic Madness : Computational Photography Alexei Efros, CMU, Fall 2005 © Jeffrey Martin (jeffrey-martin.com) with a lot of slides stolen from.
MSU CSE 803 Fall 2008 Stockman1 CV: 3D sensing and calibration Coordinate system changes; perspective transformation; Stereo and structured light.
11/21/02Visualization Laboratory, Texas A&M University1 Next Generation Spatially Immersive Visualization Systems Prof. Frederic I. Parke Visualization.
5/5/2006Visualization Sciences, Texas A&M University1 Spatially Immersive Visualization Systems (an update) Prof. Frederic I. Parke Visualization Sciences.
Capturing the Motion of Ski Jumpers using Multiple Stationary Cameras Atle Nes Faculty of Informatics and e-Learning Trondheim University.
Announcements Project 1 artifact voting Project 2 out today (help session at end of class)
Introduction to 3D Graphics John E. Laird. Basic Issues u Given a internal model of a 3D world, with textures and light sources how do you project it.
Announcements Midterm due Friday, beginning of lecture Guest lecture on Friday: Antonio Criminisi, Microsoft Research.
Automatic Camera Calibration
Computer vision: models, learning and inference
Camera Calibration & Stereo Reconstruction Jinxiang Chai.
A Brief Overview of Computer Vision Jinxiang Chai.
Basic Graphics Concepts Day One CSCI 440. Terminology object - the thing being modeled image - view of object(s) on the screen frame buffer - memory that.
Introduction to Robot Vision
1 Image Basics Hao Jiang Computer Science Department Sept. 4, 2014.
Image Formation Fundamentals Basic Concepts (Continued…)
Reconstructing 3D mesh from video image sequences supervisor : Mgr. Martin Samuelčik by Martin Bujňák specifications Master thesis
High-Resolution Interactive Panoramas with MPEG-4 발표자 : 김영백 임베디드시스템연구실.
Metrology 1.Perspective distortion. 2.Depth is lost.
GENESIS OF VIRTUAL REALITY  The term ‘Virtual reality’ (VR) was initially coined by Jaron Lanier, founder of VPL Research (1989)..
CS4670 / 5670: Computer Vision KavitaBala Lecture 17: Panoramas.
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Radial Distortion (Extrinsic Calibration?) 1.
Basic Perspective Projection Watt Section 5.2, some typos Define a focal distance, d, and shift the origin to be at that distance (note d is negative)
Mosaics part 3 CSE 455, Winter 2010 February 12, 2010.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
Making Panoramas. Input: Output: … Input:  A set of images taken from the same optical center.  For this project, the images will also have the same.
CS559: Computer Graphics Lecture 9: 3D Transformation and Projection Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
Projector-camera system Application of computer vision projector-camera v3a1.
Name Enrolment no.: Dhruti Desai Khushboo Desai Sneha Gangwani Rajul Shah
Image Stitching Computer Vision CS 691E Some slides from Richard Szeliski.
Electronic Visualization Laboratory University of Illinois at Chicago Programming the Personal Augmented Reality Immersive System (PARIS) Chris Scharver.
Seamless Video Stitching from Hand-held Camera Inputs Kaimo Lin, Shuaicheng Liu, Loong-Fah Cheong, Bing Zeng National University of Singapore University.
Image Stitching II Linda Shapiro EE/CSE 576.
Configurable Display.
CS4670 / 5670: Computer Vision Kavita Bala Lecture 20: Panoramas.
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Overview Pin-hole model From 3D to 2D Camera projection
Idea: projecting images onto a common plane
Announcements Project 2 out today (help session at end of class)
Image Stitching II Linda Shapiro EE/CSE 576.
Chapter 1: Image processing and computer vision Introduction
Multiple View Geometry for Robotics
Image Stitching Computer Vision CS 678
Filtering Things to take away from this lecture An image as a function
Course 6 Stereo.
Image Stitching II Linda Shapiro EE/CSE 576.
Presentation transcript:

Cameras and Projectors Hao Jiang Computer Science Department Boston College Oct. 2, 2007 CS335 Principles of Multimedia Systems

Cameras and Projectors Cameras and projectors have been intensively used in many different multimedia applications. It is important to understand techniques to manipulate these devices. We will study basic methods about calibration, image warping and blending, and other issues in building a camera/projector system. CS335 Principles of Multimedia Systems

Example Application: Projector Geometry Distortion Compensation Automatically correcting projector geometry distortion using a camera and projector system. CS335 Principles of Multimedia Systems

Camera / Projector Geometry Model Camera and projector can be modeled as a pinhole imaging system. Object Point Optical Center Focal length Optical axis Image point Image Plane CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Camera Geometry Model A camera projects a 3D point onto a 2D point in a image. y x 3D point (X, Y, Z) in camera’s frame is (X’,Y’,Z’) (Ox, Oy) f x = (f X’/Z’)/dx + Ox = fx X’/Z’ + Ox y = (f Y’/Z’)/dy + Oy = fy Y’/Z’ + Oy dx and dy are width and height of an image pixel CS335 Principles of Multimedia Systems

Homogenous Coordinate The homogenous coordinate of a 3D point (x,y,z) is (X,Y,Z,W) where X/W = X, Y/W=Y and Z/W=Z. The homogenous coordinate of a 2D point (x,y) is (X,Y,W) where X/W = x, Y/W=Y. We can convert a 3D point from one frame to another, by simply T*P, where T is a 4x4 matrix and P is the homogeneous coordinate of the 3D point. CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Camera Matrix Using homogenous coordinate, the camera projection can be represented as X a11 a12 a13 a14 a21 a22 a23 a24 a31 a32 a33 a34 x Y P = A3x4 = A P p = ~ y Z w W Where A3x4 is a 3 rows and 4 columns matrix, called camera matrix. CS335 Principles of Multimedia Systems

Projection from a Plane to Another Plane Z X Y P p Since p = A P We have O x y w a11 a12 a14 a21 a22 a24 a31 a32 a34 X Y 1 p = ~ = H p’ H is defines a Homography. CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems The Projector Model Projector shares similar model with a camera. The only difference is that a projector projects a flat object that emits lights based on a computer image onto an image plane, the screen. Based on the previous analysis about planar object projection, the image from the computer and the one projected on the screen are related by a homography. CS335 Principles of Multimedia Systems

The Camera-Projector System H2*r H1*p Image on the screen q p H2*H1*p Camera image Image sent to projector CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Calibration We would like to compute H1 and H2. We project marker points on the screen and form equations a11Xn + a12Yn + a14 a31Xn + a32Yn + a34 a21Xn + a22Yn + a24 = xn n = 1 .. N = yn a34=1 CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Image Adjustment (I) Image on the screen Assume that the viewer is close to the camera. H2*H1*p H1*p q p The desired Image. Pre-warping Camera image Projector image Each p is projected to the camera image and the color is determined by color interpolation in the desired image. CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Image Adjustment (II) Image on the screen The desired image Estimate H2 using screen corners projections. H2*H1*p H1*p Pre-warping Camera image Project image Pre-warp image based on the desired image on the screen. CS335 Principles of Multimedia Systems

Projection onto Arbitrary Surfaces We have learned how to deal with projector distortion using a planar screen. We can extend the method into other types of surfaces, such as cylinder or spheres. We need a relative dense mesh grid to capture the local deformation model. CS335 Principles of Multimedia Systems

Titled Large Screen Display CS335 Principles of Multimedia Systems

Titled Large Screen Display LCD or CRT are still not easy to be made as large as a wall. Titling multiple projector images into a large screen display is flexible and relatively cheap. The shortcoming is we need to align the images from different projectors in both geometry and color. Manually adjusting the projectors is a tedious task. Camera project system can be used to solve the problem. CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Titled Images 2 3 4 Calibration Patterns 1 (Projector to Camera Homography can be computed based on these patterns) 6 7 8 5 9 11 10 12 Projector images The camera view CS335 Principles of Multimedia Systems

Large Screen Projection projector image 3 p pcamera = Hqprojector 2 3 4 The big image q 1 6 7 8 5 9 11 10 12 Projector images The camera view CS335 Principles of Multimedia Systems

Edge and Color Alignment Colors of different projectors are usually different. A color calibration and adjustment procedure is needed. Blending Color(p) = a Color(2,p) + (1-a)Color(3,p) 2 3 p a is determined by the dominance of 2 or 3. CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Blending The size of the blending region has to be carefully selected If the region is too small, large scale structures will show abrupt changes. If it is too big, small structures (edges, dots) will overlap in a big region and therefore will result in blur (ghost) images. a 1-a Blending region CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Multi-band Blending Multi-band blending can be used to address the problem. In multi-band blending, images are filtered into different bands. The mask is also low-pass filtered to generate mask for each band images. Images are blending in each channel. The blended images are summed up to get the final result. CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Image Pyramids The Gaussian Pyramid CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Image Pyramids The Laplacian Pyramid CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Image Pyramids The Gaussian pyramid of the mask CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Multi-band Blending Multi-band blending CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Multi-band Blending CS335 Principles of Multimedia Systems

System Issues of Large Screen Display Large screen projection needs multiple projectors working simultaneously. The first structure uses share memory system such as SGI Oynx2, that employs a shared-memory model. A single program can have different threads writing OpenGL primitives into different pipes while reading from a single shared database and synchronizing display update over shared flags. The second structure is PC cluster, in which each PC handles one projector. This framework is much cheaper but the synchronization is a challenge problem. CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Applications Visualization and Collaboration IEEE Computer Graphics and Applications, 2000 CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Immersive Reality The CAVE (University of Illinois at Chicago) IEEE Computer Graphics and Applications, 2000 CS335 Principles of Multimedia Systems

Projection for Augmented Environment Anton Treskunov and Jarrell Pair, PROJECTOR-CAMERA SYSTEMS FOR IMMERSIVE TRAINING, ASC06 CS335 Principles of Multimedia Systems

Input Methods for Large Screens It presents challenges for traditional input methods. Possible HCI methods include: Pointing devices, including 3D tracking, passive optical (video) tracking, ultrasonic tracking, mice, and tablet interfaces; User tracking, for point-of-view rendering or for gaze directed interaction, via optical tracking or electromagnetic tracking; Handheld devices, providing control interfaces that can be out of band from the display; Voice commands with audio feedback; And haptics interfaces. CS335 Principles of Multimedia Systems

Multiple Camera System Multiple camera system can capture video from different locations simultaneously. Stereo system has been widely used for inferring the “depth” of objects. CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems 3D reconstruction from Multiple Views CS335 Principles of Multimedia Systems

Application of Multi-camera Imaging Image based rendering The Matrix CS335 Principles of Multimedia Systems

CS335 Principles of Multimedia Systems Cameras in the Matrix CS335 Principles of Multimedia Systems

Camera Calibration Toolboxes OpenCV Matlab Calibration Toolbox http://www.vision.caltech.edu/bouguetj/calib_doc/ Multiple Camera Calibration http://cmp.felk.cvut.cz/~svoboda/SelfCal/ CS335 Principles of Multimedia Systems