Image Formation Fundamentals Basic Concepts (Continued…)

Slides:



Advertisements
Similar presentations
Image formation. Image Formation Vision infers world properties form images. How do images depend on these properties? Two key elements –Geometry –Radiometry.
Advertisements

C280, Computer Vision Prof. Trevor Darrell Lecture 2: Image Formation.
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Geometry 1: Projection and Epipolar Lines Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
Cameras (Reading: Chapter 1) Goal: understand how images are formed Camera obscura dates from 15 th century Basic abstraction is the pinhole camera Perspective.
Image Formation and Optics
Geometry of Images Pinhole camera, projection A taste of projective geometry Two view geometry:  Homography  Epipolar geometry, the essential matrix.
Announcements. Projection Today’s Readings Nalwa 2.1.
Lecture 5: Projection CS6670: Computer Vision Noah Snavely.
Stefano Soatto (c) UCLA Vision Lab 1 Homogeneous representation Points Vectors Transformation representation.
MSU CSE 803 Stockman Perspective algebra: quick- and-dirty first look Geometry of similar triangles yields algebra for computing world-image transformation.
Announcements Mailing list (you should have received messages) Project 1 additional test sequences online Talk today on “Lightfield photography” by Ren.
CS485/685 Computer Vision Prof. George Bebis
Computer Vision - A Modern Approach
Announcements Mailing list Project 1 test the turnin procedure *this week* (make sure it works) vote on best artifacts in next week’s class Project 2 groups.
Computer Vision : CISC4/689
Lecture 12: Projection CS4670: Computer Vision Noah Snavely “The School of Athens,” Raphael.
The Pinhole Camera Model
MSU CSE 803 Fall 2008 Stockman1 CV: 3D sensing and calibration Coordinate system changes; perspective transformation; Stereo and structured light.
The Image Formation Pipeline
CS223b, Jana Kosecka Rigid Body Motion and Image Formation.
The Camera : Computational Photography Alexei Efros, CMU, Fall 2008.
Stockman MSU/CSE Math models 3D to 2D Affine transformations in 3D; Projections 3D to 2D; Derivation of camera matrix form.
Cameras, lenses, and calibration
Perspective projection
EEM 561 Machine Vision Week 10 :Image Formation and Cameras
Basic Principles of Imaging and Photometry Lecture #2 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Image formation & Geometrical Transforms Francisco Gómez J MMS U. Central y UJTL.
Cameras Course web page: vision.cis.udel.edu/cv March 22, 2003  Lecture 16.
Design of photographic lens Shinsaku Hiura Osaka University.
Lenses Chapter 30.
Image Formation. Input - Digital Images Intensity Images – encoding of light intensity Range Images – encoding of shape and distance They are both a 2-D.
1 CS6825: Image Formation How are images created. How are images created.
Fundamental of Optical Engineering Lecture 3.  Aberration happens when the rays do not converge to a point where it should be. We may distinguish the.
01/28/05© 2005 University of Wisconsin Last Time Improving Monte Carlo Efficiency.
776 Computer Vision Jan-Michael Frahm Fall Camera.
Geometric Models & Camera Calibration
CS559: Computer Graphics Lecture 9: Projection Li Zhang Spring 2008.
1 Computer Vision 一目 了然 一目 了然 一看 便知 一看 便知 眼睛 頭腦 眼睛 頭腦 Computer = Image + Artificial Vision Processing Intelligence Vision Processing Intelligence.
Image Formation Dr. Chang Shu COMP 4900C Winter 2008.
Geometric Camera Models
Vision Review: Image Formation Course web page: September 10, 2002.
Peripheral drift illusion. Multiple views Hartley and Zisserman Lowe stereo vision structure from motion optical flow.
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
CSE 185 Introduction to Computer Vision Cameras. Camera models –Pinhole Perspective Projection –Affine Projection –Spherical Perspective Projection Camera.
1 Chapter 2: Geometric Camera Models Objective: Formulate the geometrical relationships between image and scene measurements Scene: a 3-D function, g(x,y,z)
Psychology 3680 Course Website Or And follow the links….
Computer vision: models, learning and inference M Ahad Multiple Cameras
Instructor: Mircea Nicolescu Lecture 3 CS 485 / 685 Computer Vision.
Cameras, lenses, and sensors 6.801/6.866 Profs. Bill Freeman and Trevor Darrell Sept. 10, 2002 Reading: Chapter 1, Forsyth & Ponce Optional: Section 2.1,
CS559: Computer Graphics Lecture 9: 3D Transformation and Projection Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Introduction to Image Processing Course Notes Anup Basu, Ph.D. Professor, Dept of Computing Sc. University of Alberta.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Lecture 18: Cameras CS4670 / 5670: Computer Vision KavitaBala Source: S. Lazebnik.
CSE 185 Introduction to Computer Vision
Rendering Pipeline Fall, 2015.
CS262 – Computer Vision Lect 4 - Image Formation
The Camera : Computational Photography
CSE 185 Introduction to Computer Vision
Instructor: Mircea Nicolescu
Modeling 101 For the moment assume that all geometry consists of points, lines and faces Line: A segment between two endpoints Face: A planar area bounded.
Lecture 13: Cameras and geometry
Geometric Camera Models
Lecturer: Dr. A.H. Abdul Hafez
The Camera : Computational Photography
Announcements Midterm out today Project 1 demos.
Projection Readings Nalwa 2.1.
Credit: CS231a, Stanford, Silvio Savarese
Announcements Midterm out today Project 1 demos.
Presentation transcript:

Image Formation Fundamentals Basic Concepts (Continued…)

How are images represented in the computer? courstey UNR computer vision course

Image digitization Sampling means measuring the value of an image at a finite number of points. Quantization is the representation of the measured value at the sampled point by an integer. courstey UNR computer vision course

Image digitization (cont’d) courstey UNR computer vision course

Image quantization (Example) 256 gray levels (8bits/pixel) 32 gray levels (5 bits/pixel) 16 gray levels (4 bits/pixel) 8 gray levels (3 bits/pixel) 4 gray levels (2 bits/pixel) 2 gray levels (1 bit/pixel) courstey UNR computer vision course

Image sampling (example) original image sampled by a factor of 2 sampled by a factor of 4 sampled by a factor of 8 courstey UNR computer vision course

Digital image An image is represented by a rectangular array of integers. An integer represents the brightness or darkness of the image at that point. N: # of rows, M: # of columns, Q: # of gray levels –N =, M =, Q = (q is the # of bits/pixel) –Storage requirements: NxMxQ (e.g., N=M=1024, q=8, 1MB) courstey UNR computer vision course

Image formation There are two parts to the image formation process: –The geometry of image formation, which determines where in the image plane the projection of a point in the scene will be located. –The physics of light, which determines the brightness of a point in the image plane as a function of illumination and surface properties. courstey UNR computer vision course

A Simple model of image formation The scene is illuminated by a single source. The scene reflects radiation towards the camera. The camera senses it via chemicals on film. courstey UNR computer vision course

Pinhole cameras Abstract camera model - box with a small hole in it Pinhole cameras work in practice courstey Dr. G. D. Hager

Real Pinhole Cameras Pinhole too big - many directions are averaged, blurring the image Pinhole too small- diffraction effects blur the image Generally, pinhole cameras are dark, because a very small set of rays from a particular point hits the screen. courstey Dr. G. D. Hager

The reason for lenses Lenses gather and focus light, allowing for brighter images. courstey Dr. G. D. Hager

The thin lens Thin Lens Properties: 1.A ray entering parallel to optical axis goes through the focal point. 2.A ray emerging from focal point is parallel to optical axis 3.A ray through the optical center is unaltered courstey Dr. G. D. Hager

The thin lens Note that, if the image plane is very small and/or z >> z’, then z’ is approximately equal to f courstey Dr. G. D. Hager

Lens Realities Real lenses have a finite depth of field, and usually suffer from a variety of defects vignetting Spherical Aberration courstey Dr. G. D. Hager

The equation of projection Equating z’ and f –We have, by similar triangles, that (x, y, z) -> (-f x/z, -f y/z, -f) –Ignore the third coordinate, and flip the image around to get: courstey Dr. G. D. Hager

Distant objects are smaller courstey Dr. G. D. Hager

Parallel lines meet common to draw film plane in front of the focal point A Good Exercise: Show this is the case! courstey Dr. G. D. Hager

Orthographic projection Suppose I let f go to infinity; then courstey Dr. G. D. Hager

The model for orthographic projection courstey Dr. G. D. Hager

Weak perspective Issue –perspective effects, but not over the scale of individual objects –collect points into a group at about the same depth, then divide each point by the depth of its group –Adv: easy –Disadv: wrong courstey Dr. G. D. Hager

The model for weak perspective projection courstey Dr. G. D. Hager

Model for perspective projection courstey Dr. G. D. Hager

Image coordinate system courstey UNR computer vision course pixel coordinate system image coordinate system

Intrinsic Parameters Intrinsic Parameters describe the conversion from unit focal length metric to pixel coordinates (and the reverse) It is common to combine scale and focal length together as the are both scaling factors; note projection is unitless in this case! courstey Dr. G. D. Hager

Image formation - Recap Taken from MASKS (invitation to 3D vision) world coordinate system camera coordinate system (R,T) pixel coordinate system image coordinate system If we consider unit focal length Scaling factor = depth of the point X x1x1

Camera parameters Summary: –points expressed in external frame –points are converted to canonical camera coordinates –points are projected –points are converted to pixel units point in cam. coords. point in metric image coords. point in pixel coords. point in world coords. courstey Dr. G. D. Hager

Camera Calibration The problem: Compute the camera intrinsic and extrinsic parameters using only observed camera data.

Calibration with a Rig Use the fact that both 3-D and 2-D coordinates of feature points on a pre-fabricated object (e.g., a cube) are known.

Calibration with Multiple Plane Images Actually used in practice these days

Calibration Continued…