You are here: Start » FIL.NET » FIS.RectifyImage Method
FIS.RectifyImage Method
Applies a spatial map to distorted image transforming it to rectified image defined in world coordinates.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void RectifyImage ( FilNet.Image inImage, FilNet.RectificationMap inRectificationMap, FilNet.Image outImage, NullableRef<FilNet.Matrix> outRectifiedTransform, NullableValue<FilNet.Point2D> outWorldOrigin, NullableValue<float> outWorldScale, NullableValue<float> outWorldScaleInv )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRectificationMap | FilNet.RectificationMap | The spatial map with associated data for world coordinates calculation on rectified image. Designed to be set with calibration GUI. | ||
![]() | outImage | FilNet.Image | Remapped image. | ||
![]() | outRectifiedTransform | FilNet.NullableRef<FilNet.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 | FilNet.NullableValue<FilNet.Point2D> | Position of world origin on the rectified image. Can be null to skip this parameter calculation. | ||
![]() | outWorldScale | FilNet.NullableValue<float> | [pix / world unit] World scale of the rectified image. Can be null to skip this parameter calculation. | ||
![]() | outWorldScaleInv | FilNet.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)