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

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

Syntax

C#
public List<IntPoint> ProcessImage(
	UnmanagedImage image
)

Parameters

image
Type: AForge.Imaging..::.UnmanagedImage
Source image to search quadrilateral for.

Return Value

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
AForge.Imaging..::.UnsupportedImageFormatExceptionUnsupported pixel format of the source image.

See Also