Projects a 3d point onto the 2d camera plane.
tfg.rendering.camera.orthographic.project(
point_3d: type_alias.TensorLike,
name: str = 'orthographic_project'
) -> tf.Tensor
Projects a 3d point (x,y,z) to a 2d point (x′,y′) onto the image plane, with
x′=x,y′=y.
Note | |
---|---|
In the following, A1 to An are optional batch dimensions. |
Args | |
---|---|
point_3d
|
A tensor of shape [A1, ..., An, 3] , where the last dimension
represents a 3d point to project.
|
name
|
A name for this op that defaults to "orthographic_project". |
Returns | |
---|---|
A tensor of shape [A1, ..., An, 2] , where the last dimension represents
a 2d point.
|