detail_FeaturesMatcher
import { detail_FeaturesMatcher } 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.
Feature matchers base class.
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;The this result.
apply
Performs images matching.
See: detail::MatchesInfo
apply(features1: detail_ImageFeatures, features2: detail_ImageFeatures, matches_info: detail_MatchesInfo): void;features1First image features
features2Second image features
matches_infoOutput destination, filled by the native operation. Found matches
apply2
Performs images matching.
See: detail::MatchesInfo
apply2(features: detail__ImageFeaturesVector, pairwise_matches: detail__MatchesInfoVector, mask: UMat): void;2 available overloads
apply2(features: detail__ImageFeaturesVector, pairwise_matches: detail__MatchesInfoVector): void;apply2(features: detail__ImageFeaturesVector, pairwise_matches: detail__MatchesInfoVector, mask: UMat): void;featuresFeatures of the source images
pairwise_matchesOutput destination, filled by the native operation. Found pairwise matches
maskMask indicating which image pairs must be matched
The function is parallelized with the TBB library.
isThreadSafe
Return whether the native matcher reports that its implementation supports concurrent use.
isThreadSafe(): boolean;True, if it's possible to use the same matcher instance in parallel, false otherwise
collectGarbage
Frees unused memory allocated before if there is any.
collectGarbage(): void;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.