detail_MatchesInfo
import { detail_MatchesInfo } 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.
Structure containing information about matches between two images.
It's assumed that there is a transformation between those images. Transformation may be homography or affine transformation based on selected matcher.
See: detail::FeaturesMatcher
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.
src_img_idx
src img idx value for detail_MatchesInfo.
src_img_idx: number;dst_img_idx
Images indices (optional)
dst_img_idx: number;matches
Images indices (optional)
matches: DMatchVector;inliers_mask
Geometrically consistent matches mask
inliers_mask: ucharVector;num_inliers
Number of geometrically consistent matches
num_inliers: number;H
Estimated transformation
H: Mat;confidence
Confidence two images are from the same panorama
confidence: number;getMatches
Confidence two images are from the same panorama
getMatches(): DMatchVector;The DMatchVector result. Release returned native handles with using or delete(), including handles nested in results.
getInliers
Return the inliers configured on this detail_MatchesInfo object.
getInliers(): ucharVector;The ucharVector result. Release returned native handles with using or delete(), including handles nested in results.
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.