public class PnPInfinitesimalPlanePoseEstimation
extends java.lang.Object
A plane based pose estimation algorithm [1]. Works by first finding the homography between two sets of 2D points. Then solve for the pose using 3D pose information of the points. Since this is plane based the 3D points must all lie on a plane (z=0). A minimum of 4 points is required to estimate the pose. The planar assumption enables it to run very fast and accurately.
[1] Collins, Toby, and Adrien Bartoli. "Infinitesimal plane-based pose estimation." International journal of computer vision 109.3 (2014): 252-286.
| Constructor and Description |
|---|
PnPInfinitesimalPlanePoseEstimation() |
PnPInfinitesimalPlanePoseEstimation(Estimate1ofEpipolar estimateHomography) |
| Modifier and Type | Method and Description |
|---|---|
double |
getError0() |
double |
getError1() |
org.ejml.data.DMatrixRMaj |
getHomography() |
int |
getMinimumPoints() |
georegression.struct.se.Se3_F64 |
getWorldToCamera0() |
georegression.struct.se.Se3_F64 |
getWorldToCamera1() |
protected void |
IPPE(org.ejml.data.DMatrixRMaj R1,
org.ejml.data.DMatrixRMaj R2)
Solves the IPPE problem
|
boolean |
process(java.util.List<AssociatedPair> points)
Estimates the transform from world coordinate system to camera given known points and observations.
|
public PnPInfinitesimalPlanePoseEstimation(Estimate1ofEpipolar estimateHomography)
public PnPInfinitesimalPlanePoseEstimation()
public boolean process(java.util.List<AssociatedPair> points)
points - List of world coordinates in 2D (p1) and normalized image coordinates (p2)protected void IPPE(org.ejml.data.DMatrixRMaj R1,
org.ejml.data.DMatrixRMaj R2)
public org.ejml.data.DMatrixRMaj getHomography()
public int getMinimumPoints()
public georegression.struct.se.Se3_F64 getWorldToCamera0()
public georegression.struct.se.Se3_F64 getWorldToCamera1()
public double getError0()
public double getError1()