Correcting Projector Distortions on Planar Screens via Homography

Slides:



Advertisements
Similar presentations
Instituto de Sistemas e Robótica TELE-3D Calibrator Camera Calibration Using Intel OpenCV Library.
Advertisements

Single-view geometry Odilon Redon, Cyclops, 1914.
Computer Vision, Robert Pless
Last 4 lectures Camera Structure HDR Image Filtering Image Transform.
More Mosaic Madness : Computational Photography Alexei Efros, CMU, Fall 2011 © Jeffrey Martin (jeffrey-martin.com) with a lot of slides stolen from.
Cameras and Projectors
Multimedia Specification Design and Production 2012 / Semester 1 / week 6 Lecturer: Dr. Nikos Gazepidis
Omnidirectional camera calibration
Computer vision. Camera Calibration Camera Calibration ToolBox – Intrinsic parameters Focal length: The focal length in pixels is stored in the.
CSc D Computer Vision – Ioannis Stamos 3-D Computer Vision CSc Camera Calibration.
Geometric Transformations CSE P 576 Larry Zitnick
Single-view metrology
CS 223b Assignment 2: Review Vaibhav Vaish Escher: Looking inside “Another World”
Multi video camera calibration and synchronization.
Lecture 7: Image Alignment and Panoramas CS6670: Computer Vision Noah Snavely What’s inside your fridge?
CS485/685 Computer Vision Prof. George Bebis
Camera model Relation between pixels and rays in space ?
Sebastian Thrun and Jana Kosecha CS223B Computer Vision, Winter 2007 Stanford CS223B Computer Vision, Winter 2007 Lecture 4 Camera Calibration Professors.
CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry Some material taken from:  David Lowe, UBC  Jiri Matas, CMP Prague
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Panoramas and Calibration : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Rick Szeliski.
Projected image of a cube. Classical Calibration.
Camera Calibration from Planar Patterns Homework 2 Help SessionCS223bStanford University Mitul Saha (courtesy: Jean-Yves Bouguet, Intel)
CSCE 641 Computer Graphics: Image-based Modeling (Cont.) Jinxiang Chai.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Today: Calibration What are the camera parameters?
Automatic Camera Calibration
Computer vision: models, learning and inference
Camera Calibration & Stereo Reconstruction Jinxiang Chai.
WP3 - 3D reprojection Goal: reproject 2D ball positions from both cameras into 3D space Inputs: – 2D ball positions estimated by WP2 – 2D table positions.
Last Lecture (optical center) origin principal point P (X,Y,Z) p (x,y) x y.
Homogeneous Coordinates (Projective Space) Let be a point in Euclidean space Change to homogeneous coordinates: Defined up to scale: Can go back to non-homogeneous.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Geometric Models & Camera Calibration
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
Camera calibration Digital Visual Effects Yung-Yu Chuang with slides by Richard Szeliski, Steve Seitz,, Fred Pighin and Marc Pollefyes.
Metrology 1.Perspective distortion. 2.Depth is lost.
© 2005 Martin Bujňák, Martin Bujňák Supervisor : RNDr.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Geometric Transformations CSE 455 Ali Farhadi Many slides from Steve Seitz and Larry Zitnick.
Single-view geometry Odilon Redon, Cyclops, 1914.
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Radial Distortion (Extrinsic Calibration?) 1.
Feature Matching. Feature Space Outlier Rejection.
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
Calibration.
3D Reconstruction Using Image Sequence
3D Sensing 3D Shape from X Perspective Geometry Camera Model Camera Calibration General Stereo Triangulation 3D Reconstruction.
Project 1 Due NOW Project 2 out today –Help session at end of class Announcements.
Example: warping triangles Given two triangles: ABC and A’B’C’ in 2D (12 numbers) Need to find transform T to transfer all pixels from one to the other.
Stereoscopic Imaging for Slow-Moving Autonomous Vehicle By: Alex Norton Advisor: Dr. Huggins February 28, 2012 Senior Project Progress Report Bradley University.
Calibration ECE 847: Digital Image Processing Stan Birchfield Clemson University.
Geometric Model of Camera
More Mosaic Madness © Jeffrey Martin (jeffrey-martin.com)
Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/4/17
Homogeneous Coordinates (Projective Space)
Homography From Wikipedia In the field of computer vision, any
More Mosaic Madness : Computational Photography
More Mosaic Madness © Jeffrey Martin (jeffrey-martin.com)
Geometric Transformations
Idea: projecting images onto a common plane
Geometric Transformations
Multiple View Geometry for Robotics
Geometric Transformations
Geometric Transformations
Single-view geometry Odilon Redon, Cyclops, 1914.
Camera Calibration from Planar Patterns
Geometric Transformations
Calibration and homographies
Geometric Transformations
Presentation transcript:

Correcting Projector Distortions on Planar Screens via Homography Daniel Hirt

Projector Devices Today More affordable Smaller Some are even low-cost and compact

A Common Setup of a Projector Device Mounted on ceiling

Another Common Setup Placed on table

Deviations from Recommeded Setup Cause distortions Mild deviations may cause mild distortions, oftenly referred to as “keystone effect”

Basic Distortion Correction Most projectors offer a limited range of methods to correct a distorted image. Usually only “keystone correction” is available, and require manual operation.

Problem Solved? “Keystone Correction” features in projectors does not overcome all distortions. Some distortions might be caused by extreme conditions of projector placement.

Projection Correction On Planar Screens Recall the perspective projection formula, give a 3D point (x,y,z). We can use this to correct our image, but... We do not have any 3D information

Approaches to Get 3D Information Rectified Calibrated Stereo (two cameras) Determine calibration values for: Projector Camera Each of the above can give enough information for us to correct the distorted image

However, We Need to Also Know Intrinsic Parameters Focal length Principal point Lens distortion Extrinsic Parameters Translation Rotation Note: not all are actually required to be able to get a correction, but we need to have most for each of the participants (camera, projector)

Chosen Approach - Homography Popular in image and video analysis Offers a simpler approach for planar-to-planar projection problems

Using Homography A point (x1,y1) is projected from one plane to another point (x2,y2) x1,y1 x2,y2 We represent these points in homogenous coordinates

Using Homography In homogenous coordinates we get the following pinhole model

Using Homography Solving an 8-DOF system Applying properties of homogenous representation where z=0 in points on planars, we get: 1 Solving an 8-DOF system

Method and Setup

Steps Get at least 4 correspondence points (usually the four corners) to solve 8-DOF system. Solve the homography matrix from corresponding points in captured projected image (webcam) to reference straight image. Apply persepective warp: H*(reference image) “pre-warping” Re-project the pre-warped image

Raised Issues The model is a good approximation Some factors are added but are not considered in the model: Projector and webcam’s native distortions In practice, we need to improve the process, for more flexibility.

Improvement Project a chessboard pattern: 6x8 squares (5x7 inner corners) Detects 35 corresponding points Scale-down the reference image to approximate to the size of the captured image (factor of resize: diagonals on inner corners) Solves the Homography using RANSAC with the 35 sample points

Setup and Results -Laptop Computer -Webcam -Pico Projector -Program using OpenCV 2.4.3 library (Linux OS)

Results