Skip to content

detail_Estimator

stitchingclassOpenCV 5.0.0
import { detail_Estimator } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSdetail_Estimator
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Rotation estimator base class.

It takes features of all images, pairwise matches between all images and estimates rotations of all cameras.

Note: The coordinate system origin is implementation-dependent, but you can always normalize the rotations in respect to the first camera, for instance. :

Constructors and members

clone

Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.

clone(): this;
Returns

The this result.

apply

Estimates camera parameters.

apply(features: detail__ImageFeaturesVector, pairwise_matches: detail__MatchesInfoVector, cameras: detail__CameraParamsVector): boolean;
features

Features of images

pairwise_matches

Pairwise matches of images

cameras

Input/output value, modified by the native operation. Estimated camera parameters

Returns

True in case of success, false otherwise

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.