Package boofcv.alg.geo.trifocal
Class TrifocalTransfer
java.lang.Object
boofcv.alg.geo.trifocal.TrifocalTransfer
Given a trifocal tensor and a feature observed in two of the views, predict where it will
appear in the third view.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTrifocal(TrifocalTensor tensor) Specify the trifocaltensorvoidtransfer_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.voidtransfer_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.
-
Constructor Details
-
TrifocalTransfer
public TrifocalTransfer()
-
-
Method Details
-
setTrifocal
Specify the trifocaltensor- Parameters:
tensor- tensor
-
transfer_1_to_3
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
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.
-