Skip to content

Very confused about this line of code #84

Description

@HaisongDing

cam_poses[:, :3, 1:3] *= -1 # invert up & forward direction

In this code, given a camera pose, you want to convert it from opengl to colmap format by reverting the up and forward direction. According to https://github.com/ashawkey/kiuikit/blob/73e34203fd3bd4b5979dc3a38057dff117b39521/kiui/cam.py#L31, it is done by pose[1:3, :] *= -1. But in the above code, it is done by pose[:, 1:3] *= -1

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