Class TrifocalTransfer

java.lang.Object
boofcv.alg.geo.trifocal.TrifocalTransfer

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

    • TrifocalTransfer

      public TrifocalTransfer()
  • Method Details

    • 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, 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, 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.