3D Head Mesh Data Stereo Vision Active Stereo 3D Reconstruction

Slides:



Advertisements
Similar presentations
Reconstruction from Voxels (GATE-540)
Advertisements

3D Head Mesh Data Stereo Vision Active Stereo 3D Reconstruction 3dMD System 1.
Stereo Vision Reading: Chapter 11
CS 376b Introduction to Computer Vision 04 / 21 / 2008 Instructor: Michael Eckmann.
Vision Sensing. Multi-View Stereo for Community Photo Collections Michael Goesele, et al, ICCV 2007 Venus de Milo.
Stereo Many slides adapted from Steve Seitz. Binocular stereo Given a calibrated binocular stereo pair, fuse it to produce a depth image Where does the.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Stereo.
December 5, 2013Computer Vision Lecture 20: Hidden Markov Models/Depth 1 Stereo Vision Due to the limited resolution of images, increasing the baseline.
Last Time Pinhole camera model, projection
Surface Reconstruction from 3D Volume Data. Problem Definition Construct polyhedral surfaces from regularly-sampled 3D digital volumes.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2005 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
Acknowledgement: some content and figures by Brian Curless
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.
Multi-view stereo Many slides adapted from S. Seitz.
Introduction to Computer Vision 3D Vision Topic 9 Stereo Vision (I) CMPSCI 591A/691A CMPSCI 570/670.
The plan for today Camera matrix
3D from multiple views : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Jianbo Shi.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
CSE473/573 – Stereo Correspondence
Announcements PS3 Due Thursday PS4 Available today, due 4/17. Quiz 2 4/24.
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
CSCE 641 Computer Graphics: Image-based Modeling (Cont.) Jinxiang Chai.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2006 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
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.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
Introduction to 3D Vision How do we obtain 3D image data? What can we do with it?
3D Vision. 3D Perception: Illusions Block & Yuker.
Camera Calibration & Stereo Reconstruction Jinxiang Chai.
Marching Cubes: A High Resolution 3D Surface Construction Algorithm
A Brief Overview of Computer Vision Jinxiang Chai.
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
Marching Cubes: A High Resolution 3D Surface Construction Algorithm William E. Lorenson Harvey E. Cline General Electric Company Corporate Research and.
Stereo Vision Reading: Chapter 11 Stereo matching computes depth from two or more images Subproblems: –Calibrating camera positions. –Finding all corresponding.
3D Sensing and Reconstruction Readings: Ch 12: , Ch 13: , Perspective Geometry Camera Model Stereo Triangulation 3D Reconstruction by.
IMAGE SYNTHESIS 1 Image Synthesis Image synthesis operations create images from other images or non-image data Used when a desired image is either physically.
December 4, 2014Computer Vision Lecture 22: Depth 1 Stereo Vision Comparing the similar triangles PMC l and p l LC l, we get: Similarly, for PNC r and.
Stereo Many slides adapted from Steve Seitz.
Stereo Many slides adapted from Steve Seitz. Binocular stereo Given a calibrated binocular stereo pair, fuse it to produce a depth image image 1image.
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
CSE 185 Introduction to Computer Vision Stereo. Taken at the same time or sequential in time stereo vision structure from motion optical flow Multiple.
3D Sensing Camera Model Camera Calibration
(c) 2000, 2001 SNU CSE Biointelligence Lab Finding Region Another method for processing image  to find “regions” Finding regions  Finding outlines.
IMAGE SYNTHESIS 1 Image Synthesis Image synthesis operations create images from other images or non-image data Used when a desired image is either physically.
CHAPTER 5 CONTOURING. 5.3 CONTOURING Fig 5.7. Relationship between color banding and contouring Contour line (isoline): the same scalar value, or isovalue.
October 19, STEREO IMAGING (continued). October 19, RIGHT IMAGE PLANE LEFT IMAGE PLANE RIGHT FOCAL POINT LEFT FOCAL POINT BASELINE d FOCAL.
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.
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
Computer vision: geometric models Md. Atiqur Rahman Ahad Based on: Computer vision: models, learning and inference. ©2011 Simon J.D. Prince.
Noah Snavely, Zhengqi Li
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
제 5 장 스테레오.
Photorealistic Rendering vs. Interactive 3D Graphics
Computational Vision CSCI 363, Fall 2016 Lecture 15 Stereopsis
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Introduction to Graphics Modeling
CSc4730/6730 Scientific Visualization
Common Classification Tasks
Range Imaging Through Triangulation
Acknowledgement: some content and figures by Brian Curless
--- Stereoscopic Vision and Range Finders
--- Stereoscopic Vision and Range Finders
Reconstruction.
CS5500 Computer Graphics May 29, 2006
Course 6 Stereo.
3D Sensing and Reconstruction Readings: Ch 12: , Ch 13: 13
Stereo vision Many slides adapted from Steve Seitz.
Presentation transcript:

