Skip to content

How to convert the provided poses in traj_w_c.txt to the transforms.json used in Nerfstudio? #45

@ZuoJiaxing

Description

@ZuoJiaxing

I follow nerfstudio to convert the provided poses to nerfstudio format with the following:
c2w = read_poses_c2w[idx].reshape((4,4))
# Convert from COLMAP's camera coordinate system to ours
c2w[0:3, 1:3] *= -1
c2w = c2w[np.array([1, 0, 2, 3]), :]
c2w[2, :] *= -1

However, it does not work for nerfstudio. Can you give some hints?

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