Understanding how cv :: detail :: leaveBiggestComponent () works in opencv 3.2

I am having trouble understanding how the cv :: detail :: leaveBiggestComponent function works as there is no documentation available.

I know what the function is supposed to do, i.e. given a set of keyword matches between images, returning the largest subset of images with matched matches. In addition, according to its implementation states, it should also remove duplicate images.

This feature is part of the opencv Stitching Pipeline , and should act as a panorama recognition engine for Brown and Lowe.

However, when it comes to breaking code, I can't figure out how it's done.

TL; DR I am looking for pseudocode explaining the flowchart of cv :: detail :: leaveBiggestComponent (), please help.

Code implementation here . It calls the relevant code (no documentation) from here (implementation) and here (headers).

Of particular interest is how cv :: detail :: DisjointSets () works.

+3
c ++ opencv image-stitching


source to share


No one has answered this question yet

Check out similar questions:

1518
Image processing: improvement of the algorithm for the recognition of "Coca-Cola Can"
8
Calculate coordinates from original images after stitching
five
Image details using OpenCV
2
Open CV ERR_NEED_MORE_IMGS
2
How to stitch multiple images that are in random order using OpenCV in python?
1
Opencv4Android, stitching two images
1
OpenCV Image Stitching - Using ExposureCompensator and MultiabandBlender
0
2d sewing in opencv
0
OpenCV Center homography
0
Image stitching



All Articles
Loading...
X
Show
Funny
Dev
Pics