3D Head Mesh Data Stereo Vision Active Stereo 3D Reconstruction 3dMD System

Data Types Volumetric Data Surface Data Voxel grids Occupancy Density Point clouds Range images (range maps)

Range Acquisition Taxonomy Mechanical (CMM, jointed arm) Inertial (gyroscope, accelerometer) Contact Ultrasonic trackers Magnetic trackers Industrial CT Range acquisition Transmissive Ultrasound MRI Radar Non-optical Sonar Reflective Optical

Range Acquisition Taxonomy Shape from X: stereo motion shading texture focus defocus Passive Optical methods Active variants of passive methods Stereo w. projected texture Active depth from defocus Photometric stereo Active Time of flight Triangulation

Optical Range Scanning Methods Advantages: Non-contact Safe Usually inexpensive Usually fast Disadvantages: Sensitive to transparency Confused by specularity and interreflection Texture (helps some methods, hurts others)

Stereo Find feature in one image, search along epipole in other image for correspondence

Depth Perception from Stereo Simple Model: Parallel Optic Axes image plane z Z f camera L xl b baseline f camera R xr x-b X P=(x,z) y-axis is perpendicular to the page. z x f xl z x-b f xr z y y f yl yr = = = =

Resultant Depth Calculation For stereo cameras with parallel optical axes, focal length f, baseline b, corresponding image points (xl,yl) and (xr,yr) with disparity d: z = f*b / (xl - xr) = f*b/d x = xl*z/f or b + xr*z/f y = yl*z/f or yr*z/f This method of determining depth from disparity is called triangulation.

Epipolar Geometry Constraint: 1. Normal Pair of Images The epipolar plane cuts through the image plane(s) forming 2 epipolar lines. P z1 y1 z2 y2 epipolar plane P1 P2 x C1 b C2 The match for P1 (or P2) in the other image, must lie on the same epipolar line.

Epipolar Geometry: General Case x2 P1 e2 e1 x1 C1 C2

Constraints P Q C1 C2 1. Epipolar Constraint: Matching points lie on corresponding epipolar lines. 2. Ordering Constraint: Usually in the same order across the lines. P Q e2 e1 C1 C2

Finding Correspondences If the correspondence is correct, triangulation works VERY well. But correspondence finding is not perfectly solved. For some very specific applications, it can be solved for those specific kind of images, e.g. windshield of a car where the opening shows up as a clear horizontal line. General passive stereo matching is not precise enough for the head meshes used at Children’s Research Institute.

Shape from Motion Track a feature in a video sequence For n frames and f features, have 2nf knowns, 6n+3f unknowns Solve for the 3D parameters

Shape from Motion Advantages: Disadvantages: Feature tracking easier than correspondence in far-away views Mathematically more stable (large baseline) Disadvantages: Does not accommodate object motion Still problems in areas of low texture, in non-diffuse regions, and around silhouettes

Shape from Shading Given: image of surface with known, constant reflectance under known point light Estimate normals, integrate to find surface Problems: most real images don’t satisfy the assumptions; there is ambiguity in the process

Shape from Shading Advantages: Disadvantages: Not really practical Single image No correspondences Analogue in human vision Disadvantages: Mathematically unstable Can’t have texture Not really practical But see photometric stereo

Active Optical Methods Advantages: Usually can get dense data Usually much more robust and accurate than passive techniques Disadvantages: Introduces light into scene (distracting, etc.) Not motivated by human vision

Active Variants of Passive Techniques Active depth from defocus Known pattern helps to estimate defocus Photometric stereo Shape from shading with multiple known lights Regular stereo with projected texture Provides features for correspondence

