mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 14:20:38 +08:00
screen space docstrings fix
Summary: Fix some comments to match the recent change to transform_points_screen. Reviewed By: patricklabatut Differential Revision: D33243697 fbshipit-source-id: dc8d182667a9413bca2c2e3657f97b2f7a47c795
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1152a93b72
commit
eb2bbf8433
@@ -250,7 +250,7 @@ class CamerasBase(TensorProperties):
|
||||
Returns the transform from camera projection space (screen or NDC) to NDC space.
|
||||
For cameras that can be specified in screen space, this transform
|
||||
allows points to be converted from screen to NDC space.
|
||||
The default transform scales the points from [0, W-1]x[0, H-1]
|
||||
The default transform scales the points from [0, W]x[0, H]
|
||||
to [-1, 1]x[-u, u] or [-u, u]x[-1, 1] where u > 1 is the aspect ratio of the image.
|
||||
This function should be modified per camera definitions if need be,
|
||||
e.g. for Perspective/Orthographic cameras we provide a custom implementation.
|
||||
|
||||
Reference in New Issue
Block a user