Find corners of quadrilateral/triangular area in the specified image.
Namespace:
AForge.ImagingAssembly: 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
Exception | Condition |
---|---|
AForge.Imaging..::.UnsupportedImageFormatException | Unsupported pixel format of the source image. |