linemod_DepthNormal
import { linemod_DepthNormal } 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. 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_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.
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;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.