AutoMovie API
    Preparing search index...

    Function selectRecoveryCameraPose

    • Measure all four calibrated pose branches on one fixed correspondence set. The largest positive-depth count supplies a candidate; equal winning counts remain explicitly ambiguous even though deterministic order names a candidate. Parallax is summarized only for finite points positive in both cameras.

      Parameters

      • fundamental: readonly number[]
      • firstPoints: readonly (readonly [number, number])[]
      • secondPoints: readonly (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.

      • minimumDesignRatio: number
      • maxSweeps: number

      Returns {
          allPositiveDepthCounts: number[];
          fundamental: number[];
          medianParallaxRadians: number | null;
          points: (
              | {
                  firstDepth: number;
                  firstReprojectionPx: number;
                  parallaxRadians: number;
                  point: [number, number, number];
                  positiveDepth: boolean;
                  secondDepth: number;
                  secondReprojectionPx: number;
              }
              | null
          )[];
          positiveDepthFraction: number;
          relativeProjectionDiscrepancy: number;
          rotation: number[];
          translation: [number, number, number];
          uniqueWinner: boolean;
      }

      • allPositiveDepthCounts: number[]

        Positive-depth support count for each candidate pose in candidate order.

      • fundamental: number[]

        Row-major 3 by 3 fundamental matrix in the declared pixel charts; homogeneous scale has no metric meaning.

      • medianParallaxRadians: number | null

        Median accepted ray angle in radians, or null when no usable population exists.

      • points: (
            | {
                firstDepth: number;
                firstReprojectionPx: number;
                parallaxRadians: number;
                point: [number, number, number];
                positiveDepth: boolean;
                secondDepth: number;
                secondReprojectionPx: number;
            }
            | null
        )[]

        Triangulated correspondence results in input order, retaining depth and pixel-error qualifications.

      • positiveDepthFraction: number

        Fraction of evaluated correspondences having positive depth in both cameras.

      • relativeProjectionDiscrepancy: number

        Relative discrepancy between the projected essential model and the estimated epipolar model; dimensionless.

      • rotation: number[]

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

      • translation: [number, number, number]

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

      • uniqueWinner: boolean

        Whether one pose has uniquely greatest admitted positive-depth support.