Class Triangulate2ViewsGeometricMetric


  • public class Triangulate2ViewsGeometricMetric
    extends java.lang.Object
    Triangulates two views by finding the point which minimizes the distance between two rays. Optimal in the geometric sense, but does not take in account stereo constraints.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void triangulate​(georegression.struct.point.Point2D_F64 a, georegression.struct.point.Point2D_F64 b, georegression.struct.se.Se3_F64 a_to_b, georegression.struct.point.Point3D_F64 foundInA)
      Given two observations of the same point from two views and a known motion between the two views, triangulate the point's 3D position in camera 'a' reference frame.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Triangulate2ViewsGeometricMetric

        public Triangulate2ViewsGeometricMetric()
    • Method Detail

      • triangulate

        public void triangulate​(georegression.struct.point.Point2D_F64 a,
                                georegression.struct.point.Point2D_F64 b,
                                georegression.struct.se.Se3_F64 a_to_b,
                                georegression.struct.point.Point3D_F64 foundInA)

        Given two observations of the same point from two views and a known motion between the two views, triangulate the point's 3D position in camera 'a' reference frame.

        Parameters:
        a - Observation from camera view 'a' in normalized coordinates. Not modified.
        b - Observation from camera view 'b' in normalized coordinates. Not modified.
        a_to_b - Transformation from camera view 'a' to 'b' Not modified.
        foundInA - (Output) Found 3D position of the point in reference frame 'a'. Modified.