linemod_QuantizedPyramid
import { linemod_QuantizedPyramid } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
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;The this result.
quantize
Compute quantized image at current pyramid level for online detection.
quantize(dst: Mat): void;dstOutput 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;templOutput destination, filled by the native operation. The new template.
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.