Skip to content

xfeatures2d_BriefDescriptorExtractor

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

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

ARGUMENTSConstructor or factory
CLASSxfeatures2d_BriefDescriptorExtractor
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.

BRIEF Descriptor Class for computing BRIEF descriptors described in [calon2010] .

Constructors and members

static create

Create an owned xfeatures2d_BriefDescriptorExtractor instance with the supplied configuration.

BRIEF Descriptor Class for computing BRIEF descriptors described in [calon2010] .

create(bytes: number, use_orientation: boolean): xfeatures2d_BriefDescriptorExtractor | null;
3 available overloads
create(): xfeatures2d_BriefDescriptorExtractor | null;
create(bytes: number): xfeatures2d_BriefDescriptorExtractor | null;
create(bytes: number, use_orientation: boolean): xfeatures2d_BriefDescriptorExtractor | null;
bytes

bytes argument (number).

use_orientation

use orientation argument (boolean).

Returns

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

setDescriptorSize

Set the descriptor size used by this xfeatures2d_BriefDescriptorExtractor object.

setDescriptorSize(bytes: number): void;
bytes

bytes argument (number).

getDescriptorSize

Return the descriptor size configured on this xfeatures2d_BriefDescriptorExtractor object.

getDescriptorSize(): number;
Returns

The number result.

setUseOrientation

Set the use orientation used by this xfeatures2d_BriefDescriptorExtractor object.

setUseOrientation(use_orientation: boolean): void;
use_orientation

use orientation argument (boolean).

getUseOrientation

Return the use orientation configured on this xfeatures2d_BriefDescriptorExtractor object.

getUseOrientation(): boolean;
Returns

The boolean result.

getDefaultName

Return the default name configured on this xfeatures2d_BriefDescriptorExtractor 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.