You are on page 1of 9

PnP and RANSAC for Robust Pose Estimation

S9 – Special Topics on Perception and Robotics


PnP and RANSAC for Robust Pose Estimation
Where is the object?
Given the image of an object taken by a camera and the object’s 3D model,
estimate the 3D pose of the object in the camera frame.

Object

3D to 2D
correspondences

Pose ?

3D model

2
S9 – STPR
PnP and RANSAC for Robust Pose Estimation
Where is the object? 3D-to-2D correspondences with mismatches.
Given the image of an object taken by a camera and the object’s 3D model,
estimate the 3D pose of the object in the camera frame.

Object

3D to 2D
correspondences
with mismatches

Pose ?

3D model

3
S9 – STPR
PnP and RANSAC for Robust Pose Estimation
PnP-DLT-RANSAC. 3D-to-2D correspondences with mismatches.

Object

3D to 2D
correspondences
with mismatches

Pose ?

3D model

4
S9 – STPR
PnP and RANSAC for Robust Pose Estimation
PnP-DLT-RANSAC. 3D-to-2D correspondences with mismatches.

Let’s develop the steps


of the algorithm!

5
S9 – STPR
PnP and RANSAC for Robust Pose Estimation
PnP-DLT-RANSAC. Parameters and variables.

00 Given set of the 3D-to-2D matches

01 Number of the matches

02 Minimum number of the matches required for PnP

03 Probability that a sample set contains only correct matches

04 Maximum number of iterations to stop the loop


(updated in the loop)

05 Iteration counter of the loop

06 Threshold for the consensus set

6
S9 – STPR
PnP and RANSAC for Robust Pose Estimation
PnP-DLT-RANSAC. Algorithm.
07
08
09
10
11
12

13

14
15
16
17 7
S9 – STPR
PnP and RANSAC for Robust Pose Estimation
PnP-DLT-RANSAC. Algorithm.

18
19

8
S9 – STPR
Exercise. Implement the PnP-DLT-RANSAC algorithm to estimate the object’s pose
in the presence of mismatches.

Where is the object? 3D-to-2D correspondences with mismatches.


Given the image of an object taken by a camera and the object’s 3D model,
estimate the 3D pose of the object in the camera frame.

Object

3D to 2D
correspondences
with mismatches

Pose ?

3D model

9
S9 – STPR

You might also like