xfeatures2d_HarrisLaplaceFeatureDetector
import { xfeatures2d_HarrisLaplaceFeatureDetector } 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 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;numOctavesthe number of octaves in the scale-space pyramid
corn_threshthe threshold for the Harris cornerness measure
DOG_threshthe threshold for the Difference-of-Gaussians scale selection
maxCornersthe maximum number of corners to consider
num_layersthe number of intermediate scales per octave
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;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;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;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;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;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;The number result.
getDefaultName
Return the default name configured on this xfeatures2d_HarrisLaplaceFeatureDetector object.
getDefaultName(): string;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.