Skip to content

linemod_DepthNormal

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

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

ARGUMENTSConstructor or factory
CLASSlinemod_DepthNormal
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. Inherits linemod_Modality.

Modality that computes quantized surface normals from a dense depth map.

Constructors and members

static create

linemod_DepthNormal.create: Constructor.

create(distance_threshold: number, difference_threshold: number, num_features: number, extract_threshold: number): linemod_DepthNormal | null;
distance_threshold

Ignore pixels beyond this distance.

difference_threshold

When computing normals, ignore contributions of pixels whose depth difference with the central pixel is above this threshold.

num_features

How many features a template must contain.

extract_threshold

Consider as candidate feature only if there are no differing orientations within a distance of extract_threshold.

Returns

The linemod_DepthNormal | 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.

distance_threshold

distance threshold value for linemod_DepthNormal.

distance_threshold: number;

difference_threshold

difference threshold value for linemod_DepthNormal.

difference_threshold: number;

num_features

num features value for linemod_DepthNormal.

num_features: number;

extract_threshold

extract threshold value for linemod_DepthNormal.

extract_threshold: number;

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.