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

AVS.CreateRectificationMap_PixelUnits Method

Computes a spatial map for transforming distorted images to rectified images defined in world coordinate plane. Defines the output geometry in pixels.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateRectificationMap_PixelUnits
(
	AvlNet.ImageFormat inImageFormat,
	AvlNet.Point2D? inCenterPoint,
	int? inOutputWidth,
	int? inOutputHeight,
	float? inWorldScale,
	bool inInvertedWorldY,
	AvlNet.InterpolationMethod inInterpolationMethod,
	AvlNet.RectificationTransform inTransform,
	AvlNet.RectificationMap outRectificationMap
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormatInput image format.
inCenterPointAvlNet.Point2D?Specifies a point which will be the center of output image. Defaults to the center of input image. Default value: atl::NIL.
inOutputWidthint?<1, INF>Specifies the pixel size of output image. Defaults to the size of input image. Default value: atl::NIL.
inOutputHeightint?<1, INF>Specifies the pixel size of output image. Defaults to the size of input image. Default value: atl::NIL.
inWorldScalefloat?<0.001f, INF>[pix / world unit] Specifies the scale for output image. By default scale is calculated such that there will be no rescaling at the inCenterPoint. 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