SlideShare ist ein Scribd-Unternehmen logo
1 von 40
3D Sensing and Reconstruction
Readings: Ch 12: 12.5-6, Ch 13: 13.1-3, 13.9.4
• Perspective Geometry
• Camera Model
• Stereo Triangulation
• 3D Reconstruction by Space Carving
3D Shape from X
means getting 3D coordinates
from different methods
• shading
• silhouette
• texture
• stereo
• light striping
• motion
mainly research
used in practice
Perspective Imaging Model: 1D
xi
xf
f
This is the axis of the
real image plane.
O
O is the center of projection.
This is the axis of the front
image plane, which we use.
zc
xc
xi xc
f zc
=
camera lens
3D object
point
B
D
E
image of point
B in front image
real image
point
Perspective in 2D
(Simplified)
P=(xc,yc,zc)
=(xw,yw,zw)
3D object point
xc
yc
zw=zc
yi
Yc
Xc
Zc
xi
F f
camera
P´=(xi,yi,f)
xi xc
f zc
yi yc
f zc
=
=
xi = (f/zc)xc
yi = (f/zc)yc
Here camera coordinates
equal world coordinates.
optical
axis
ray
3D from Stereo
left image right image
3D point
disparity: the difference in image location of the same 3D
point when projected under perspective to two different cameras.
d = xleft - xright
Depth Perception from Stereo
Simple Model: Parallel Optic Axes
f
f
L
R
camera
baseline
camera
b
P=(x,z)
Z
X
image plane
xl
xr
z
z x
f xl
=
x-b
z x-b
f xr
=
z y y
f yl yr
= =
y-axis is
perpendicular
to the page.
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.
Finding Correspondences
• If the correspondence is correct, triangulation works VERY well.
• But correspondence finding is not perfectly solved.
(What methods have we studied?)
• For some very specific applications, it can be solved
for those specific kind of images, e.g. windshield of
a car.
° °
3 Main Matching Methods
1. Cross correlation using small windows.
2. Symbolic feature matching, usually using segments/corners.
3. Use the newer interest operators, ie. SIFT.
dense
sparse
sparse
Epipolar Geometry Constraint:
1. Normal Pair of Images
x
y1
y2
z1 z2
C1 C2
b
P
P1
P2
epipolar
plane
The epipolar plane cuts through the image plane(s)
forming 2 epipolar lines.
The match for P1 (or P2) in the other image,
must lie on the same epipolar line.
Epipolar Geometry:
General Case
P
P1
P2
y1
y2
x1
x2
e1
e2
C1
C2
Constraints
P
e1
e2
C1
C2
1. Epipolar Constraint:
Matching points lie on
corresponding epipolar
lines.
2. Ordering Constraint:
Usually in the same
order across the lines.
Q
Structured Light
3D data can also be derived using
• a single camera
• a light source that can produce
stripe(s) on the 3D object
light
source
camera
light stripe
Structured Light
3D Computation
3D data can also be derived using
• a single camera
• a light source that can produce
stripe(s) on the 3D object
light
source
x axis
f
(x´,y´,f)
3D point
(x, y, z)

