BFMatcher class

BFMatcher is a wrapper around the cv::BFMatcher.

Inheritance
Available extensions

Constructors

BFMatcher.create({int type = NORM_L2, bool crossCheck = false})
Brute-force matcher create method.
factory
BFMatcher.empty()
returns a new BFMatcher algorithm
factory
BFMatcher.fromPointer(BFMatcherPtr ptr, [bool attach = true])
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDisposed → bool
Whether this object has been disposed.
no setterinherited
props → List<Object?>
no setterinherited
ptr ↔ Pointer<BFMatcher>
getter/setter pairinherited
ref → BFMatcher
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases the underlying native resources. Idempotent: calling it more than once is safe, but the object must not be used after dispose.
inherited
freeNative() → void
Frees the native resources owned by this object. Subclasses implement the concrete free logic here; callers must use dispose instead.
override
knnMatch(Mat query, Mat train, int k) → VecVecDMatch
KnnMatch Finds the k best matches for each descriptor from a query set.
knnMatchAsync(Mat query, Mat train, int k) → Future<VecVecDMatch>

Available on BFMatcher, provided by the BFMatcherAsync extension

KnnMatch Finds the k best matches for each descriptor from a query set.
match(Mat query, Mat train) → VecDMatch
Match Finds the best match for each descriptor from a query set.
matchAsync(Mat query, Mat train) → Future<VecDMatch>

Available on BFMatcher, provided by the BFMatcherAsync extension

Match Finds the best match for each descriptor from a query set.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

finalizer → NativeFinalizer
final