Process images matching blocks between them.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public List<BlockMatch> ProcessImage(
	UnmanagedImage sourceImage,
	List<IntPoint> coordinates,
	UnmanagedImage searchImage
)

Parameters

sourceImage
Type: AForge.Imaging..::.UnmanagedImage
Source unmanaged image with reference points.
coordinates
Type: System.Collections.Generic..::.List<(Of <(IntPoint>)>)
List of reference points to be matched.
searchImage
Type: AForge.Imaging..::.UnmanagedImage
Unmanaged image in which the reference points will be looked for.

Return Value

Returns list of found block matches. The list is sorted by similarity of found matches in descending order.

Implements

IBlockMatching..::.ProcessImage(UnmanagedImage, List<(Of <(IntPoint>)>), UnmanagedImage)

Exceptions

ExceptionCondition
AForge.Imaging..::.InvalidImagePropertiesExceptionSource and search images sizes must match.
AForge.Imaging..::.UnsupportedImageFormatExceptionSource images can be grayscale (8 bpp indexed) or color (24 bpp) image only.
System..::.ArgumentExceptionSource and search images must have same pixel format.

See Also