Skip to content

Inplement detail about plane homography warping between src camera and tgt camera. #20

@SunshineWYC

Description

@SunshineWYC

In operations/homography_sampler.py file,
1
Line 107-108 calculate plane homography warping matrix between src camera and tgt camera, following the equation:
2
While the K_inv should be K_tgt_inv, not the K_src_inv, K should be K_src. This issue will not happen when K_tgt=K_src, but cause error when intrinsics are not equal.
H_tgt_src = torch.matmul(K_src, torch.matmul(R_tnd, K_tgt_inv))

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