# tfg.rendering.camera.orthographic.unproject

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/rendering/camera/orthographic.py#L111-L156) |

Unprojects a 2d point in 3d.

    tfg.rendering.camera.orthographic.unproject(
        point_2d: type_alias.TensorLike,
        depth: type_alias.TensorLike,
        name: str = 'orthographic_unproject'
    ) -> tf.Tensor

Unprojects a 2d point \\((x', y')\\) to a 3d point \\((x, y, z)\\) given its
depth \\(z\\), with

\\\[
\\begin{matrix}
x = x', \& y = y', \& z = z.
\\end{matrix}
\\\]

<br />

<br />

<br />

| ## Note ||
|---|---|
| In the following, A1 to An are optional batch dimensions. ||

<br />

<br />

<br />

<br />

| ## Args ||
|---|---|
| `point_2d` | A tensor of shape `[A1, ..., An, 2]`, where the last dimension represents a 2d point to unproject. |
| `depth` | A tensor of shape `[A1, ..., An, 1]`, where the last dimension represents the depth of a 2d point. |
| `name` | A name for this op that defaults to "orthographic_unproject". |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A tensor of shape `[A1, ..., An, 3]`, where the last dimension represents a 3d point. ||

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `ValueError` | If the shape of `point_2d`, `depth` is not supported. |

<br />