Class GeneratePairwiseImageGraph

java.lang.Object
boofcv.alg.structure.GeneratePairwiseImageGraph
All Implemented Interfaces:
VerbosePrint

public class GeneratePairwiseImageGraph extends Object implements VerbosePrint
Given a graph of images with similar appearance, create a graph in which images with a geometric relationship are connected to each other. Determine if that relationship has 3D geometry or is composed of a homography. If there is a geometric relationship or not is determined using the passed in EpipolarScore3D.
  • Field Details

    • graph

      public final PairwiseImageGraph graph
    • epipolarScore

      public final EpipolarScore3D epipolarScore
      Used to score if the two views have a 3D relationship or not
  • Constructor Details

    • GeneratePairwiseImageGraph

      public GeneratePairwiseImageGraph(EpipolarScore3D epipolarScore)
      Specifies consensus matching algorithms
  • Method Details

    • process

      public void process(LookUpSimilarImages dbSimilar, LookUpCameraInfo dbCams)
      Connects images by testing features for a geometric relationship. Retrieve the results using #getGraph()
      Parameters:
      dbSimilar - Images with feature associations
    • createEdge

      protected void createEdge(LookUpCameraInfo dbCams, String src, String dst, DogArray<AssociatedPair> pairs, DogArray<AssociatedIndex> matches)
      Connects two views together if they meet a minimal set of geometric requirements. Determines if there is strong evidence that there is 3D information present and not just a homography
      Parameters:
      src - ID of src image
      dst - ID of dst image
      pairs - Associated features pixels
      matches - Associated features feature indexes
    • setVerbose

      public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration)
      Specified by:
      setVerbose in interface VerbosePrint