Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SFM] Using rerun logger for Incremental SfM reconstruction #2291

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

pmoulon
Copy link
Member

@pmoulon pmoulon commented Feb 3, 2024

Visualization of the incremental process has never been so easy. By default a rerun window will open and show the status of the reconstruction:

  • Show cameras frustum
  • Point Cloud (with corresponding track ids)
  • Camera Resection statistics (as graph inlier_ratio and a_contrario resection threshold)
  • Number of camera in the scene (see pose_count timeline)

You can use it as following:
--rerun_logging [WINDOW(default)|FILE|NONE]

  • WINDOW -> will open rerun window and show the reconstruction
  • FILE -> will log to a sfm_data.rrd file the reconstruction
  • NONE -> Disable rerun logging

Visualization of the incremental process has never been so easy.
By default a rerun window will open and show the status of the
reconstruction:
- Show cameras frustum
- Point Cloud (with corresponding track ids)
- Camera Resection statistics (as graph inlier ratio and a_contrario
resection threshold)
- Number of camera in the scene (see pose_count timeline)

You can use it as following:
--rerun_logging [WINDOW(default)|FILE|NONE]

- WINDOW => will open rerun window and show the reconstruction
- FILE => will log to a sfm_data.rrd file the reconstruction
- NONE => Disable rerun logging
@pmoulon pmoulon requested a review from a team February 3, 2024 05:41
@pmoulon
Copy link
Member Author

pmoulon commented Feb 3, 2024

@khshmt Here is a PR that integrate rerun for logging the reconstruction process.
Use openMVG_main_SfM as usual and the rerun window will just show.

openMVG_ReRun_C_Chateau
openMVG_ReRun_C_Eglise_test
openMVG_ReRun_C_Halles

Let me know how it goes for you.

Note: We will solve the GitHub CI errors later.

@khshmt
Copy link
Contributor

khshmt commented Feb 3, 2024

@pmoulon I got a compile error while building on "develop_rerun_logging" due to a missing header file "openMVG/sfm/sfm_data_io_rerun.hpp", Do I miss something?

Screenshot from 2024-02-03 14-23-21

@pmoulon
Copy link
Member Author

pmoulon commented Feb 3, 2024

@khshmt Should be fixed now, sorry about this.

@khshmt
Copy link
Contributor

khshmt commented Feb 3, 2024

No problem

@khshmt
Copy link
Contributor

khshmt commented Feb 5, 2024

It looks good, I will inspect it more and if you have any further requirements for testing tell me
Screenshot from 2024-02-05 06-33-02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants