3D Shape Inference Computer Vision No.2-1.

Slides:



Advertisements
Similar presentations
PHYSICS InClass by SSL Technologies with S. Lancione Exercise-48
Advertisements

1 Constraint Satisfaction Problems. 2 Intro Example: 8-Queens Generate-and-test: 8 8 combinations.
CIS Intro to AI 1 Interpreting Line Drawings & Constraint Satisfaction II Mitch Marcus CIS 391 – Fall 2008.
Three Dimensional Viewing
Dynamic Occlusion Analysis in Optical Flow Fields
Shared Graphics Skills Cameras and Clipping Planes
ME 250: Design & Manufacturing I School of Mechanical Engineering
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
Structure from motion.
11-1 Space Figures and Cross Sections
EE663 Image Processing Edge Detection 2 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
1 Introduction to 3D Imaging: Perceiving 3D from 2D Images How can we derive 3D information from one or more 2D images? There have been 2 approaches: 1.
MSU CSE 803 Stockman1 CV: Perceiving 3D from 2D Many cues from 2D images enable interpretation of the structure of the 3D world producing them.
CSE (c) S. Tanimoto, 2008 Image Understanding II 1 Image Understanding 2 Outline: Guzman Scene Analysis Local and Global Consistency Edge Detection.
CSE (c) S. Tanimoto, 2007 Segmentation and Labeling 1 Segmentation and Labeling Outline: Edge detection Chain coding of curves Segmentation into.
1 Pertemuan 20 Understanding Continued Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.
Photometric Stereo & Shape from Shading
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
1 Perceiving 3D from 2D Images How can we derive 3D information from one or more 2D images? There have been 2 approaches: 1. intrinsic images: a 2D representation.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #18.
Recap Low Level Vision –Input: pixel values from the imaging device –Data structure: 2D array, homogeneous –Processing: 2D neighborhood operations Histogram.
Light in a Newtonian view Chapter 16. Introducing: light Light is the most important source of information for humans Concept of light rays - there are.
Image Formation. We will use geometrical optics: light propagates in straight lines until its direction is changed by reflection or refraction. When we.
Shape from Contour Recover 3D information. Muller-Lyer illusion.
Vertex – A point at which two or more edges meet Edge – A line segment at which two faces intersect Face – A flat surface Vertices, Edges, Faces.
Here, we’ll show you how to draw a ray diagram for a concave mirror when the object is between the center of curvature and the focal point.
Computer Graphics Bing-Yu Chen National Taiwan University.
Lesson 3.  describe, quantitatively, the phenomena of reflection  use ray diagrams to describe an image formed by thin lenses and curved mirrors.
Edge and Boundary interpretation Consistent line drawing labeling via backtracking Presented by Guy Shtub.
7.1 Three- Dimensional Figures I can classify and draw three-dimensional figures.
3D Shape Inference Computer Vision No.2-1. Pinhole Camera Model the camera center Principal axis the image plane.
(c) 2000, 2001 SNU CSE Biointelligence Lab Finding Region Another method for processing image  to find “regions” Finding regions  Finding outlines.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
12.1 Exploring Solids.
1 Converting Celsius to Fahrenheit C 1.8  32 + F
Computer vision: models, learning and inference M Ahad Multiple Cameras
1Ellen L. Walker 3D Vision Why? The world is 3D Not all useful information is readily available in 2D Why so hard? “Inverse problem”: one image = many.
CIS Intro to AI 1 Interpreting Line Drawings (An Introduction to Constraint Satisfaction) Mitch Marcus CIS 391 Fall 2008.
Lecture 8CSE Intro to Cognitive Science1 Interpreting Line Drawings II.
7.1 Three- Dimensional Figures I can classify and draw three-dimensional figures.
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Forward and backward projection 1.
Mirrors.
 Light travels in a straight line  Objects emitting light do so in all directions  A light “ray” is a line and arrow representing the directions and.
11.1 Notes Space Figures and Cross Sections. Identifying Nets and Space Figures A polyhedron is a 3-dimensional figure whose surfaces are polygons. -
Three Dimensional Viewing
4 More about 3-D Figures Case Study 4.1 Symmetry of 3-D Figures
PERSPECTIVE PROJECTION…...
Skewed Symmetry and Scene Regularities
Engineering Geometry Engineering geometry is the basic geometric elements and forms used in engineering design. Engineering and technical graphics are.
Advanced Higher Computing Based on Heriot-Watt University Scholar Materials Applications of AI – Vision and Languages 1.
Orthographic Projection
Copyright © Cengage Learning. All rights reserved.
Orthographic Projection
3D Rendering Pipeline Hidden Surface Removal 3D Primitives
Three Dimensional Viewing
Geometric Camera Models
Planar Geometric Projection Classes
I. The Problem of Molding
Lecture 13 Clipping & Scan Conversion
REFLECTIONS of PLANE AND SPHERICAL MIRRORS
ORTHOGRAPHIC PROJECTION
Course 6 Stereo.
Vision: Scene Labelling
ORTHOGRAPHIC PROJECTION
The Reflection of Light: Mirrors
Vision: Scene Labelling
Orthographic Projection
The Reflection of Light: Mirrors
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

3D Shape Inference Computer Vision No.2-1

Pinhole Camera Model the image plane the camera center Principal axis

Perspective Projection the camera center the optical axis Focal length the image plane

Orthographic Projection the camera center the optical axis the image plane

Weak Perspective Projection the reference plane the camera center the optical axis the image plane

Para Perspective Projection the reference plane the camera center the optical axis the image plane

Orthographic Projection the camera center the optical axis the image plane

Obtain a 3D Information form Line Drawing Given Line drawing(2D) Find 3D object that projects to given lines How do you think it’s a cube, not a painted pancake?

Line Labeling Significance Pioneers Provides 3D interpretation(within limits) Illustrates successful(but incomplete)approach Introduces constraints satisfaction Pioneers Roberts(1976) Guzman(1969) Huffman&Clows (1971) Waltz (1972)

Outline Types of lines types of vertices Junction Dictionary Labeling by constraint propagation Discussion

Line Types concave convex occluding occluding

Labeling a Line Drawing Easy to label lines for this solid →Now invert this in order to understand shape

Enumerating Possible Line Labeling without Constraints 9 lines 4 labels each →4x4x4x4x4x4x4x4x4= 250,000 possibilities We want just one reality must reduce surplus possibilities →Need constraints (by 3D relationship)

Vertex Types Divide junctions into categories Need some constraints to reduce junction types

Restrictions No shadows, no cracks Non-singular views At most three faces meet at vertex

Fewer Vertex Types

Vertex Labeling Three planes divide space into octants Trihedral vertex at intersection of 3 planes Enumerate all possibilities  (Some full, some empty)

Enumerating Possible Vertex Labeling(1) 0or8octants full--no vertex 2,4,6 octants full singular view 7octants full 1FORK 5octants full 2L,1ARROW

3octants full Enumeration(2) upper behind L right above L left above L straight above ARROW straight below FORK

1octant--Seven viewing octants supply Enumeration(3) 1octant--Seven viewing octants supply

Huffman&Clows Junction Dictionary Any other arrangements cannot arise Have reduced configuration from 144 to 12

Constraints on Labeling Without constraints-- 250,000possibilities Consider constraints →3x3x3x6x6x6x5= 29,000possibilities We can reduce more by coherency/consistency along line.

Labeling by Constraint Propagation “Waltz filtering” By coherence rule, line label constrains neighbors Propagate constraint through common vertex Usually begin on boundary May need to backtrack

Example of Labeling

Line drawing can have multiple labelings Ambiguity Line drawing can have multiple labelings

Wire-frame cube Necker Reversal(1) Human perception flips from one to the other (After Necker 1832,Swiss naturalist)

Necker Reversal(2)

Impossible Objects No consistent labeling But some do have a consistent labeling What’s wrong here?

Limitations of Line Labeling Only qualitative;only gets topology Something wrong

Preliminary 3D analysis of shape Summary(1) Preliminary 3D analysis of shape 1. Identify 3D constraint 2. Determine how constraint affects images 3. Develop algorithm to exploit constraint --> General method for 3D vision Tool:constraint propagation/satisfaction

Summary(2) Problems 1. Significant ambiguity possible 2. Assumes perfect segmentation 3. Can be fooled without quantitative analysis

Gradient Space Computer Vision No. 2-2

Gradient Space and Line Labeling Last time: line labeling by constraint propagation Use gradient space to represent surface orientation - +

Review of Line Labeling Problem Given a line drawing, label all the lines with one of 4 symbols + convex edge - concave edge ←→ occluding edges Approach Narrow down the number of possible labels with a vertex catalog + -

Surface Normal Normal of a plane Rewrite Normal vector (A,B,C)

Surface Gradient Gradient of surface is Gradient of plane

Surface Gradient p1 p3 p2 y q p

Relationship of Normal to Gradient (p,q) 1 p q x y Normal Vector x p1 p4 p5 q p p1 p3 p2 y

Polyhedron in Gradient Space F E D C B I A + - x y A’ D’ C’ B’ I’ H’ G’ F’ E’ p q Top view of polyhedron A ∥ x-y plane Same order as left

Vector on a Surface Suppose vector on surface with gradient Under orthography, vector in scene projects to is surface normal vector, so

Vector on Two Surfaces Suppose vector on boundary between two surfaces Surfaces have gradients and If , then p q G1 G2

Ordering of Points Along Gradient Line Perpendicular to Connect Edge B1’ B2’ B3’ A p q B1 B3 B2 S T A If connect edge ST convex, then points on gradient space maintain same order (left-right) as A and Bi in image If ST concave, then order switches

How does this gradient space stuff help us to label lines? + L is a “connect edge” (vector on two surface) Assume orthography Line in gradient space connecting R1 and R2 must be perpendicular to line L

Line Labeling using Gradient Space 1. Assign arbitrary gradient (0,0) to A 2. Consider B lines 1,2 may be connect edges or may be occluding edges 3. Suppose line 1 a connect edge 4. Suppose line 2 a connect edge, then (line A’B’) (line 2) impossible. So line 2 occluding. B A C 1 2 3 4 5 B’ A’ p q

Line Labeling using Gradient Space 5. Suppose lines 3 and 4 are connect edges 6. and so forth can get multiple interpretations B A C 1 2 3 4 5 B’ A’ p q C’ C + -

Another Payoff: Detect Inconsistencies L2 L1 L1 L2

Summary Can use gradient space to represent surface orientation detect inconsistent line labels constraint labeled line drawings establish line labels without the vertex catalog

References M.B. Clowes, “On seeing things,” Artificial Intelligence, Vol.2, pp.79-116, 1971 D.A. Huffman, “Impossible objects as nonsense sentences,” Machine Intelligence, Vol.6, pp.295-323, 1971 A.K.Mackworth, “On reading sketch maps,” 5th IJCAI, pp.598-606, 1977