Skip to content

linemod_QuantizedPyramid

rgbdclassOpenCV 5.0.0
import { linemod_QuantizedPyramid } from '@banou/opencv-wasm'

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

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

Represents a modality operating over an image pyramid.

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.

quantize

Compute quantized image at current pyramid level for online detection.

quantize(dst: Mat): void;
dst

Output destination, filled by the native operation. The destination 8-bit image. For each pixel at most one bit is set, representing its classification.

extractTemplate

Extract most discriminant features at current pyramid level to form a new template.

extractTemplate(templ: linemod_Template): boolean;
templ

Output destination, filled by the native operation. The new template.

Returns

The boolean result.

pyrDown

Go to the next pyramid level.

\todo Allow pyramid scale factor other than 2

pyrDown(): void;

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.