Click or drag to resize
Accord.NET (logo)

ExhaustiveTemplateMatchingProcessImage Method (Bitmap, Bitmap)

Process image looking for matchings with specified template.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public TemplateMatch[] ProcessImage(
	Bitmap image,
	Bitmap template
)
Request Example View Source

Parameters

image
Type: System.DrawingBitmap
Source image to process.
template
Type: System.DrawingBitmap
Template image to search for.

Return Value

Type: TemplateMatch
Returns array of found template matches. The array is sorted by similarity of found matches in descending order.
Exceptions
ExceptionCondition
UnsupportedImageFormatExceptionThe source image has incorrect pixel format.
InvalidImagePropertiesExceptionTemplate image is bigger than source image.
See Also