Skip to content

xfeatures2d_HarrisLaplaceFeatureDetector_create

xfeatures2dfunctionOpenCV 5.0.0
import { xfeatures2d_HarrisLaplaceFeatureDetector_create } from '@banou/opencv-wasm'

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

ARGUMENTSnumOctaves, corn_thresh, DOG_thresh, maxCorners
FUNCTIONxfeatures2d_HarrisLaplaceFeatureDetector_create
RETURN TYPExfeatures2d_HarrisLaplaceFeatureDetector | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Creates a new implementation instance.

xfeatures2d_HarrisLaplaceFeatureDetector_create(numOctaves: number, corn_thresh: number, DOG_thresh: number, maxCorners: number, num_layers: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
6 available overloads
xfeatures2d_HarrisLaplaceFeatureDetector_create(): xfeatures2d_HarrisLaplaceFeatureDetector | null;
xfeatures2d_HarrisLaplaceFeatureDetector_create(numOctaves: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
xfeatures2d_HarrisLaplaceFeatureDetector_create(numOctaves: number, corn_thresh: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
xfeatures2d_HarrisLaplaceFeatureDetector_create(numOctaves: number, corn_thresh: number, DOG_thresh: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
xfeatures2d_HarrisLaplaceFeatureDetector_create(numOctaves: number, corn_thresh: number, DOG_thresh: number, maxCorners: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
xfeatures2d_HarrisLaplaceFeatureDetector_create(numOctaves: number, corn_thresh: number, DOG_thresh: number, maxCorners: number, num_layers: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
numOctaves

the number of octaves in the scale-space pyramid

corn_thresh

the threshold for the Harris cornerness measure

DOG_thresh

the threshold for the Difference-of-Gaussians scale selection

maxCorners

the maximum number of corners to consider

num_layers

the number of intermediate scales per octave

Returns

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