Package boofcv.alg.geo.trifocal
Class ResolveThreeViewScaleAmbiguity
java.lang.Object
boofcv.alg.geo.trifocal.ResolveThreeViewScaleAmbiguity
Give a three views with the pose known up to a scale ambiguity for the three views, resolve the scale ambiguity.
View-1 is assumed to be the origin. The scale of both views is adjusted so that the one with the largest norm
is set to one.
-
Field Summary
Modifier and TypeFieldDescriptionprotected DogArray_F64
protected Triangulate2ViewsMetricH
protected Point4D_F64
protected Point4D_F64
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(List<AssociatedTriple> triple, Se3_F64 world_to_view2, Se3_F64 world_to_view3) Solves for scale ambiguity give the transforms to view-2 and view-3
-
Field Details
-
triangulate
-
scales
-
X2
-
X3
-
-
Constructor Details
-
ResolveThreeViewScaleAmbiguity
-
ResolveThreeViewScaleAmbiguity
public ResolveThreeViewScaleAmbiguity()
-
-
Method Details
-
process
public boolean process(List<AssociatedTriple> triple, Se3_F64 world_to_view2, Se3_F64 world_to_view3) Solves for scale ambiguity give the transforms to view-2 and view-3- Parameters:
triple
- (Input) Observations in normalized image coordinates for the 3-views.world_to_view2
- (Input/Output) transform from world to view-2world_to_view3
- (Input/Output) transform from world to view-3
-