Package boofcv.alg.structure
Class GeneratePairwiseImageGraph
java.lang.Object
boofcv.alg.structure.GeneratePairwiseImageGraph
- All Implemented Interfaces:
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 Summary
Modifier and TypeFieldDescriptionfinal EpipolarScore3D
Used to score if the two views have a 3D relationship or notfinal PairwiseImageGraph
-
Constructor Summary
ConstructorDescriptionGeneratePairwiseImageGraph
(EpipolarScore3D epipolarScore) Specifies consensus matching algorithms -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.void
process
(LookUpSimilarImages dbSimilar, LookUpCameraInfo dbCams) Connects images by testing features for a geometric relationship.void
setVerbose
(@Nullable PrintStream out, @Nullable Set<String> configuration)
-
Field Details
-
graph
-
epipolarScore
Used to score if the two views have a 3D relationship or not
-
-
Constructor Details
-
GeneratePairwiseImageGraph
Specifies consensus matching algorithms
-
-
Method Details
-
process
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 imagedst
- ID of dst imagepairs
- Associated features pixelsmatches
- Associated features feature indexes
-
setVerbose
public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration) - Specified by:
setVerbose
in interfaceVerbosePrint
-