Skip to content

About align cameras using first view #10

@1843744321mark

Description

@1843744321mark

It's a really great job. I am not sure why we need align cameras using first view, and cannot understand these formula. Could you please tell me a more detailed explaination about it? Thank you very much!
r = np.linalg.norm(tar_c2ws[0,:3,3])
ref_c2w = np.eye(4, dtype=np.float32).reshape(1,4,4)
ref_w2c = np.eye(4, dtype=np.float32).reshape(1,4,4)
ref_c2w[:,2,3], ref_w2c[:,2,3] = -r, r
transform_mats = ref_c2w @ tar_w2cs[:1]
tar_w2cs = tar_w2cs.copy() @ tar_c2ws[:1] @ ref_w2c
tar_c2ws = transform_mats @ tar_c2ws.copy()

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