What Kinds of Patterns Variation: colored light stripes Most common: light stripes Variation: colored light stripes Variation: grids of light stripes Variation: point patterns

Multiple Stripes Project multiple stripes But which stripe is which? Answer #1: assume surface continuity

Colored Multiple Stripes To go faster, project multiple stripes But which stripe is which? Answer #2: colored stripes (or dots)

3D Reconstruction Color Images Perform point matching; obtain depth images.

Depth Images Use the depth, plus the direction from which each image was taken to carve out 3D space to find the object.

Space Carving All of 3D space is made up of cubes. Use the known location of each cubes and known depth values in each image of the object to decide if the cube is behind, in front of, or part of the object.

Space Carving Case 1: cube in front of object Case 2: cube behind cube on boundary

Space Carving Algorithm for each level of cube resolution from large to small for each cube in 3D space at this resolution if the cube lies in front of the object for any camera carve it away if the cube lies behind the object for all cameras make it part of the object else call it on the boundary of the object at this level and go on to the next finer level of resolution

Husky Puppy

From Voxels to 3D Mesh Space carving leaves us with a voxel representation. Medical imaging modalities also give us a voxel representation. We can work with voxels, but it is often more convenient to convert to a 3D triangular mesh as is used in graphics. The most common algorithm for producing a mesh from a voxel representation is the Marching Cubes algorithm.

Marching Cubes Marching Cubes is an algorithm which “creates triangle models of constant density surfaces from 3D medical data.”

What does that mean? Medical Data + Marching Cubes = Pretty Pictures = Visualization

Visualization Process Medical Data Acquisition Image Processing Surface Construction Display

Medical Data Acquisition Computed Tomography (CT) Magnetic Resonance (MR) Single-Photon Emission Computed Tomography (SPECT) Each scanning process results in two dimensional “slices” of data.

Surface Construction Construction/Reconstruction of scanned surfaces or objects. Problem of interpreting/interpolating 2D data into 3D visuals. Marching Cubes provides a method of creating 3D surfaces.

Marching Cubes Explained High resolution surface construction algorithm. Extracts surfaces from adjacent pairs of data slices using cubes. Cubes “march” through the pair of slices until the entire surface of both slices has been examined.

Marching Cubes Overview 1. Load slices. 2. Create a cube from pixels on adjacent slices. 3. Find vertices on the surfaces. 4. Determine the intersection edges. 5. Interpolate the edge intersections. 6. Calculate vertex normals. 7. Output triangles and normals.

How Are Cubes Constructed Uses identical squares of four pixels connected between adjacent slices. Each cube vertex is examined to see if it lies on or off of the surface.

How Are The Cubes Used Pixels on the slice surfaces determine 3D surfaces. 256 surface permutations, but only 14 unique patterns. A normal is calculated for each triangle vertex for rendering.

Triangle Creation 1. Determine triangles contained by a cube. 2. Determine which cube edges are intersected. 3. Interpolate intersection point using pixel density. 4. Calculate unit normals for each triangle vertex using the gradient vector.

Improvements Over Other Methods Utilizes pixel, line and slice coherency to minimize the number of calculations. Can provide solid modeling. Can use conventional rendering techniques and hardware. No user interaction necessary. Enables selective displays. Can be used with other density values.

Examples

3D Surface from MicroCT Images of a Chicken Embryo

3D Skulls from Human CT Images

The 3dMD 3D Scanning System

Characteristics multiple cameras take color photos active stereo using a point pattern for mathing rapid image acquisition: 1.5 ms. high precision: accurate to within .2mm RMS accurate texture mapping of color photos to mesh supports multiple file formats used in hospitals, clinics, medical research institutes used at both Seattle Children’s Hospital and Children’s Research Institute

Active Stereo Light Pattern shown on Eric

Active Stereo Light Pattern shown on Eric

The “us” Database Dingding Indri Kasia Sara Steve Eric Jia Linda Shulin Xiang

Seth’s Database The 3D Facial Norms Database: Part 1. A Web-Based Craniofacial Anthropometric and Image Repository for the Clinical and Research Community Cleft Palate-Craniofacial Journal, Vol. 53, No. 6, November 2016 Shu will show us.