Skip to content

small bug(?) in exporting COLMAP database #90

@oUp2Uo

Description

@oUp2Uo

Hi, recently I am trying SFM disambiguation which will need to edit COLMAP database, and I find that the exported COLMAP database has different columns when using different images.
Sometimes qvec and tvec is exited (this is normal situation).
But occasionally, there are no these two columns, while running the same commands but using different images.
Although these values are all null, but some other programs will read these columns when loading COLMAP database.
I try to add qvec and tvec manually and it works.

qvec_tvec

no_qvec_tvec

I have tried to check the source code, but still could not understand why qvec and tvec columns are gone.
Maybe is the difference between calling add_matches and add_raw_matches?
https://github.com/3DOM-FBK/deep-image-matching/blob/master/src/deep_image_matching/io/h5_to_db.py

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions