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

AVS.CreateRectificationMap_Advanced Method

Computes a spatial map for transforming distorted images to rectified images defined in world coordinate plane. Allows for flexible definition of output geometry.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateRectificationMap_Advanced
(
	AvlNet.ImageFormat inImageFormat,
	AvlNet.CreateSpatialMapUnit inCenterPointType,
	AvlNet.CreateSpatialMapUnit inOutputSizeType,
	float? inOutputWidth,
	float? inOutputHeight,
	bool inInvertedWorldY,
	AvlNet.InterpolationMethod inInterpolationMethod,
	AvlNet.RectificationTransform inTransform,
	AvlNet.RectificationMap outRectificationMap
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormatInput image format.
inCenterPointTypeAvlNet.CreateSpatialMapUnitPixelsSpecifies units of measurement of inCenterPoint. Default value: Pixels.
inOutputSizeTypeAvlNet.CreateSpatialMapUnitPixelsSpecifies units of measurement of inOutputWidth and inOutputHeight. Default value: Pixels.
inOutputWidthfloat?<0.001f, INF>Specifies the size of output image. Depending on inOutputSizeType it can be either defined in pixels or world units. Defaults to the size of input image. Default value: atl::NIL.
inOutputHeightfloat?<0.001f, INF>Specifies the size of output image. Depending on inOutputSizeType it can be either defined in pixels or world units. Defaults to the size of input image. Default value: atl::NIL.
inInvertedWorldYboolFalseSet to true if world coordinate system has right-handed orientation, also known as mathematical or standard. This effectively mirrors the rectified image vertically. Default value: False.
inInterpolationMethodAvlNet.InterpolationMethodBilinearDefault value: Bilinear.
inTransformAvlNet.RectificationTransformTransform's camera model is needed for undistortion of image, when not supplied the generated map will assume undistorted image on input. Transform's homography is needed for transforming to given world plane, when not supplied the generated map will only remove distortion of image.
outRectificationMapAvlNet.RectificationMap

Function Overrides

See also