You are here: Start » AVL.NET » AVL.CalibrateCameraFromImages_CustomCircleGrid
Returns a spatial map with undistortion map.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CalibrateCameraFromImages_CustomCircleGrid ( AvlNet.Image[] inImages, int inPatternWidth, int inPatternHeight, bool inSymmetricPattern, int inCellWidth, bool inUseClustering, out AvlNet.SpatialMap outSpatialMap, out float? outError )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImages | AvlNet.Image[] | Images with calibration boards. | ||
![]() | inPatternWidth | int | |||
![]() | inPatternHeight | int | |||
![]() | inSymmetricPattern | bool | Is grid symmetrical. | ||
![]() | inCellWidth | int | |||
![]() | inUseClustering | bool | |||
![]() | outSpatialMap | AvlNet.SpatialMap | Output spatial map. | ||
![]() | outError | float? |
Errors
Error type | Description |
---|---|
DomainError | Empty image set |
DomainError | inCellWidth must be non-zero in CalibrateCameraFromImages_CustomCircleGrid. |
DomainError | inImage must have pixels of UInt8 type in cvFindCirclesGrid. |
DomainError | Empty image in cvFindCirclesGrid. |
DomainError | Pattern grid not found in CalibrateCameraFromImages_CustomCircleGrid. |