CudaTemplateMatchingMatch Method |
http://www.emgu.com
This function is similiar to cvCalcBackProjectPatch. It slids through image, compares overlapped patches of size wxh with templ using the specified method and stores the comparison results to result
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic void Match(
IInputArray image,
IInputArray templ,
IOutputArray result,
Stream stream = null
)
Public Sub Match (
image As IInputArray,
templ As IInputArray,
result As IOutputArray,
Optional stream As Stream = Nothing
)
public:
void Match(
IInputArray^ image,
IInputArray^ templ,
IOutputArray^ result,
Stream^ stream = nullptr
)
member Match :
image : IInputArray *
templ : IInputArray *
result : IOutputArray *
?stream : Stream
(* Defaults:
let _stream = defaultArg stream null
*)
-> unit
Parameters
- image
- Type: Emgu.CVIInputArray
Image where the search is running. It should be 8-bit or 32-bit floating-point - templ
- Type: Emgu.CVIInputArray
Searched template; must be not greater than the source image and the same data type as the image - result
- Type: Emgu.CVIOutputArray
A map of comparison results; single-channel 32-bit floating-point. If image is WxH and templ is wxh then result must be W-w+1xH-h+1. - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also