Ruilong Li
8fa438cbda
Fix camera conversion between opencv and pytorch3d
...
Summary:
For non square image, the NDC space in pytorch3d is not square [-1, 1]. Instead, it is [-1, 1] for the smallest side, and [-u, u] for the largest side, where u > 1. This behavior is followed by the pytorch3d renderer.
See the function `get_ndc_to_screen_transform` for a example.
Without this fix, the rendering result is not correct using the converted pytorch3d-camera from a opencv-camera on non square images.
This fix also helps the `transform_points_screen` function delivers consistent results with opencv projection for the converted pytorch3d-camera.
Reviewed By: classner
Differential Revision: D31366775
fbshipit-source-id: 8858ae7b5cf5c0a4af5a2af40a1358b2fe4cf74b
2021-10-07 10:15:31 -07:00
..
2021-09-29 18:49:09 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-08-12 14:06:32 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-09-29 18:49:09 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-08-17 05:59:07 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-09-15 13:49:22 -07:00
2021-08-17 08:07:55 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-10-06 10:57:07 -07:00
2021-06-22 03:45:27 -07:00
2021-08-17 04:26:27 -07:00
2021-09-10 11:13:26 -07:00
2021-08-12 14:06:32 -07:00
2021-06-22 03:45:27 -07:00
2021-09-02 09:32:29 -07:00
2021-10-07 10:15:31 -07:00
2021-06-22 03:45:27 -07:00
2021-06-28 04:28:06 -07:00
2021-08-02 01:01:10 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-07-19 05:02:51 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-24 15:56:01 -07:00
2021-06-22 03:45:27 -07:00
2021-09-30 00:48:52 -07:00
2021-09-29 18:49:09 -07:00
2021-06-22 03:45:27 -07:00
2021-07-01 16:08:40 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-24 03:53:21 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-07-13 10:29:26 -07:00
2021-09-15 13:49:21 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-10-02 13:40:16 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-10-01 11:58:24 -07:00
2021-06-28 04:28:06 -07:00
2021-09-23 06:59:48 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-09-09 07:37:57 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-09-13 07:08:58 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-08-17 05:59:07 -07:00
2021-07-13 10:29:26 -07:00
2021-06-22 03:45:27 -07:00
2021-09-29 13:44:10 -07:00
2021-08-31 11:26:26 -07:00
2021-06-22 03:45:27 -07:00
2021-06-28 06:31:35 -07:00
2021-07-13 10:29:26 -07:00
2021-06-22 03:45:27 -07:00
2021-09-10 11:13:26 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2021-10-06 10:57:07 -07:00
2021-06-22 03:45:27 -07:00
2021-07-13 10:29:26 -07:00
2021-06-22 03:45:27 -07:00
2021-06-22 03:45:27 -07:00
2020-01-23 11:53:46 -08:00