linemod_DepthNormal_create
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
linemod_DepthNormal_create: Constructor.
linemod_DepthNormal_create(distance_threshold: number, difference_threshold: number, num_features: number, extract_threshold: number): linemod_DepthNormal | null;distance_thresholdIgnore pixels beyond this distance.
difference_thresholdWhen computing normals, ignore contributions of pixels whose depth difference with the central pixel is above this threshold.
num_featuresHow many features a template must contain.
extract_thresholdConsider 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.