Skip to content

detail_Timelapser

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

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

ARGUMENTSConstructor or factory
CLASSdetail_Timelapser
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.

Base Timelapser class, takes a sequence of images, applies appropriate shift, stores result in dst_.

Constructors and members

static createDefault

Create an owned detail_Timelapser instance with the supplied configuration.

Base Timelapser class, takes a sequence of images, applies appropriate shift, stores result in dst_.

createDefault(type_: number): detail_Timelapser | null;
type_

type argument (number).

Returns

The detail_Timelapser | null result.

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.

initialize

Allocate the output canvas from image offsets and sizes before processing the time-lapse sequence.

initialize(corners: PointVector, sizes: SizeVector): void;
corners

corners argument (PointVector).

sizes

sizes argument (SizeVector).

process

Place an image on the time-lapse canvas using its validity mask and top-left offset.

process(img: Mat, mask: Mat, tl: Point): void;
img

img argument (Mat).

mask

mask argument (Mat).

tl

tl argument (Point).

getDst

Return the dst configured on this detail_Timelapser object.

getDst(): UMat;
Returns

The UMat result.

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.