b
b
[x y z] = --------------- [x´ y´ f]
f cot  - x´
(0,0,0)
3D image
Depth from Multiple Light
Stripes
What are these objects?
Our (former) System
4-camera light-striping stereo
projector
rotation
table
cameras
3D
object
Camera Model: Recall there are 5
Different Frames of Reference
• Object
• World
• Camera
• Real Image
• Pixel Image
yc
xc
zc
zw
C
W
yw
xw
A
a
xf
yf
xp
yp
zp
pyramid
object
image
The Camera Model
How do we get an image point IP from a world point P?
c11 c12 c13 c14
c21 c22 c23 c24
c31 c32 c33 1
s IPr
s IPc
s
Px
Py
Pz
1
=
image
point
camera matrix C world
point
What’s in C?
The camera model handles the rigid body transformation
from world coordinates to camera coordinates plus the
perspective transformation to image coordinates.
1. CP = T R WP
2. FP = (f) CP
s FPx
s FPy
s FPz
s
1 0 0 0
0 1 0 0
0 0 1 0
0 0 1/f 0
CPx
CPy
CPz
1
=
perspective
transformation
image
point
3D point in
camera
coordinates
Why is there not a scale factor here?
Camera Calibration
• In order work in 3D, we need to know the parameters
of the particular camera setup.
• Solving for the camera parameters is called calibration.
yw
xw
zw
W
yc
xc
zc
C
• intrinsic parameters are
of the camera device
• extrinsic parameters are
where the camera sits
in the world
Intrinsic Parameters
• principal point (u0,v0)
• scale factors (dx,dy)
• aspect ratio distortion factor 
• focal length f
• lens distortion factor 
(models radial lens distortion)
C
(u0,v0)
f
Extrinsic Parameters
• translation parameters
t = [tx ty tz]
• rotation matrix
r11 r12 r13 0
r21 r22 r23 0
r31 r32 r33 0
0 0 0 1
R = Are there really
nine parameters?
Calibration Object
The idea is to snap
images at different
depths and get a
lot of 2D-3D point
correspondences.
The Tsai Procedure
• The Tsai procedure was developed by Roger Tsai
at IBM Research and is most widely used.
• Several images are taken of the calibration object
yielding point correspondences at different distances.
• Tsai’s algorithm requires n > 5 correspondences
{(xi, yi, zi), (ui, vi)) | i = 1,…,n}
between (real) image points and 3D points.
• Lots of details in Chapter 13.
We use the camera parameters of
each camera for general stereo.
P
P1=(r1,c1)
P2=(r2,c2)
y1
y2
x1
x2
e1
e2
B
C
For a correspondence (r1,c1) in
image 1 to (r2,c2) in image 2:
1. Both cameras were calibrated. Both camera matrices are
then known. From the two camera equations B and C we get
4 linear equations in 3 unknowns.
r1 = (b11 - b31*r1)x + (b12 - b32*r1)y + (b13-b33*r1)z
c1 = (b21 - b31*c1)x + (b22 - b32*c1)y + (b23-b33*c1)z
r2 = (c11 - c31*r2)x + (c12 - c32*r2)y + (c13 - c33*r2)z
c2 = (c21 - c31*c2)x + (c22 - c32*c2)y + (c23 - c33*c2)z
Direct solution uses 3 equations, won’t give reliable results.
Solve by computing the closest
approach of the two skew rays.
V
If the rays intersected perfectly in 3D, the intersection would be P.
Instead, we solve for the shortest line segment connecting the two rays
and let P be its midpoint.
P1
Q1
P
solve for
shortest
V = (P1 + a1*u1) – (Q1 + a2*u2)
(P1 + a1*u1) – (Q1 + a2*u2) · u1 = 0
(P1 + a1*u1) – (Q1 + a2*u2) · u2 = 0
u1
u2
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt
3DSensing.ppt

Weitere ähnliche Inhalte

Was ist angesagt?

Computer science seminar topics
Computer science seminar topicsComputer science seminar topics
Computer science seminar topics123seminarsonly
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligencesaloni sharma
 
Brain tumor detection using image segmentation ppt
Brain tumor detection using image segmentation pptBrain tumor detection using image segmentation ppt
Brain tumor detection using image segmentation pptRoshini Vijayakumar
 
20 Latest Computer Science Seminar Topics on Emerging Technologies
20 Latest Computer Science Seminar Topics on Emerging Technologies20 Latest Computer Science Seminar Topics on Emerging Technologies
20 Latest Computer Science Seminar Topics on Emerging TechnologiesSeminar Links
 
Gesture recognition adi
Gesture recognition adiGesture recognition adi
Gesture recognition adiaditya verma
 
Sign Language Recognition based on Hands symbols Classification
Sign Language Recognition based on Hands symbols ClassificationSign Language Recognition based on Hands symbols Classification
Sign Language Recognition based on Hands symbols ClassificationTriloki Gupta
 
AI Computer vision
AI Computer visionAI Computer vision
AI Computer visionKashafnaz2
 
