DescriptorMatcherKnnMatchAsync Method (IInputArray, IInputArray, IOutputArray, Int32, IInputArray, Stream) |
http://www.emgu.com
Finds the k best matches for each descriptor from a query set (asynchronous version).
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic void KnnMatchAsync(
IInputArray queryDescriptors,
IInputArray trainDescriptors,
IOutputArray matches,
int k,
IInputArray mask = null,
Stream stream = null
)
Public Sub KnnMatchAsync (
queryDescriptors As IInputArray,
trainDescriptors As IInputArray,
matches As IOutputArray,
k As Integer,
Optional mask As IInputArray = Nothing,
Optional stream As Stream = Nothing
)
public:
void KnnMatchAsync(
IInputArray^ queryDescriptors,
IInputArray^ trainDescriptors,
IOutputArray^ matches,
int k,
IInputArray^ mask = nullptr,
Stream^ stream = nullptr
)
member KnnMatchAsync :
queryDescriptors : IInputArray *
trainDescriptors : IInputArray *
matches : IOutputArray *
k : int *
?mask : IInputArray *
?stream : Stream
(* Defaults:
let _mask = defaultArg mask null
let _stream = defaultArg stream null
*)
-> unit
Parameters
- queryDescriptors
- Type: Emgu.CVIInputArray
Query set of descriptors. - trainDescriptors
- Type: Emgu.CVIInputArray
Train set of descriptors. This set is not added to the train descriptors collection stored in the class object. - matches
- Type: Emgu.CVIOutputArray
Matches array stored in GPU memory. Internal representation is not defined. Use DescriptorMatcher::knnMatchConvert method to retrieve results in standard representation. - k
- Type: SystemInt32
Count of best matches found per each query descriptor or less if a query descriptor has less than k possible matches in total. - mask (Optional)
- Type: Emgu.CVIInputArray
Mask specifying permissible matches between an input query and train matrices of descriptors. - stream (Optional)
- Type: Emgu.CV.CudaStream
CUDA stream.
See Also