Skip to content

xfeatures2d_StarDetector

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

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

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

The class implements the keypoint detector introduced by [Agrawal08], synonym of StarDetector. :

Constructors and members

static create

the full constructor

create(maxSize: number, responseThreshold: number, lineThresholdProjected: number, lineThresholdBinarized: number, suppressNonmaxSize: number): xfeatures2d_StarDetector | null;
6 available overloads
create(): xfeatures2d_StarDetector | null;
create(maxSize: number): xfeatures2d_StarDetector | null;
create(maxSize: number, responseThreshold: number): xfeatures2d_StarDetector | null;
create(maxSize: number, responseThreshold: number, lineThresholdProjected: number): xfeatures2d_StarDetector | null;
create(maxSize: number, responseThreshold: number, lineThresholdProjected: number, lineThresholdBinarized: number): xfeatures2d_StarDetector | null;
create(maxSize: number, responseThreshold: number, lineThresholdProjected: number, lineThresholdBinarized: number, suppressNonmaxSize: number): xfeatures2d_StarDetector | null;
maxSize

max size argument (number).

responseThreshold

response threshold argument (number).

lineThresholdProjected

line threshold projected argument (number).

lineThresholdBinarized

line threshold binarized argument (number).

suppressNonmaxSize

suppress nonmax size argument (number).

Returns

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

setMaxSize

Set the max size used by this xfeatures2d_StarDetector object.

setMaxSize(_maxSize: number): void;
_maxSize

max size argument (number).

getMaxSize

Return the max size configured on this xfeatures2d_StarDetector object.

getMaxSize(): number;
Returns

The number result.

setResponseThreshold

Set the response threshold used by this xfeatures2d_StarDetector object.

setResponseThreshold(_responseThreshold: number): void;
_responseThreshold

response threshold argument (number).

getResponseThreshold

Return the response threshold configured on this xfeatures2d_StarDetector object.

getResponseThreshold(): number;
Returns

The number result.

setLineThresholdProjected

Set the line threshold projected used by this xfeatures2d_StarDetector object.

setLineThresholdProjected(_lineThresholdProjected: number): void;
_lineThresholdProjected

line threshold projected argument (number).

getLineThresholdProjected

Return the line threshold projected configured on this xfeatures2d_StarDetector object.

getLineThresholdProjected(): number;
Returns

The number result.

setLineThresholdBinarized

Set the line threshold binarized used by this xfeatures2d_StarDetector object.

setLineThresholdBinarized(_lineThresholdBinarized: number): void;
_lineThresholdBinarized

line threshold binarized argument (number).

getLineThresholdBinarized

Return the line threshold binarized configured on this xfeatures2d_StarDetector object.

getLineThresholdBinarized(): number;
Returns

The number result.

setSuppressNonmaxSize

Set the suppress nonmax size used by this xfeatures2d_StarDetector object.

setSuppressNonmaxSize(_suppressNonmaxSize: number): void;
_suppressNonmaxSize

suppress nonmax size argument (number).

getSuppressNonmaxSize

Return the suppress nonmax size configured on this xfeatures2d_StarDetector object.

getSuppressNonmaxSize(): number;
Returns

The number result.

getDefaultName

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