MCPcopy Create free account
hub / github.com/colmap/colmap / iterative_global_refinement

Function iterative_global_refinement

python/examples/custom_incremental_pipeline.py:52–67  ·  view source on GitHub ↗
(
    options: IncrementalPipelineOptions,
    mapper_options: IncrementalMapperOptions,
    mapper: IncrementalMapper,
)

Source from the content-addressed store, hash-verified

50
51
52def iterative_global_refinement(
53 options: IncrementalPipelineOptions,
54 mapper_options: IncrementalMapperOptions,
55 mapper: IncrementalMapper,
56) -> None:
57 logging.info("Retriangulation and Global bundle adjustment")
58 # The following is equivalent to mapper.iterative_global_refinement(...)
59 custom_bundle_adjustment.iterative_global_refinement(
60 mapper,
61 options.ba_global_max_refinements,
62 options.ba_global_max_refinement_change,
63 mapper_options,
64 options.get_global_bundle_adjustment(),
65 options.get_triangulation(),
66 )
67 mapper.filter_frames(mapper_options)
68
69
70def initialize_reconstruction(

Callers 1

reconstruct_sub_modelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected