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.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: (


public void Match(
	GpuImage<TColor, TDepth> image,
	GpuImage<TColor, TDepth> templ,
	GpuImage<Gray, float> result,
	Stream stream
Visual Basic
Public Sub Match ( 
	image As GpuImage(Of TColor, TDepth),
	templ As GpuImage(Of TColor, TDepth),
	result As GpuImage(Of Gray, Single),
	stream As Stream
Visual C++
void Match(
	GpuImage<TColor, TDepth>^ image, 
	GpuImage<TColor, TDepth>^ templ, 
	GpuImage<Gray, float>^ result, 
	Stream^ stream
member Match : 
        image : GpuImage<'TColor, 'TDepth> * 
        templ : GpuImage<'TColor, 'TDepth> * 
        result : GpuImage<Gray, float32> * 
        stream : Stream -> unit 


Type: Emgu.CV.GPU..::..GpuImage<(Of <(<'TColor, TDepth>)>)>
Image where the search is running. It should be 8-bit or 32-bit floating-point
Type: Emgu.CV.GPU..::..GpuImage<(Of <(<'TColor, TDepth>)>)>
Searched template; must be not greater than the source image and the same data type as the image
Type: Emgu.CV.GPU..::..GpuImage<(Of <(<'Gray, Single>)>)>
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.
Type: Emgu.CV.GPU..::..Stream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).

See Also