Skip to content

xfeatures2d_matchLOGOS

xfeatures2dfunctionOpenCV 5.0.0
import { xfeatures2d_matchLOGOS } from '@banou/opencv-wasm'

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

ARGUMENTSkeypoints1, keypoints2, nn1, nn2
FUNCTIONxfeatures2d_matchLOGOS
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

LOGOS (Local geometric support for high-outlier spatial verification) feature matching strategy described in [Lowry2018LOGOSLG] .

Note: This matching strategy is suitable for features matching against large scale database. First step consists in constructing the bag-of-words (BoW) from a representative image database. Image descriptors are then represented by their closest codevector (nearest BoW centroid).

xfeatures2d_matchLOGOS(keypoints1: KeyPointVector, keypoints2: KeyPointVector, nn1: IntVector, nn2: IntVector, matches1to2: DMatchVector): void;
keypoints1

Input keypoints of image1.

keypoints2

Input keypoints of image2.

nn1

Index to the closest BoW centroid for each descriptors of image1.

nn2

Index to the closest BoW centroid for each descriptors of image2.

matches1to2

Output destination, filled by the native operation. Matches returned by the LOGOS matching strategy.

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.