code: def camtoworld_vision_to_graphics_Rt(
      R: Tensor, t: Tensor
  ) -> tuple[Tensor, Tensor]:
      r"""Converts graphics coordinate frame (e.g. OpenGL) to vision coordinate frame (e.g. OpenCV.), , i.e. flips y
      and z axis. Graphics convention: [+x, +y, +z] == [right, up, backwards]. Vision convention: [+x, +y, +z] ==
  
      [right, down, forwards]
  
      Args:
          R: Rotation matrix, :math:`(B, 3, 3).`
          t: Translation matrix :math:`(B, 3, 1)`.
  
      Returns:
          R: Rotation matrix, :math:`(B, 3, 3).`
          t: Translation matrix :math:`(B, 3, 1)`.
  
      Example:
          >>> R, t = torch.eye(3)[None], torch.ones(3).reshape(1, 3, 1)
          >>> camtoworld_vision_to_graphics_Rt(R, t)
          (tensor([[[ 1.,  0.,  0.],
                   [ 0., -1.,  0.],
                   [ 0.,  0., -1.]]]), tensor([[[1.],
                   [1.],
                   [1.]]]))
      """
      KORNIA_CHECK_SHAPE(R, ["B", "3", "3"])
      KORNIA_CHECK_SHAPE(t, ["B", "3", "1"])
      mat4x4 = camtoworld_vision_to_graphics_4x4(Rt_to_matrix4x4(R, t))
      return matrix4x4_to_Rt(mat4x4)
  
imports: from __future__ import annotations
  from typing import Optional
  import torch
  import torch.nn.functional
  from kornia.constants import pi
  from kornia.core import Tensor, concatenate, cos, pad, sin, stack, tensor, where, zeros_like
  from kornia.core.check import KORNIA_CHECK, KORNIA_CHECK_SHAPE
  from kornia.utils import deprecated
  from kornia.utils.helpers import _torch_inverse_cast
label_desc: Use image node_id 42 for calling a global function with example usage: camtoworld_vision_to_graphics_Rt(R, t) and returns: matrix4x4_to_Rt