Process images matching blocks between them.
Namespace:
AForge.ImagingAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
C# |
---|
public List<BlockMatch> ProcessImage( BitmapData sourceImageData, List<IntPoint> coordinates, BitmapData searchImageData ) |
Parameters
- sourceImageData
- Type: System.Drawing.Imaging..::.BitmapData
Source image with reference points.
- coordinates
- Type: System.Collections.Generic..::.List<(Of <(IntPoint>)>)
List of reference points to be matched.
- searchImageData
- Type: System.Drawing.Imaging..::.BitmapData
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(BitmapData, List<(Of <(IntPoint>)>), BitmapData)
Exceptions
Exception | Condition |
---|---|
AForge.Imaging..::.InvalidImagePropertiesException | Source and search images sizes must match. |
AForge.Imaging..::.UnsupportedImageFormatException | Source images can be grayscale (8 bpp indexed) or color (24 bpp) image only. |
System..::.ArgumentException | Source and search images must have same pixel format. |