[SFM] Using rerun logger for Incremental SfM reconstruction#2291
[SFM] Using rerun logger for Incremental SfM reconstruction#2291pmoulon wants to merge 2 commits into
Conversation
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
|
@khshmt Here is a PR that integrate rerun for logging the reconstruction process. Let me know how it goes for you. Note: We will solve the GitHub CI errors later. |
|
@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? |
|
@khshmt Should be fixed now, sorry about this. |
|
No problem |
|
It's a very nice way to visualize the INCREMENTAL engine. Rerun had some changes so it currently only works with the following version: 0.12.1. You need to change the rerun_sdk URL in the |
| openMVG_system | ||
| ${CERES_LIBRARIES} | ||
| ${STLPLUS_LIBRARY} | ||
| rerun_sdk |
There was a problem hiding this comment.
I got compiling issue because of linking rerun_sdk privately to openMVG_sfm target, and it got solved after changing to link it publicly as follows:
target_link_libraries(openMVG_sfm
PUBLIC
openMVG_geometry
openMVG_features
openMVG_graph
openMVG_matching
openMVG_multiview
${cereal_TARGET}
${OPENMVG_LIBRARY_DEPENDENCIES}
rerun_sdk
)





Visualization of the incremental process has never been so easy. By default a rerun window will open and show the status of the reconstruction:
inlier_ratioanda_contrarioresection threshold)You can use it as following:
--rerun_logging [WINDOW(default)|FILE|NONE]
sfm_data.rrdfile the reconstruction