You are here: Start » FIL.NET » Invoke.RectifyImage

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
inImageFil.ImageInput image.
inRectificationMapFil.RectificationMapThe spatial map with associated data for world coordinates calculation on rectified image. Designed to be set with calibration GUI.
outImageFil.ImageRemapped image.
outRectifiedTransformFtl.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.
outWorldOriginFtl.Optional<Fil.Point2D>Position of world origin on the rectified image.
outWorldScaleFtl.Optional<float>[pix / world unit] World scale of the rectified image.
outWorldScaleInvFtl.Optional<float>[world unit / pix] Inverse of outWorldScale. Connects directly to inResolution input of filters such as PointToPointDistance.

See also