(
options: IncrementalPipelineOptions,
mapper_options: IncrementalMapperOptions,
mapper: IncrementalMapper,
)
| 50 | |
| 51 | |
| 52 | def 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 | |
| 70 | def initialize_reconstruction( |
no outgoing calls
no test coverage detected