You are here: Start » AVL.NET » AVS.CreatePerspectiveMap_Points Method

AVS.CreatePerspectiveMap_Points Method

Creates a perspective transform map from four points denoting a rectangle in the world coordinates.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreatePerspectiveMap_Points
(
	AvlNet.ImageFormat inImageFormat,
	NullableRef<AvlNet.Region> inRoi,
	IList<AvlNet.Point2D> inImagePoints,
	NullableRef<IList<AvlNet.Point2D>> inTargetPoints,
	AvlNet.Size? inNewSize,
	AvlNet.InterpolationMethod inInterpolationMethod,
	AvlNet.SpatialMap outSpatialMap,
	AvlNet.Matrix outTransformMatrix
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormat
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
inImagePointsSystem.Collections.Generic.IList<AvlNet.Point2D>Points define real object plane corners.
inTargetPointsAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Point2D>>Points define target plane corners. If NIL then image corners are used starting from (0,0) (Width, 0) (Width, Height), (0, Height). Default value: atl::NIL.
inNewSizeAvlNet.Size?New image size after remapping. Default value: atl::NIL.
inInterpolationMethodAvlNet.InterpolationMethodInterpolation method used in extraction of image pixel values.
outSpatialMapAvlNet.SpatialMapCreated SpatialMap with perspective transform.
outTransformMatrixAvlNet.MatrixUsed transform matrix.

Function Overrides

See also