Skip to content

linemod_DepthNormal_create

rgbdfunctionOpenCV 5.0.0
import { linemod_DepthNormal_create } from '@banou/opencv-wasm'

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

ARGUMENTSdistance_threshold, difference_threshold, num_features, extract_threshold
FUNCTIONlinemod_DepthNormal_create
RETURN TYPElinemod_DepthNormal | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

linemod_DepthNormal_create: Constructor.

linemod_DepthNormal_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.

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.