You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In operations/homography_sampler.py file,
Line 107-108 calculate plane homography warping matrix between src camera and tgt camera, following the equation:
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))
The text was updated successfully, but these errors were encountered:
Here, the author first computes homography matrix (H_tgt_src) that warps pixels in the source view to the target view and then inverse it ( line 113 in operations/homography_sampler.py ). So for this question, the release code is right.
In operations/homography_sampler.py file,
Line 107-108 calculate plane homography warping matrix between src camera and tgt camera, following the equation:
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))
The text was updated successfully, but these errors were encountered: