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, NullableRef<AvlNet.Matrix> outRectifiedTransform, NullableValue<AvlNet.Point2D> outWorldOrigin, NullableValue<float> outWorldScale, NullableValue<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.NullableRef<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. Can be null to skip this parameter calculation. | |||
outWorldOrigin | AvlNet.NullableValue<AvlNet.Point2D> | Position of world origin on the rectified image. Can be null to skip this parameter calculation. | |||
outWorldScale | AvlNet.NullableValue<float> | [pix / world unit] World scale of the rectified image. Can be null to skip this parameter calculation. | |||
outWorldScaleInv | AvlNet.NullableValue<float> | [world unit / pix] Inverse of outWorldScale. Connects directly to inResolution input of filters such as PointToPointDistance. Can be null to skip this parameter calculation. |
Function Overrides
- RectifyImage(Image, RectificationMap, Image)
- RectifyImage(Image, RectificationMap, Image, Matrix, Point2D, Single, Single)