AutoMovie API
    Preparing search index...

    Function triangulateRecoveryCameraPoint

    • Triangulate one observation pair in the first-camera, unit-baseline gauge. Original 4-by-4 DLT uses calibrated rays and P1=[I|0], P2=[R|t]. An unresolved third design direction, point at infinity or nonfinite divided coordinate returns null; a finite point behind a camera remains explicitly nonpositive. Invalid or overflowing matrix actions and SVD nonconvergence throw. This algebraic point is fitting evidence, not an independently observed surface.

      Parameters

      • firstPoint: readonly [number, number]
      • secondPoint: readonly [number, number]
      • first: { inverse: number[]; matrix: number[] }
        • inverse: number[]

          Analytic inverse of the supplied pinhole K, mapping pixel homogeneous coordinates to camera rays.

        • matrix: number[]

          Row-major 3 by 3 supplied pinhole intrinsic matrix K in the resident pixel-centre chart.

      • second: { inverse: number[]; matrix: number[] }
        • inverse: number[]

          Analytic inverse of the supplied pinhole K, mapping pixel homogeneous coordinates to camera rays.

        • matrix: number[]

          Row-major 3 by 3 supplied pinhole intrinsic matrix K in the resident pixel-centre chart.

      • pose: { rotation: readonly number[]; translation: readonly [number, number, number] }
        • rotation: readonly number[]

          Row-major 3 by 3 camera rotation in the operation's declared source-to-camera convention.

        • translation: readonly [number, number, number]

          Camera translation in the operation's admitted reconstruction scale; two-view direction alone has no metric length.

      • minimumDesignRatio: number
      • maxSweeps: number

      Returns
          | {
              firstDepth: number;
              firstReprojectionPx: number;
              parallaxRadians: number;
              point: [number, number, number];
              positiveDepth: boolean;
              secondDepth: number;
              secondReprojectionPx: number;
          }
          | null

      • {
            firstDepth: number;
            firstReprojectionPx: number;
            parallaxRadians: number;
            point: [number, number, number];
            positiveDepth: boolean;
            secondDepth: number;
            secondReprojectionPx: number;
        }
        • firstDepth: number

          Signed point depth in the first camera's translation-scale coordinate frame.

        • firstReprojectionPx: number

          Pixel discrepancy between the first observation and its point reprojection.

        • parallaxRadians: number

          Angle between the two viewing rays for this triangulated point, in radians.

        • point: [number, number, number]

          Physical point in the source frame; camera triangulation uses the admitted translation scale.

        • positiveDepth: boolean

          True only when the triangulated point lies in front of both cameras.

        • secondDepth: number

          Signed point depth in the second camera's translation-scale coordinate frame.

        • secondReprojectionPx: number

          Pixel discrepancy between the second observation and its point reprojection.

      • null