Package boofcv.alg.mvs
Class StereoPairGraph
java.lang.Object
boofcv.alg.mvs.StereoPairGraph
Specifies which views can be used as stereo pairs and the quality of the 3D information between the views
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new vertex.Connects two vertexes together with the specified qualityvoid
reset()
-
Field Details
-
vertexes
List of all the views
-
-
Constructor Details
-
StereoPairGraph
public StereoPairGraph()
-
-
Method Details
-
addVertex
Creates a new vertex. Throws an exception if a Vertex with the same ID already exists.- Parameters:
id
- ID of the new vertexindexSba
- Index of the vertex's view in SBA- Returns:
- The new Vertex.
-
connect
Connects two vertexes together with the specified quality- Parameters:
a
- (Input) ID of vertex Ab
- (Input) ID of vertex Bquality3D
- (Input) Quality of connection between them- Returns:
- The Edge connecting the two vertexes
-
reset
public void reset()
-