parameters: (self, left_uv, disparity)
docstring: :param left_uv:        rectified pixel coordinates
          :type left_uv:         (u, v)
          :param disparity:        disparity, in pixels
          :type disparity:         float
  
          Returns the 3D point (x, y, z) for the given pixel position,
          using the cameras' :math:`P` matrices.
          This is the inverse of :meth:`project3dToPixel`.
  
          Note that a disparity of zero implies that the 3D point is at infinity.
docstring_summary: :param left_uv:        rectified pixel coordinates
          :type left_uv:         (u, v)
          :param disparity:        disparity, in pixels
          :type disparity:         float
docstring_tokens: : param left_uv : rectified pixel coordinates : type left_uv : ( u v ) : param disparity : disparity in pixels : type disparity : float
function: def projectPixelTo3d(self, left_uv, disparity):
          """
          :param left_uv:        rectified pixel coordinates
          :type left_uv:         (u, v)
          :param disparity:        disparity, in pixels
          :type disparity:         float
  
          Returns the 3D point (x, y, z) for the given pixel position,
          using the cameras' :math:`P` matrices.
          This is the inverse of :meth:`project3dToPixel`.
  
          Note that a disparity of zero implies that the 3D point is at infinity.
          """
          src = mkmat(4, 1, [left_uv[0], left_uv[1], disparity, 1.0])
          dst = self.Q * src
          x = dst[0, 0]
          y = dst[1, 0]
          z = dst[2, 0]
          w = dst[3, 0]
          if w != 0:
              return (x / w, y / w, z / w)
          else:
              return (0.0, 0.0, 0.0)
function_tokens: def projectPixelTo3d ( self , left_uv , disparity ) : src = mkmat ( 4 , 1 , [ left_uv [ 0 ] , left_uv [ 1 ] , disparity , 1.0 ] ) dst = self . Q * src x = dst [ 0 , 0 ] y = dst [ 1 , 0 ] z = dst [ 2 , 0 ] w = dst [ 3 , 0 ] if w != 0 : return ( x / w , y / w , z / w ) else : return ( 0.0 , 0.0 , 0.0 )