You are here: Start » AVL.NET » AVL.CreateUndistortionMap(AvlNet.Matrix, AvlNet.LensDistortion, int?, int?, AvlNet.Vector2D, float, float, AvlNet.ImageFormat, AvlNet.InterpolationMethod, AvlNet.SpatialMap)

AVL.CreateUndistortionMap(AvlNet.Matrix, AvlNet.LensDistortion, int?, int?, AvlNet.Vector2D, float, float, AvlNet.ImageFormat, AvlNet.InterpolationMethod, AvlNet.SpatialMap)

Computes a spatial transform map for undistorting images from a calibrated camera.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateUndistortionMap(
	AvlNet.Matrix inCameraMatrix,
	AvlNet.LensDistortion inDistortion,
	int? inMapWidth,
	int? inMapHeight,
	AvlNet.Vector2D inMapShift,
	float inRotateCameraY,
	float inRotateCameraX,
	AvlNet.ImageFormat inImageFormat,
	AvlNet.InterpolationMethod inInterpolationMethod,
	out AvlNet.SpatialMap outSpatialMap
)

Parameters

inCameraMatrix
Type: AvlNet.Matrix
inDistortion
Type: AvlNet.LensDistortion
inMapWidth
Type: System.Nullable<System.Int32>
Width of output map, default: same as example image, or null.
inMapHeight
Type: System.Nullable<System.Int32>
Height of output map, default: same as example image, or null.
inMapShift
Type: AvlNet.Vector2D
Translation from the principal point on the image plane.
inRotateCameraY
Type: System.Single
Rotation of view around Y axis (a.k.a. Pan, Azimuth or Yaw)
inRotateCameraX
Type: System.Single
Rotation of view around X axis (a.k.a. Tilt, Elevation or Pitch)
inImageFormat
Type: AvlNet.ImageFormat
Information about dimensions, depth and pixel type of the image
inInterpolationMethod
Type: AvlNet.InterpolationMethod
outSpatialMap
Type: AvlNet.SpatialMap

Remarks

See full override for more details.

See also