Package boofcv.alg.structure.expand
Class ExpandByOneView
java.lang.Object
boofcv.alg.structure.expand.ExpandByOneView
- All Implemented Interfaces:
VerbosePrint
- Direct Known Subclasses:
MetricExpandByOneView
Common parent for metric and projective expand scene by one. Mostly contains functions for selecting which of the
known views it should use
-
Field Summary
Modifier and TypeFieldDescriptionCommon algorithms for reconstructing the projective sceneprotected List<PairwiseImageGraph.Motion>
protected @Nullable PrintStream
protected SceneWorkingGraph
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
ExpandByOneView
(ConfigProjectiveReconstruction configProjective) -
Method Summary
Modifier and TypeMethodDescriptionboolean
selectTwoConnections
(PairwiseImageGraph.View target, List<PairwiseImageGraph.Motion> connections) Selects two views which are connected to the target by maximizing a score function.void
setVerbose
(@Nullable PrintStream out, @Nullable Set<String> configuration)
-
Field Details
-
verbose
-
workGraph
-
utils
Common algorithms for reconstructing the projective scene -
validCandidates
-
-
Constructor Details
-
ExpandByOneView
-
ExpandByOneView
protected ExpandByOneView()
-
-
Method Details
-
selectTwoConnections
public boolean selectTwoConnections(PairwiseImageGraph.View target, List<PairwiseImageGraph.Motion> connections) Selects two views which are connected to the target by maximizing a score function. The two selected views must have 3D information, be connected to each other, and have a known camera matrix. These three views will then be used to estimate a trifocal tensor- Parameters:
target
- (input) A viewconnections
- (output) the two selected connected views to the target- Returns:
- true if successful or false if it failed
-
setVerbose
public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration) - Specified by:
setVerbose
in interfaceVerbosePrint
-