xfeatures2d_SURF_create
import { xfeatures2d_SURF_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
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;hessianThresholdThreshold for hessian keypoint detector used in SURF.
nOctavesNumber of pyramid octaves the keypoint detector will use.
nOctaveLayersNumber of octave layers within each octave.
extendedExtended descriptor flag (true - use extended 128-element descriptors; false - use 64-element descriptors).
uprightUp-right or rotated features flag (true - do not compute orientation of features; false - compute orientation).
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.