Skip to content

xfeatures2d_HarrisLaplaceFeatureDetector

xfeatures2dclassOpenCV 5.0.0
import { xfeatures2d_HarrisLaplaceFeatureDetector } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSxfeatures2d_HarrisLaplaceFeatureDetector
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits xfeatures2d_Feature2D.

Class implementing the Harris-Laplace feature detector as described in [Mikolajczyk2004].

Constructors and members

static create

Creates a new implementation instance.

create(numOctaves: number, corn_thresh: number, DOG_thresh: number, maxCorners: number, num_layers: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
6 available overloads
create(): xfeatures2d_HarrisLaplaceFeatureDetector | null;
create(numOctaves: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
create(numOctaves: number, corn_thresh: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
create(numOctaves: number, corn_thresh: number, DOG_thresh: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
create(numOctaves: number, corn_thresh: number, DOG_thresh: number, maxCorners: number): xfeatures2d_HarrisLaplaceFeatureDetector | null;
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.

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;
Returns

The this result.

setNumOctaves

Set the num octaves used by this xfeatures2d_HarrisLaplaceFeatureDetector object.

setNumOctaves(numOctaves_: number): void;
numOctaves_

num octaves argument (number).

getNumOctaves

Return the num octaves configured on this xfeatures2d_HarrisLaplaceFeatureDetector object.

getNumOctaves(): number;
Returns

The number result.

setCornThresh

Set the corn thresh used by this xfeatures2d_HarrisLaplaceFeatureDetector object.

setCornThresh(corn_thresh_: number): void;
corn_thresh_

corn thresh argument (number).

getCornThresh

Return the corn thresh configured on this xfeatures2d_HarrisLaplaceFeatureDetector object.

getCornThresh(): number;
Returns

The number result.

setDOGThresh

Set the dogthresh used by this xfeatures2d_HarrisLaplaceFeatureDetector object.

setDOGThresh(DOG_thresh_: number): void;
DOG_thresh_

dog thresh argument (number).

getDOGThresh

Return the dogthresh configured on this xfeatures2d_HarrisLaplaceFeatureDetector object.

getDOGThresh(): number;
Returns

The number result.

setMaxCorners

Set the max corners used by this xfeatures2d_HarrisLaplaceFeatureDetector object.

setMaxCorners(maxCorners_: number): void;
maxCorners_

max corners argument (number).

getMaxCorners

Return the max corners configured on this xfeatures2d_HarrisLaplaceFeatureDetector object.

getMaxCorners(): number;
Returns

The number result.

setNumLayers

Set the num layers used by this xfeatures2d_HarrisLaplaceFeatureDetector object.

setNumLayers(num_layers_: number): void;
num_layers_

num layers argument (number).

getNumLayers

Return the num layers configured on this xfeatures2d_HarrisLaplaceFeatureDetector object.

getNumLayers(): number;
Returns

The number result.

getDefaultName

Return the default name configured on this xfeatures2d_HarrisLaplaceFeatureDetector object.

getDefaultName(): string;
Returns

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