xfeatures2d_AgastFeatureDetector
import { xfeatures2d_AgastFeatureDetector } 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.
Wrapping class for feature detection using the AGAST method. :
Constructors and members
static create
Create an owned xfeatures2d_AgastFeatureDetector instance with the supplied configuration.
Wrapping class for feature detection using the AGAST method. :
create(threshold: number, nonmaxSuppression: boolean, type_: number): xfeatures2d_AgastFeatureDetector | null;4 available overloads
create(): xfeatures2d_AgastFeatureDetector | null;create(threshold: number): xfeatures2d_AgastFeatureDetector | null;create(threshold: number, nonmaxSuppression: boolean): xfeatures2d_AgastFeatureDetector | null;create(threshold: number, nonmaxSuppression: boolean, type_: number): xfeatures2d_AgastFeatureDetector | null;thresholdthreshold argument (number).
nonmaxSuppressionnonmax suppression argument (boolean).
type_type argument (number).
The xfeatures2d_AgastFeatureDetector | 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.
setThreshold
Set the threshold used by this xfeatures2d_AgastFeatureDetector object.
setThreshold(threshold: number): void;thresholdthreshold argument (number).
getThreshold
Return the threshold configured on this xfeatures2d_AgastFeatureDetector object.
getThreshold(): number;The number result.
setNonmaxSuppression
Set the nonmax suppression used by this xfeatures2d_AgastFeatureDetector object.
setNonmaxSuppression(f: boolean): void;ff argument (boolean).
getNonmaxSuppression
Return the nonmax suppression configured on this xfeatures2d_AgastFeatureDetector object.
getNonmaxSuppression(): boolean;The boolean result.
setType
Set the type used by this xfeatures2d_AgastFeatureDetector object.
setType(type_: number): void;type_type argument (number).
getType
Return the type configured on this xfeatures2d_AgastFeatureDetector object.
getType(): number;The number result.
getDefaultName
Return the default name configured on this xfeatures2d_AgastFeatureDetector 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.