Documentation of 'boofcv.examples.sfm.ExamplePnP' Java class
ExamplePnP
boofcv.examples.sfm

Class ExamplePnP



  • public class ExamplePnP
    extends java.lang.Object
    The Perspective-n-Point problem or PnP for short, is a problem where there are N observations of points with known 3D coordinates. The output is the pose of the camera observing the points. The minimal solution requires 3-points but produces multiple solutions. BoofCV provide several solutions to the PnP problem and the example below demonstrates how to use them.
    • Constructor Detail

      • ExamplePnP

        public ExamplePnP()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
      • estimateNoOutliers

        public Se3_F64 estimateNoOutliers(java.util.List<Point2D3D> observations)
        Assumes all observations actually match the correct/real 3D point
      • estimateOutliers

        public Se3_F64 estimateOutliers(java.util.List<Point2D3D> observations)
        Uses robust techniques to remove outliers
      • createObservations

        public java.util.List<Point2D3D> createObservations(Se3_F64 worldToCamera,
                                                            int total)
        Generates synthetic observations randomly in front of the camera
      • addOutliers

        public void addOutliers(java.util.List<Point2D3D> observations,
                                int total)
        Adds some really bad observations to the mix

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.