AutoMovie API
    Preparing search index...

    Function scoreRecoveryCameraResiduals

    • Collect finite absolute residuals within an inclusive pixel threshold. Returned indices preserve observation order; quantiles use linear interpolation at (N-1)*q. Empty support has null diagnostics, never a perfect zero error.

      Parameters

      • residuals: readonly (number | null)[]
      • thresholdPx: number

      Returns { indices: number[]; medianPx: number | null; p90Px: number | null }

      • indices: number[]

        Original correspondence ordinals passing the declared residual gate, in stable input order.

      • medianPx: number | null

        Median accepted residual in pixels, or null for an empty accepted population.

      • p90Px: number | null

        Ninetieth-percentile accepted residual in pixels, or null for an empty accepted population.