Package boofcv.alg.sfm.structure2
Class SceneWorkingGraph
- java.lang.Object
-
- boofcv.alg.sfm.structure2.SceneWorkingGraph
-
public class SceneWorkingGraph extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSceneWorkingGraph.FeatureclassSceneWorkingGraph.ObservationclassSceneWorkingGraph.View
-
Constructor Summary
Constructors Constructor Description SceneWorkingGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddObservation(SceneWorkingGraph.Feature feature, SceneWorkingGraph.View view, int index)SceneWorkingGraph.ViewaddView(PairwiseImageGraph2.View pview)SceneWorkingGraph.ViewaddViewAndFeatures(PairwiseImageGraph2.View pview)Adds the view and the feature's associated with it.SceneWorkingGraph.FeaturecreateFeature()SceneWorkingGraph.Viewinitialize(PairwiseImageGraph2.View pv)InitializesbooleanisKnown(PairwiseImageGraph2.View pview)voidlookupCommon(java.lang.String viewA, java.lang.String viewB, java.lang.String viewC, java.util.List<SceneWorkingGraph.Feature> features, org.ddogleg.struct.FastQueue<boofcv.struct.feature.AssociatedTripleIndex> matches)SceneWorkingGraph.FeaturelookupFeature(PairwiseImageGraph2.View pview, int viewIdx)SceneWorkingGraph.ViewlookupView(java.lang.String id)
-
-
-
Method Detail
-
lookupView
public SceneWorkingGraph.View lookupView(java.lang.String id)
-
initialize
public SceneWorkingGraph.View initialize(PairwiseImageGraph2.View pv)
Initializes- Parameters:
pv-- Returns:
-
isKnown
public boolean isKnown(PairwiseImageGraph2.View pview)
-
lookupFeature
public SceneWorkingGraph.Feature lookupFeature(PairwiseImageGraph2.View pview, int viewIdx)
-
addView
public SceneWorkingGraph.View addView(PairwiseImageGraph2.View pview)
-
addViewAndFeatures
public SceneWorkingGraph.View addViewAndFeatures(PairwiseImageGraph2.View pview)
Adds the view and the feature's associated with it. All of its features are labeled as known, unknown, or contradiction. If known then this view is added to the feature. If unknown then a new feature is created. Features which are contradictions are ignored.
-
createFeature
public SceneWorkingGraph.Feature createFeature()
-
addObservation
public void addObservation(SceneWorkingGraph.Feature feature, SceneWorkingGraph.View view, int index)
- Parameters:
feature- The feature being observedview- The view it was observed inindex- The index of the feature in the view
-
lookupCommon
public void lookupCommon(java.lang.String viewA, java.lang.String viewB, java.lang.String viewC, java.util.List<SceneWorkingGraph.Feature> features, org.ddogleg.struct.FastQueue<boofcv.struct.feature.AssociatedTripleIndex> matches)
-
-