Click or drag to resize
Accord.NET (logo)

QuadrilateralFinderProcessImage Method (BitmapData)

Find corners of quadrilateral/triangular area in the specified image.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public List<IntPoint> ProcessImage(
	BitmapData imageData
)
Request Example View Source

Parameters

imageData
Type: System.Drawing.ImagingBitmapData
Source image data to search quadrilateral for.

Return Value

Type: ListIntPoint
Returns a list of points, which are corners of the quadrilateral/triangular area found in the specified image. The first point in the list is the point with lowest X coordinate (and with lowest Y if there are several points with the same X value). Points are in clockwise order (screen coordinates system).
Exceptions
ExceptionCondition
UnsupportedImageFormatExceptionUnsupported pixel format of the source image.
See Also