xfeatures2d_KAZE
import { xfeatures2d_KAZE } 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 KAZE keypoint detector and descriptor extractor, described in [ABD12] .
Note: AKAZE descriptor can only be used with KAZE or AKAZE keypoints .. [ABD12] KAZE Features. Pablo F. Alcantarilla, Adrien Bartoli and Andrew J. Davison. In European Conference on Computer Vision (ECCV), Fiorenze, Italy, October 2012.
Constructors and members
static create
The KAZE constructor
create(extended: boolean, upright: boolean, threshold: number, nOctaves: number, nOctaveLayers: number, diffusivity: number): xfeatures2d_KAZE | null;7 available overloads
create(): xfeatures2d_KAZE | null;create(extended: boolean): xfeatures2d_KAZE | null;create(extended: boolean, upright: boolean): xfeatures2d_KAZE | null;create(extended: boolean, upright: boolean, threshold: number): xfeatures2d_KAZE | null;create(extended: boolean, upright: boolean, threshold: number, nOctaves: number): xfeatures2d_KAZE | null;create(extended: boolean, upright: boolean, threshold: number, nOctaves: number, nOctaveLayers: number): xfeatures2d_KAZE | null;create(extended: boolean, upright: boolean, threshold: number, nOctaves: number, nOctaveLayers: number, diffusivity: number): xfeatures2d_KAZE | null;extendedSet to enable extraction of extended (128-byte) descriptor.
uprightSet to enable use of upright descriptors (non rotation-invariant).
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
The xfeatures2d_KAZE | 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.
setExtended
Set the extended used by this xfeatures2d_KAZE object.
setExtended(extended: boolean): void;extendedextended argument (boolean).
getExtended
Return the extended configured on this xfeatures2d_KAZE object.
getExtended(): boolean;The boolean result.
setUpright
Set the upright used by this xfeatures2d_KAZE object.
setUpright(upright: boolean): void;uprightupright argument (boolean).
getUpright
Return the upright configured on this xfeatures2d_KAZE object.
getUpright(): boolean;The boolean result.
setThreshold
Set the threshold used by this xfeatures2d_KAZE object.
setThreshold(threshold: number): void;thresholdthreshold argument (number).
getThreshold
Return the threshold configured on this xfeatures2d_KAZE object.
getThreshold(): number;The number result.
setNOctaves
Set the noctaves used by this xfeatures2d_KAZE object.
setNOctaves(octaves: number): void;octavesoctaves argument (number).
getNOctaves
Return the noctaves configured on this xfeatures2d_KAZE object.
getNOctaves(): number;The number result.
setNOctaveLayers
Set the noctave layers used by this xfeatures2d_KAZE object.
setNOctaveLayers(octaveLayers: number): void;octaveLayersoctave layers argument (number).
getNOctaveLayers
Return the noctave layers configured on this xfeatures2d_KAZE object.
getNOctaveLayers(): number;The number result.
setDiffusivity
Set the diffusivity used by this xfeatures2d_KAZE object.
setDiffusivity(diff: number): void;diffdiff argument (number).
getDiffusivity
Return the diffusivity configured on this xfeatures2d_KAZE object.
getDiffusivity(): number;The number result.
getDefaultName
Return the default name configured on this xfeatures2d_KAZE 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.