Virtual reality VS Augmented Reality
Virtual reality VS Augmented RealityVirtual reality VS Augmented Reality
Virtual reality VS Augmented Realityjahangir kiyani
 
Digital image forgery detection
Digital image forgery detectionDigital image forgery detection
Digital image forgery detectionAB Rizvi
 
A Seminar Report on Artificial Intelligence
A Seminar Report on Artificial IntelligenceA Seminar Report on Artificial Intelligence
A Seminar Report on Artificial IntelligenceAvinash Kumar
 
Virtual keyboard seminar ppt
Virtual keyboard seminar pptVirtual keyboard seminar ppt
Virtual keyboard seminar pptShruti Maheshwari
 
“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...
“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...
“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...Edge AI and Vision Alliance
 

Was ist angesagt? (20)

Computer science seminar topics
Computer science seminar topicsComputer science seminar topics
Computer science seminar topics
 
IOT DATA AND BIG DATA
IOT DATA AND BIG DATAIOT DATA AND BIG DATA
IOT DATA AND BIG DATA
 
Computer vision
Computer visionComputer vision
Computer vision
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Introduction to Artificial Intelligence and few examples
Introduction to Artificial Intelligence and few examplesIntroduction to Artificial Intelligence and few examples
Introduction to Artificial Intelligence and few examples
 
3D Password PPT
3D Password PPT3D Password PPT
3D Password PPT
 
Machine Learning and Artificial Intelligence
Machine Learning and Artificial IntelligenceMachine Learning and Artificial Intelligence
Machine Learning and Artificial Intelligence
 
Brain tumor detection using image segmentation ppt
Brain tumor detection using image segmentation pptBrain tumor detection using image segmentation ppt
Brain tumor detection using image segmentation ppt
 
20 Latest Computer Science Seminar Topics on Emerging Technologies
20 Latest Computer Science Seminar Topics on Emerging Technologies20 Latest Computer Science Seminar Topics on Emerging Technologies
20 Latest Computer Science Seminar Topics on Emerging Technologies
 
Gesture recognition adi
Gesture recognition adiGesture recognition adi
Gesture recognition adi
 
Computer vision
Computer visionComputer vision
Computer vision
 
Sign Language Recognition based on Hands symbols Classification
Sign Language Recognition based on Hands symbols ClassificationSign Language Recognition based on Hands symbols Classification
Sign Language Recognition based on Hands symbols Classification
 
AI Computer vision
AI Computer visionAI Computer vision
AI Computer vision
 
Virtual reality VS Augmented Reality
Virtual reality VS Augmented RealityVirtual reality VS Augmented Reality
Virtual reality VS Augmented Reality
 
Digital image forgery detection
Digital image forgery detectionDigital image forgery detection
Digital image forgery detection
 
3D PASSWORD
3D PASSWORD3D PASSWORD
3D PASSWORD
 
A Seminar Report on Artificial Intelligence
A Seminar Report on Artificial IntelligenceA Seminar Report on Artificial Intelligence
A Seminar Report on Artificial Intelligence
 
Virtual keyboard seminar ppt
Virtual keyboard seminar pptVirtual keyboard seminar ppt
Virtual keyboard seminar ppt
 
Ambient intelligence
Ambient intelligenceAmbient intelligence
Ambient intelligence
 
“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...
“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...
“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...
 

Ähnlich wie 3DSensing.ppt

Camera Calibration from a Single Image based on Coupled Line Cameras and Rect...
Camera Calibration from a Single Image based on Coupled Line Cameras and Rect...Camera Calibration from a Single Image based on Coupled Line Cameras and Rect...
Camera Calibration from a Single Image based on Coupled Line Cameras and Rect...Joo-Haeng Lee
 
Build Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-PlanesBuild Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-PlanesDouglas Lanman
 
Camera parameters
Camera parametersCamera parameters
Camera parametersTheYacine
 
Fingerprint High Level Classification
Fingerprint High Level ClassificationFingerprint High Level Classification
Fingerprint High Level ClassificationReza Rahimi
 
Computer vision - two view geometry
Computer vision -  two view geometryComputer vision -  two view geometry
Computer vision - two view geometryWael Badawy
 
