linemod_ColorGradient_create
import { linemod_ColorGradient_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSweak_threshold, num_features, strong_threshold
FUNCTIONlinemod_ColorGradient_create
RETURN TYPElinemod_ColorGradient | null
linemod_ColorGradient_create: Constructor.
linemod_ColorGradient_create(weak_threshold: number, num_features: number, strong_threshold: number): linemod_ColorGradient | null;weak_thresholdWhen quantizing, discard gradients with magnitude less than this.
num_featuresHow many features a template must contain.
strong_thresholdConsider as candidate features only gradients whose norms are larger than this.
Returns
The linemod_ColorGradient | 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.