Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image Spatial Transforms Maps » UndistortImage

UndistortImage


Removes lens distortion from an image. To be used with a GUI based on chessboard pattern recognition.

Header:AVL.h

Syntax

C++
C#
 
void avl::UndistortImage
(
	const avl::Image& inImage,
	const avl::SpatialMap& inUndistortionMap,
	atl::Optional<const avl::Region&> inMapRoi,
	avl::Image& outImage
)

Parameters

Name Type Default Description
inImage const Image& Input image
inUndistortionMap const SpatialMap& Definition of the transformation
inMapRoi Optional<const Region&> NIL Defines which elements of the spatial map are valid
outImage Image& Output image