Back to Aurora Vision Library website
You are here: Start » Function Reference » Computer Vision » Camera Calibration » CreateRectificationMap_Basic
CreateRectificationMap_Basic
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Calibration |
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.
Applications: Quick and easy one-step calibration for basic removal of lens and perspective distortions.
Syntax
C++
C#
void avl::CreateRectificationMap_Basic ( const avl::Image& inImage, float inCircleRadius, float inCircleDetectionThreshold, atl::Array<avl::AnnotatedPoint2D>& outImageGrid, avl::RectificationMap& outRectificationMap )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | const Image& | Input image | |||
inCircleRadius | float | 1.0 - | Circle radius measured in input image pixels. | ||
inCircleDetectionThreshold | float | 0.0 - | 20.0f | Detection threshold (relative to local image patch). | |
outImageGrid | Array<AnnotatedPoint2D>& | Detected grid, upon which the calibration will be based. | |||
outRectificationMap | RectificationMap& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | No grid detected in the input image |