You are here: Start » AVL.NET » AVS.RectifyImage Method
AVS.RectifyImage Method
Applies a spatial map to distorted image transforming it to rectified image defined in world coordinates.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void RectifyImage ( AvlNet.Image inImage, AvlNet.RectificationMap inRectificationMap, AvlNet.Image outImage, AvlNet.Matrix outRectifiedTransform, out AvlNet.Point2D outWorldOrigin, out float outWorldScale, out float outWorldScaleInv )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRectificationMap | AvlNet.RectificationMap | The spatial map with associated data for world coordinates calculation on rectified image. Designed to be set with calibration GUI. | |||
outImage | AvlNet.Image | Remapped image. | |||
outRectifiedTransform | AvlNet.Matrix | For convenient calculation of world coordinates on rectified image. Connects directly to Image...ToWorldPlane and WorldPlane...ToImage filters. The transformation is only translation + scaling. | |||
outWorldOrigin | AvlNet.Point2D | Position of world origin on the rectified image. | |||
outWorldScale | float | [pix / world unit] World scale of the rectified image. | |||
outWorldScaleInv | float | [world unit / pix] Inverse of outWorldScale. Connects directly to inResolution input of filters such as PointToPointDistance. |
Function Overrides
- RectifyImage(Image, RectificationMap, Image)
- RectifyImage(Image, RectificationMap, Image, NullableRef<Matrix>, NullableValue<Point2D>, NullableValue<Single>, NullableValue<Single>)