xfeatures2d_StarDetector
import { xfeatures2d_StarDetector } 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.
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;maxSizemax size argument (number).
responseThresholdresponse threshold argument (number).
lineThresholdProjectedline threshold projected argument (number).
lineThresholdBinarizedline threshold binarized argument (number).
suppressNonmaxSizesuppress nonmax size argument (number).
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;The this result.
setMaxSize
Set the max size used by this xfeatures2d_StarDetector object.
setMaxSize(_maxSize: number): void;_maxSizemax size argument (number).
getMaxSize
Return the max size configured on this xfeatures2d_StarDetector object.
getMaxSize(): number;The number result.
setResponseThreshold
Set the response threshold used by this xfeatures2d_StarDetector object.
setResponseThreshold(_responseThreshold: number): void;_responseThresholdresponse threshold argument (number).
getResponseThreshold
Return the response threshold configured on this xfeatures2d_StarDetector object.
getResponseThreshold(): number;The number result.
setLineThresholdProjected
Set the line threshold projected used by this xfeatures2d_StarDetector object.
setLineThresholdProjected(_lineThresholdProjected: number): void;_lineThresholdProjectedline threshold projected argument (number).
getLineThresholdProjected
Return the line threshold projected configured on this xfeatures2d_StarDetector object.
getLineThresholdProjected(): number;The number result.
setLineThresholdBinarized
Set the line threshold binarized used by this xfeatures2d_StarDetector object.
setLineThresholdBinarized(_lineThresholdBinarized: number): void;_lineThresholdBinarizedline threshold binarized argument (number).
getLineThresholdBinarized
Return the line threshold binarized configured on this xfeatures2d_StarDetector object.
getLineThresholdBinarized(): number;The number result.
setSuppressNonmaxSize
Set the suppress nonmax size used by this xfeatures2d_StarDetector object.
setSuppressNonmaxSize(_suppressNonmaxSize: number): void;_suppressNonmaxSizesuppress nonmax size argument (number).
getSuppressNonmaxSize
Return the suppress nonmax size configured on this xfeatures2d_StarDetector object.
getSuppressNonmaxSize(): number;The number result.
getDefaultName
Return the default name configured on this xfeatures2d_StarDetector 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.