Skip to content

xfeatures2d_SURF_create

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

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

ARGUMENTShessianThreshold, nOctaves, nOctaveLayers, extended
FUNCTIONxfeatures2d_SURF_create
RETURN TYPExfeatures2d_SURF | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create an owned xfeatures2d_SURF instance with the supplied configuration.

Class for extracting Speeded Up Robust Features from an image [Bay06] .

xfeatures2d_SURF_create(hessianThreshold: number, nOctaves: number, nOctaveLayers: number, extended: boolean, upright: boolean): xfeatures2d_SURF | null;
6 available overloads
xfeatures2d_SURF_create(): xfeatures2d_SURF | null;
xfeatures2d_SURF_create(hessianThreshold: number): xfeatures2d_SURF | null;
xfeatures2d_SURF_create(hessianThreshold: number, nOctaves: number): xfeatures2d_SURF | null;
xfeatures2d_SURF_create(hessianThreshold: number, nOctaves: number, nOctaveLayers: number): xfeatures2d_SURF | null;
xfeatures2d_SURF_create(hessianThreshold: number, nOctaves: number, nOctaveLayers: number, extended: boolean): xfeatures2d_SURF | null;
xfeatures2d_SURF_create(hessianThreshold: number, nOctaves: number, nOctaveLayers: number, extended: boolean, upright: boolean): xfeatures2d_SURF | null;
hessianThreshold

Threshold for hessian keypoint detector used in SURF.

nOctaves

Number of pyramid octaves the keypoint detector will use.

nOctaveLayers

Number of octave layers within each octave.

extended

Extended descriptor flag (true - use extended 128-element descriptors; false - use 64-element descriptors).

upright

Up-right or rotated features flag (true - do not compute orientation of features; false - compute orientation).

Returns

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