DescriptorMatcherKnnMatchAsync Method (IInputArray, IOutputArray, Int32, VectorOfGpuMat, 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.1.3497 (4.1.1.3497)
Syntaxpublic void KnnMatchAsync(
IInputArray queryDescriptors,
IOutputArray matches,
int k,
VectorOfGpuMat masks = null,
Stream stream = null
)
Public Sub KnnMatchAsync (
queryDescriptors As IInputArray,
matches As IOutputArray,
k As Integer,
Optional masks As VectorOfGpuMat = Nothing,
Optional stream As Stream = Nothing
)
public:
void KnnMatchAsync(
IInputArray^ queryDescriptors,
IOutputArray^ matches,
int k,
VectorOfGpuMat^ masks = nullptr,
Stream^ stream = nullptr
)
member KnnMatchAsync :
queryDescriptors : IInputArray *
matches : IOutputArray *
k : int *
?masks : VectorOfGpuMat *
?stream : Stream
(* Defaults:
let _masks = defaultArg masks null
let _stream = defaultArg stream null
*)
-> unit
Parameters
- queryDescriptors
- Type: Emgu.CVIInputArray
Query set of descriptors. - 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. - masks (Optional)
- Type: Emgu.CV.CudaVectorOfGpuMat
Mask specifying permissible matches between an input query and train matrices of descriptors. - stream (Optional)
- Type: Emgu.CV.CudaStream
CUDA stream.
See Also