You are here: Start » AVL.NET » Invoke.CreatePerspectiveMap_Points

Invoke.CreatePerspectiveMap_Points

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreatePerspectiveMap_Points
(
	Avl.ImageFormat inImageFormat,
	Optional<Avl.Region> inRoi,
	List<Avl.Point2D> inImagePoints,
	Optional<List<Avl.Point2D>> inTargetPoints,
	Optional<Avl.Size> inNewSize,
	Avl.InterpolationMethod inInterpolationMethod,
	Avl.SpatialMap outSpatialMap,
	Avl.Matrix outTransformMatrix
)

Parameters

Name Type Range Default Description
inImageFormatAvl.ImageFormat
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
inImagePointsSystem.Collections.Generic.List<Avl.Point2D>Points define real object plane corners.
inTargetPointsAtl.Optional<System.Collections.Generic.List<Avl.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.
inNewSizeAtl.Optional<Avl.Size>New image size after remapping. Default value: atl::NIL.
inInterpolationMethodAvl.InterpolationMethodInterpolation method used in extraction of image pixel values.
outSpatialMapAvl.SpatialMapCreated SpatialMap with perspective transform.
outTransformMatrixAvl.MatrixUsed transform matrix.

See also