Skip to content

omnidir_stereoRectify

ccalibfunctionOpenCV 5.0.0
import { omnidir_stereoRectify } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSR, T, R1, R2
FUNCTIONomnidir_stereoRectify
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Stereo rectification for omnidirectional camera model. It computes the rectification rotations for two cameras

omnidir_stereoRectify(R: Mat, T: Mat, R1: Mat, R2: Mat): void;
R

Rotation between the first and second camera

T

Translation between the first and second camera

R1

Output destination, filled by the native operation. Output 3x3 rotation matrix for the first camera

R2

Output destination, filled by the native operation. Output 3x3 rotation matrix for the second camera

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.