Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Spatial Transforms Maps » UndistortImage_Deprecated
UndistortImage_Deprecated
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Calibration |
Removes lens distortion from an image. To be used with a GUI based on chessboard pattern recognition.
Syntax
void avl::UndistortImage_Deprecated ( 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 |
Description
The operation applies an arbitrary spatial transformation to an image using a SpatialMap object. The input image has to be compatible with the given map. You can check if a map is compatible with an image using TestSpatialMapApplicability.
Remarks
Read more about how to handle images from camera in Camera Calibration article.