You are here: Start » AVL.NET » Function Reference » Computer Vision » Camera Calibration » AVL.CreateRectificationMap_Basic
Computes a spatial map for removing lens and perspective distortion directly from an image containing circles calibration pattern. Internally uses a pinhole camera model with polynomial lens distortion.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateRectificationMap_Basic ( AvlNet.Image inImage, float inCircleRadius, float inCircleDetectionThreshold, IList<AvlNet.AnnotatedPoint2D> outImageGrid, AvlNet.RectificationMap outRectificationMap )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inCircleRadius | float | <1.0f, INF> | Circle radius measured in input image pixels. | ||
inCircleDetectionThreshold | float | <0.0f, INF> | 20.0f | Detection threshold (relative to local image patch). Default value: 20.0f. | |
outImageGrid | System.Collections.Generic.IList<AvlNet.AnnotatedPoint2D> | Detected grid, upon which the calibration will be based. | |||
outRectificationMap | AvlNet.RectificationMap |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | No grid detected in the input image |