Skip to content

xfeatures2d_AffineFeature2D

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

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

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

Class implementing affine adaptation for key points.

A FeatureDetector and a DescriptorExtractor are wrapped to augment the detected points with their affine invariant elliptic region and to compute the feature descriptors on the regions after warping them into circles.

The interface is equivalent to Feature2D, adding operations for Elliptic_KeyPoint "Elliptic_KeyPoints" instead of KeyPoint "KeyPoints".

Constructors and members

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.

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.