Class TrifocalTransfer


  • public class TrifocalTransfer
    extends java.lang.Object
    Given a trifocal tensor and a feature observed in two of the views, predict where it will appear in the third view.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setTrifocal​(TrifocalTensor tensor)
      Specify the trifocaltensor
      void transfer_1_to_2​(double x1, double y1, double x3, double y3, georegression.struct.point.Point3D_F64 p2)
      Transfer a point to third view give its observed location in view one and three.
      void transfer_1_to_3​(double x1, double y1, double x2, double y2, georegression.struct.point.Point3D_F64 p3)
      Transfer a point to third view give its observed location in view one and two.
      • Methods inherited from class java.lang.Object

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

      • TrifocalTransfer

        public TrifocalTransfer()
    • Method Detail

      • setTrifocal

        public void setTrifocal​(TrifocalTensor tensor)
        Specify the trifocaltensor
        Parameters:
        tensor - tensor
      • transfer_1_to_3

        public void transfer_1_to_3​(double x1,
                                    double y1,
                                    double x2,
                                    double y2,
                                    georegression.struct.point.Point3D_F64 p3)
        Transfer a point to third view give its observed location in view one and two.
        Parameters:
        x1 - (Input) Observation in view 1. pixels.
        y1 - (Input) Observation in view 1. pixels.
        x2 - (Input) Observation in view 2. pixels.
        y2 - (Input) Observation in view 2. pixels.
        p3 - (Output) Estimated location in view 3.
      • transfer_1_to_2

        public void transfer_1_to_2​(double x1,
                                    double y1,
                                    double x3,
                                    double y3,
                                    georegression.struct.point.Point3D_F64 p2)
        Transfer a point to third view give its observed location in view one and three.
        Parameters:
        x1 - (Input) Observation in view 1. pixels.
        y1 - (Input) Observation in view 1. pixels.
        x3 - (Input) Observation in view 3. pixels.
        y3 - (Input) Observation in view 3. pixels.
        p2 - (Output) Estimated location in view 2.