tfg.rendering.camera.perspective.parameters_from_right_handed

Recovers the parameters used to contruct a right handed projection matrix.

In the following, A1 to An are optional batch dimensions.

projection_matrix A tensor of shape [A1, ..., An, 4, 4], containing matrices of right handed perspective-view frustum.
name A name for this op. Defaults to "perspective_parameters_from_right_handed".

InvalidArgumentError if projection_matrix is not of the expected shape.

Tuple of 4 tensors of shape [A1, ..., An, 1], where the first tensor represents the vertical field of view used to contruct projection_matrix, the second tensor represents the ascpect ratio used to constructprojection_matrix, and the third and fourth parameters repectively represent the near and far clipping planes used to constructprojection_matrix`.