Class StereoPairGraph

java.lang.Object
boofcv.alg.mvs.StereoPairGraph

public class StereoPairGraph extends Object
Specifies which views can be used as stereo pairs and the quality of the 3D information between the views
  • Field Details

  • Constructor Details

    • StereoPairGraph

      public StereoPairGraph()
  • Method Details

    • addVertex

      public StereoPairGraph.Vertex addVertex(String id, int indexSba)
      Creates a new vertex. Throws an exception if a Vertex with the same ID already exists.
      Parameters:
      id - ID of the new vertex
      indexSba - Index of the vertex's view in SBA
      Returns:
      The new Vertex.
    • connect

      public StereoPairGraph.Edge connect(String a, String b, double quality3D)
      Connects two vertexes together with the specified quality
      Parameters:
      a - (Input) ID of vertex A
      b - (Input) ID of vertex B
      quality3D - (Input) Quality of connection between them
      Returns:
      The Edge connecting the two vertexes
    • reset

      public void reset()