Package boofcv.alg.geo.selfcalib
Class ResolveSignAmbiguityPositiveDepth
java.lang.Object
boofcv.alg.geo.selfcalib.ResolveSignAmbiguityPositiveDepth
- All Implemented Interfaces:
VerbosePrint
There's a sign ambiguity which flips the translation vector for several self calibration functions. This
uses the fact that for an observation to be seen it needs to be in front of the camera.
-
Field Summary
Modifier and TypeFieldDescriptionint
Number of invalid in best hypothesisboolean
Indicates if the sign was changedTriangulation for n-view case -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(List<AssociatedTriple> observations, MetricCameraTriple result) Processes the results and observations to fix the signvoid
process
(List<AssociatedTuple> observations, MetricCameras views) Processes the results and observations to fix the signvoid
setVerbose
(@Nullable PrintStream out, @Nullable Set<String> configuration)
-
Field Details
-
triangulator
Triangulation for n-view case -
signChanged
public boolean signChangedIndicates if the sign was changed -
bestInvalid
public int bestInvalidNumber of invalid in best hypothesis
-
-
Constructor Details
-
ResolveSignAmbiguityPositiveDepth
public ResolveSignAmbiguityPositiveDepth()
-
-
Method Details
-
process
Processes the results and observations to fix the sign- Parameters:
observations
- (input) Observations in pixelsviews
- (input/output) the current solution and modified to have the correct sign on output
-
process
Processes the results and observations to fix the sign- Parameters:
observations
- (input) Observations in pixelsresult
- (input/output) the current solution and modified to have the correct sign on output
-
setVerbose
public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration) - Specified by:
setVerbose
in interfaceVerbosePrint
-