Initializes a new instance of the QuadrilateralTransformationNearestNeighbor class.

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

Syntax

C#
public QuadrilateralTransformationNearestNeighbor(
	List<IntPoint> sourceCorners,
	int newWidth,
	int newHeight
)

Parameters

sourceCorners
Type: System.Collections.Generic..::.List<(Of <(IntPoint>)>)
Corners of the source quadrilateral area.
newWidth
Type: System..::.Int32
Width of the new transformed image.
newHeight
Type: System..::.Int32
Height of the new transformed image.

Remarks

This constructor sets AutomaticSizeCalculaton to falseFalsefalsefalse (False in Visual Basic), which means that destination image will have width and height as specified by user.

See Also