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

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

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,
	AvlNet.Vector2D inMapShift,
	float inRotateCameraY,
	float inRotateCameraX,
	AvlNet.ImageFormat inImageFormat,
	AvlNet.InterpolationMethod inInterpolationMethod,
	out AvlNet.SpatialMap outSpatialMap,
	out AvlNet.Region outOutputRegion
)

Parameters

inCameraMatrix
Type: AvlNet.Matrix
inDistortion
Type: AvlNet.LensDistortion
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
outOutputRegion
Type: AvlNet.Region

Remarks

See full override for more details.

See also