colmap / colmap

COLMAP - Structure-from-Motion and Multi-View Stereo
https://colmap.github.io/
Other
7.41k stars 1.5k forks source link

Issue with `model_merger` in `similarity_transform` #2691

Closed satyajitghana closed 1 month ago

satyajitghana commented 1 month ago
colmap model_merger --input_path1 data-1/0.2/openmvg/reconstruction/cubic/colmap_sparse --input_path2 data-2/0.2/openmvg/reconstruction/cubic/colmap_sparse/ --output_path merged/
Reconstruction 1
----------------
Images: 9000
Points: 2448549

Reconstruction 2
----------------
Images: 10140
Points: 3202898

Merging reconstructions
-----------------------
F0808 06:48:35.403111 1278441 similarity_transform.cc:115] Check failed: image1.NumPoints2D() == image2.NumPoints2D() (521 vs. 419) 
*** Check failure stack trace: ***
    @     0x76bafc9c0b03  google::LogMessage::Fail()
    @     0x76bafc9c89d1  google::LogMessage::SendToLog()
    @     0x76bafc9c07c2  google::LogMessage::Flush()
    @     0x76bafc9c278f  google::LogMessageFatal::~LogMessageFatal()
    @     0x5a0476f00e9b  (unknown)
    @     0x5a0476f01910  colmap::ComputeAlignmentBetweenReconstructions()
    @     0x5a0476ef10ad  colmap::Reconstruction::Merge()
    @     0x5a0476e53220  colmap::RunModelMerger()
    @     0x5a0476e2d499  main
    @     0x76bafa629d90  (unknown)
    @     0x76bafa629e40  __libc_start_main
    @     0x5a0476e303e5  _start
Aborted (core dumped)

Environment:

satyajitghana commented 1 month ago

okay, makes sense: https://github.com/colmap/colmap/issues/1703#issuecomment-1331828759