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,
	FilNet.Matrix outRectifiedTransform,
	out FilNet.Point2D outWorldOrigin,
	out float outWorldScale,
	out float outWorldScaleInv
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inRectificationMapFilNet.RectificationMapThe spatial map with associated data for world coordinates calculation on rectified image. Designed to be set with calibration GUI.
outImageFilNet.ImageRemapped image.
outRectifiedTransformFilNet.MatrixFor convenient calculation of world coordinates on rectified image. Connects directly to Image...ToWorldPlane and WorldPlane...ToImage filters. The transformation is only translation + scaling.
outWorldOriginFilNet.Point2DPosition of world origin on the rectified image.
outWorldScalefloat[pix / world unit] World scale of the rectified image.
outWorldScaleInvfloat[world unit / pix] Inverse of outWorldScale. Connects directly to inResolution input of filters such as PointToPointDistance.

Function Overrides

See also