Package boofcv.alg.geo.trifocal
Class TrifocalTransfer
- java.lang.Object
-
- boofcv.alg.geo.trifocal.TrifocalTransfer
-
public class TrifocalTransfer extends java.lang.ObjectGiven a trifocal tensor and a feature observed in two of the views, predict where it will appear in the third view.
-
-
Constructor Summary
Constructors Constructor Description TrifocalTransfer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetTrifocal(TrifocalTensor tensor)Specify the trifocaltensorvoidtransfer_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.voidtransfer_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.
-
-
-
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.
-
-