Skip to content

Confusion regarding the colmap example #622

@AditMeh

Description

@AditMeh

Why does the colmap example invert the rotation matrix here?
https://github.com/nerfstudio-project/viser/blob/567580e0af1ef850b506dc85295e82c53bf55557/examples/04_demos/01_colmap_visualizer.py#L139-L141

The docs state that the rotation needs to be from the parent frame (world) to the local (camera) frame https://viser.studio/main/api/core/scene_api/#viser.SceneApi.add_frame

However, colmap gives you W2C poses in the binary/text file already, so inverting should turn it into C2W poses.
https://colmap.github.io/format.html#images-txt

However, the example works fine and renders properly for my scenes, so there is something I'm missing in my understanding

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions