14
CSE 140: Computer CSE 140: Computer Vision Vision Camillo J. Taylor Camillo J. Taylor Assistant Professor Assistant Professor CIS Dept, UPenn CIS Dept, UPenn

CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

Embed Size (px)

Citation preview

Page 1: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

CSE 140: Computer VisionCSE 140: Computer Vision

Camillo J. TaylorCamillo J. Taylor

Assistant ProfessorAssistant Professor

CIS Dept, UPennCIS Dept, UPenn

Page 2: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

What is Computer VisionWhat is Computer Vision

Recover information about the Recover information about the scene from one or more imagesscene from one or more images

Relevant questionsRelevant questions• What’s out thereWhat’s out there• Where is itWhere is it• Where is it goingWhere is it going

Page 3: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

Computer Vision as an Computer Vision as an Inverse ProblemInverse Problem

Given information about the geometry Given information about the geometry of the scene, surface reflectance of the scene, surface reflectance properties, lighting configuration and properties, lighting configuration and camera model we can generate an camera model we can generate an imageimage

The problem of computer vision is to The problem of computer vision is to infer these properties of the scene infer these properties of the scene from the image data (a 2D array of from the image data (a 2D array of numbers]numbers]

Page 4: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

OutlineOutline

ReconstructionReconstruction RecognitionRecognition

Page 5: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

StereoStereo

Given two images of a scene taken Given two images of a scene taken from known positions with from known positions with calibrated cameras recover the 3D calibrated cameras recover the 3D structure of the environment.structure of the environment.

Page 6: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

Correspondence ProblemCorrespondence Problem

Stereo algorithms attempt to Stereo algorithms attempt to automatically detect correspondences automatically detect correspondences between points in the two images.between points in the two images.

Once these correspondences have Once these correspondences have been determined, the locations of been determined, the locations of these points in space can be these points in space can be determined from a simple determined from a simple triangulationtriangulation

Page 7: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

SSD matchingSSD matching

The sum of squared differences is The sum of squared differences is a commonly used matching a commonly used matching criterion in stereo algorithmscriterion in stereo algorithms

SSD i d I i j d I i jl rj

( , ) ( ( ) ( ))

2

Page 8: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

Constraints that can be Constraints that can be employed in matchingemployed in matching

UniquenessUniqueness OrderingOrdering SmoothnessSmoothness

Page 9: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

Recovering 3D models Recovering 3D models from 2D imagefrom 2D image

For single images we can only For single images we can only recover the geometry if we make recover the geometry if we make some assumptions about the some assumptions about the shape of objects that we’re looking shape of objects that we’re looking atat

Page 10: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

ReconstructionsReconstructions

Page 11: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

More ReconstructionsMore Reconstructions

Page 12: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

RecognitionRecognition

One statement of the recognition problemOne statement of the recognition problem• Given a 3D model of a target object determine Given a 3D model of a target object determine

whether that object appears in a given imagewhether that object appears in a given image In the alignment approach to recognition In the alignment approach to recognition

the computer hypothesizes matches the computer hypothesizes matches between features in the model and between features in the model and features in the image and then tests features in the image and then tests whether any other features support this whether any other features support this matchmatch

Page 13: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

Other approaches to Other approaches to recognitionrecognition

Image basedImage based• Directly compare stored image to Directly compare stored image to

acquired image to determine whether acquired image to determine whether or not they are similaror not they are similar

• Useful in face recognitionUseful in face recognition

Page 14: CSE 140: Computer Vision Camillo J. Taylor Assistant Professor CIS Dept, UPenn

Recognizing articulated Recognizing articulated objectsobjects

David Forsyth’s Horse finderDavid Forsyth’s Horse finder