Saad alsheekh multi view
Saad alsheekh  multi viewSaad alsheekh  multi view
Saad alsheekh multi viewSaadAlSheekh1
 
3-D Visual Reconstruction: A System Perspective
3-D Visual Reconstruction: A System Perspective3-D Visual Reconstruction: A System Perspective
3-D Visual Reconstruction: A System PerspectiveGuillermo Medina Zegarra
 
Lecture Summary : Camera Projection
Lecture Summary : Camera Projection Lecture Summary : Camera Projection
Lecture Summary : Camera Projection 홍배 김
 
"Fundamentals of Monocular SLAM," a Presentation from Cadence
"Fundamentals of Monocular SLAM," a Presentation from Cadence"Fundamentals of Monocular SLAM," a Presentation from Cadence
"Fundamentals of Monocular SLAM," a Presentation from CadenceEdge AI and Vision Alliance
 
14 cie552 camera_calibration
14 cie552 camera_calibration14 cie552 camera_calibration
14 cie552 camera_calibrationElsayed Hemayed
 
Chapter-05c-Image-Restoration-(Reconstruction-from-Projections).ppt
Chapter-05c-Image-Restoration-(Reconstruction-from-Projections).pptChapter-05c-Image-Restoration-(Reconstruction-from-Projections).ppt
Chapter-05c-Image-Restoration-(Reconstruction-from-Projections).pptVSUDHEER4
 
Generation and weighting of 3D point correspondences for improved registratio...
Generation and weighting of 3D point correspondences for improved registratio...Generation and weighting of 3D point correspondences for improved registratio...
Generation and weighting of 3D point correspondences for improved registratio...Kourosh Khoshelham
 
相机模型经典Camera
相机模型经典Camera相机模型经典Camera
相机模型经典Camera海彦 庞
 
Report bep thomas_blanken
Report bep thomas_blankenReport bep thomas_blanken
Report bep thomas_blankenxepost
 
New geometric interpretation and analytic solution for quadrilateral reconstr...
New geometric interpretation and analytic solution for quadrilateral reconstr...New geometric interpretation and analytic solution for quadrilateral reconstr...
New geometric interpretation and analytic solution for quadrilateral reconstr...Joo-Haeng Lee
 
Computer Vision panoramas
Computer Vision  panoramasComputer Vision  panoramas
Computer Vision panoramasWael Badawy
 
6. Perspective Projection .pdf
6. Perspective  Projection                    .pdf6. Perspective  Projection                    .pdf
6. Perspective Projection .pdfYatruHarshaHiski
 

Ähnlich wie 3DSensing.ppt (20)

Camera Calibration from a Single Image based on Coupled Line Cameras and Rect...
Camera Calibration from a Single Image based on Coupled Line Cameras and Rect...Camera Calibration from a Single Image based on Coupled Line Cameras and Rect...
Camera Calibration from a Single Image based on Coupled Line Cameras and Rect...
 
Build Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-PlanesBuild Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-Planes
 
Camera parameters
Camera parametersCamera parameters
Camera parameters
 
Fingerprint High Level Classification
Fingerprint High Level ClassificationFingerprint High Level Classification
Fingerprint High Level Classification
 
Computer vision - two view geometry
Computer vision -  two view geometryComputer vision -  two view geometry
Computer vision - two view geometry
 
Saad alsheekh multi view
Saad alsheekh  multi viewSaad alsheekh  multi view
Saad alsheekh multi view
 
3-D Visual Reconstruction: A System Perspective
3-D Visual Reconstruction: A System Perspective3-D Visual Reconstruction: A System Perspective
3-D Visual Reconstruction: A System Perspective
 
998-isvc16
998-isvc16998-isvc16
998-isvc16
 
Lecture Summary : Camera Projection
Lecture Summary : Camera Projection Lecture Summary : Camera Projection
Lecture Summary : Camera Projection
 
"Fundamentals of Monocular SLAM," a Presentation from Cadence
"Fundamentals of Monocular SLAM," a Presentation from Cadence"Fundamentals of Monocular SLAM," a Presentation from Cadence
"Fundamentals of Monocular SLAM," a Presentation from Cadence
 
