-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
matrix c2w in loc_inference.py #1
Comments
Sorry for the late reply. It's actually the world-to-camera matrix. Thanks for noticing! |
Thanks for your reply, I still have a minor question.
|
Here the
is equal to
I hope this helps. |
Sorry to bother you again.
But according to the paper it should perform a c2w back-projection with the initial pose |
You just need to take the inverse of warp function in this definition. warp = from_cam_tensor_to_w2c(torch.cat([quat_opt, t_opt], dim=0)) @ pose.inverse()
warp = warp.inverse() And the result should be correct. |
In loc_inference.py,$R,t$ generated by PnP represents the world-to-camera transformation in my understanding. Why assign it to the $c2w$ matrix, which seems to represent the camera-to-world transform in
compute_warping_loss
The text was updated successfully, but these errors were encountered: