(path: Path)
| 56 | run_dense(resized_sparse_dir, resized_dense_dir) |
| 57 | |
| 58 | def resize_metadata(path: Path) -> None: |
| 59 | extrinsics, intrinsics, image_names = read_colmap_model(path) |
| 60 | write_colmap_model( |
| 61 | path, |
| 62 | extrinsics, |
| 63 | intrinsics, |
| 64 | image_names, |
| 65 | (h_original, w_original), |
| 66 | ) |
| 67 | |
| 68 | # Copy and rescale the sparse outputs. |
| 69 | print("Resizing sparse outputs.") |
no test coverage detected