14 cie552 camera_calibration
14 cie552 camera_calibration14 cie552 camera_calibration
14 cie552 camera_calibration
 
Lec15 sfm
Lec15 sfmLec15 sfm
Lec15 sfm
 
Lecture1
Lecture1Lecture1
Lecture1
 
Chapter-05c-Image-Restoration-(Reconstruction-from-Projections).ppt
Chapter-05c-Image-Restoration-(Reconstruction-from-Projections).pptChapter-05c-Image-Restoration-(Reconstruction-from-Projections).ppt
Chapter-05c-Image-Restoration-(Reconstruction-from-Projections).ppt
 
Generation and weighting of 3D point correspondences for improved registratio...
Generation and weighting of 3D point correspondences for improved registratio...Generation and weighting of 3D point correspondences for improved registratio...
Generation and weighting of 3D point correspondences for improved registratio...
 
相机模型经典Camera
相机模型经典Camera相机模型经典Camera
相机模型经典Camera
 
Report bep thomas_blanken
Report bep thomas_blankenReport bep thomas_blanken
Report bep thomas_blanken
 
New geometric interpretation and analytic solution for quadrilateral reconstr...
New geometric interpretation and analytic solution for quadrilateral reconstr...New geometric interpretation and analytic solution for quadrilateral reconstr...
New geometric interpretation and analytic solution for quadrilateral reconstr...
 
Computer Vision panoramas
Computer Vision  panoramasComputer Vision  panoramas
Computer Vision panoramas
 
6. Perspective Projection .pdf
6. Perspective  Projection                    .pdf6. Perspective  Projection                    .pdf
6. Perspective Projection .pdf
 

Kürzlich hochgeladen

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 

Kürzlich hochgeladen (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

3DSensing.ppt

  • 1. 3D Sensing and Reconstruction Readings: Ch 12: 12.5-6, Ch 13: 13.1-3, 13.9.4 • Perspective Geometry • Camera Model • Stereo Triangulation • 3D Reconstruction by Space Carving
  • 2. 3D Shape from X means getting 3D coordinates from different methods • shading • silhouette • texture • stereo • light striping • motion mainly research used in practice
  • 3. Perspective Imaging Model: 1D xi xf f This is the axis of the real image plane. O O is the center of projection. This is the axis of the front image plane, which we use. zc xc xi xc f zc = camera lens 3D object point B D E image of point B in front image real image point
  • 4. Perspective in 2D (Simplified) P=(xc,yc,zc) =(xw,yw,zw) 3D object point xc yc zw=zc yi Yc Xc Zc xi F f camera P´=(xi,yi,f) xi xc f zc yi yc f zc = = xi = (f/zc)xc yi = (f/zc)yc Here camera coordinates equal world coordinates. optical axis ray
  • 5. 3D from Stereo left image right image 3D point disparity: the difference in image location of the same 3D point when projected under perspective to two different cameras. d = xleft - xright
  • 6. Depth Perception from Stereo Simple Model: Parallel Optic Axes f f L R camera baseline camera b P=(x,z) Z X image plane xl xr z z x f xl = x-b z x-b f xr = z y y f yl yr = = y-axis is perpendicular to the page.
  • 7. 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.
  • 8. Finding Correspondences • If the correspondence is correct, triangulation works VERY well. • But correspondence finding is not perfectly solved. (What methods have we studied?) • For some very specific applications, it can be solved for those specific kind of images, e.g. windshield of a car. ° °
  • 9. 3 Main Matching Methods 1. Cross correlation using small windows. 2. Symbolic feature matching, usually using segments/corners. 3. Use the newer interest operators, ie. SIFT. dense sparse sparse
  • 10. Epipolar Geometry Constraint: 1. Normal Pair of Images x y1 y2 z1 z2 C1 C2 b P P1 P2 epipolar plane The epipolar plane cuts through the image plane(s) forming 2 epipolar lines. The match for P1 (or P2) in the other image, must lie on the same epipolar line.
  • 12. Constraints P e1 e2 C1 C2 1. Epipolar Constraint: Matching points lie on corresponding epipolar lines. 2. Ordering Constraint: Usually in the same order across the lines. Q
  • 13. Structured Light 3D data can also be derived using • a single camera • a light source that can produce stripe(s) on the 3D object light source camera light stripe
  • 14. Structured Light 3D Computation 3D data can also be derived using • a single camera • a light source that can produce stripe(s) on the 3D object light source x axis f (x´,y´,f) 3D point (x, y, z)  b b [x y z] = --------------- [x´ y´ f] f cot  - x´ (0,0,0) 3D image
  • 15. Depth from Multiple Light Stripes What are these objects?
  • 16. Our (former) System 4-camera light-striping stereo projector rotation table cameras 3D object
  • 17. Camera Model: Recall there are 5 Different Frames of Reference • Object • World • Camera • Real Image • Pixel Image yc xc zc zw C W yw xw A a xf yf xp yp zp pyramid object image
  • 18. The Camera Model How do we get an image point IP from a world point P? c11 c12 c13 c14 c21 c22 c23 c24 c31 c32 c33 1 s IPr s IPc s Px Py Pz 1 = image point camera matrix C world point What’s in C?
  • 19. The camera model handles the rigid body transformation from world coordinates to camera coordinates plus the perspective transformation to image coordinates. 1. CP = T R WP 2. FP = (f) CP s FPx s FPy s FPz s 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1/f 0 CPx CPy CPz 1 = perspective transformation image point 3D point in camera coordinates Why is there not a scale factor here?
  • 20. Camera Calibration • In order work in 3D, we need to know the parameters of the particular camera setup. • Solving for the camera parameters is called calibration. yw xw zw W yc xc zc C • intrinsic parameters are of the camera device • extrinsic parameters are where the camera sits in the world
  • 21. Intrinsic Parameters • principal point (u0,v0) • scale factors (dx,dy) • aspect ratio distortion factor  • focal length f • lens distortion factor  (models radial lens distortion) C (u0,v0) f
  • 22. Extrinsic Parameters • translation parameters t = [tx ty tz] • rotation matrix r11 r12 r13 0 r21 r22 r23 0 r31 r32 r33 0 0 0 0 1 R = Are there really nine parameters?
  • 23. Calibration Object The idea is to snap images at different depths and get a lot of 2D-3D point correspondences.
  • 24. The Tsai Procedure • The Tsai procedure was developed by Roger Tsai at IBM Research and is most widely used. • Several images are taken of the calibration object yielding point correspondences at different distances. • Tsai’s algorithm requires n > 5 correspondences {(xi, yi, zi), (ui, vi)) | i = 1,…,n} between (real) image points and 3D points. • Lots of details in Chapter 13.
  • 25. We use the camera parameters of each camera for general stereo. P P1=(r1,c1) P2=(r2,c2) y1 y2 x1 x2 e1 e2 B C
  • 26. For a correspondence (r1,c1) in image 1 to (r2,c2) in image 2: 1. Both cameras were calibrated. Both camera matrices are then known. From the two camera equations B and C we get 4 linear equations in 3 unknowns. r1 = (b11 - b31*r1)x + (b12 - b32*r1)y + (b13-b33*r1)z c1 = (b21 - b31*c1)x + (b22 - b32*c1)y + (b23-b33*c1)z r2 = (c11 - c31*r2)x + (c12 - c32*r2)y + (c13 - c33*r2)z c2 = (c21 - c31*c2)x + (c22 - c32*c2)y + (c23 - c33*c2)z Direct solution uses 3 equations, won’t give reliable results.
  • 27. Solve by computing the closest approach of the two skew rays. V If the rays intersected perfectly in 3D, the intersection would be P. Instead, we solve for the shortest line segment connecting the two rays and let P be its midpoint. P1 Q1 P solve for shortest V = (P1 + a1*u1) – (Q1 + a2*u2) (P1 + a1*u1) – (Q1 + a2*u2) · u1 = 0 (P1 + a1*u1) – (Q1 + a2*u2) · u2 = 0 u1 u2