Skip to main content

Module shared

Module shared 

Source
Expand description

Shared 3D point correspondences between two reconstructions (post-processing).

If the same 2D point index in an image of the same name refers to 3D point i of A and 3D point j of B, then (i, j) is a pair. The preview shares the same features as the refined one (a copy from before BA), so the indices correspond directly.

Structs§

SharedPointOptions
Correspondence collection options.

Functions§

align_reconstructions
Estimates the src_to_dst Sim3 from shared point correspondences + robust Umeyama (preview → refined, previous refined → new refined).
position_index_from_name
Position index from an image name: the last digit string of the file stem. E.g. camF/camF_0012.jpg → 12.
shared_point_correspondences
Shared 3D point pairs (A point id, B point id). Duplicates removed, in a sorted deterministic order.

Type Aliases§

NameFilter
Image name filter function.