DriftCapture · function
triangulate
The points behind count correspondences, in the first camera's frame, into out (3 each), and
how many landed in front of both cameras. A point that did not is left at zero.
Explained in DriftCapture.
function triangulate(a: Float64Array, b: Float64Array, count: number, intrinsics: readonly [number, number, number, number], rotation: Float64Array, translation: Float64Array, out: Float64Array): numberimport { triangulate } from '@driftengine/capture';Parameters
| Parameter | Type | Description |
|---|---|---|
a | Float64Array | |
b | Float64Array | |
count | number | |
intrinsics | readonly [number, number, number, number] | |
rotation | Float64Array | |
translation | Float64Array | |
out | Float64Array |