You are here: Start » FIL.NET » Invoke.RectifyImage
Applies a spatial map to distorted image transforming it to rectified image defined in world coordinates.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void RectifyImage ( Fil.Image inImage, Fil.RectificationMap inRectificationMap, Fil.Image outImage, Optional<Fil.Matrix> outRectifiedTransform, Optional<Fil.Point2D> outWorldOrigin, Optional<float> outWorldScale, Optional<float> outWorldScaleInv )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inRectificationMap | Fil.RectificationMap | The spatial map with associated data for world coordinates calculation on rectified image. Designed to be set with calibration GUI. | ||
![]() | outImage | Fil.Image | Remapped image. | ||
![]() | outRectifiedTransform | Ftl.Optional<Fil.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 | Ftl.Optional<Fil.Point2D> | Position of world origin on the rectified image. | ||
![]() | outWorldScale | Ftl.Optional<float> | [pix / world unit] World scale of the rectified image. | ||
![]() | outWorldScaleInv | Ftl.Optional<float> | [world unit / pix] Inverse of outWorldScale. Connects directly to inResolution input of filters such as PointToPointDistance. |