You are here: Start » AVL.NET » AVS.CalibrateCamera_Pinhole Method
AVS.CalibrateCamera_Pinhole Method
Finds the camera intrinsic parameters from calibration grids. Uses pinhole camera model (perspective camera).
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CalibrateCamera_Pinhole ( IList<IList<AvlNet.AnnotatedPoint2D>> inImageGrids, int inImageWidth, int inImageHeight, AvlNet.LensDistortionModelType inDistortionType, float inImagePointsStandardDeviation, float? inFocalLength, AvlNet.PinholeCameraModel outCameraModel )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImageGrids | System.Collections.Generic.IList<System.Collections.Generic.IList<AvlNet.AnnotatedPoint2D>> | For each view, the annotated calibration grid. | |||
inImageWidth | int | <1, INF> | Image width, used for initial estimation of principal point. | ||
inImageHeight | int | <1, INF> | Image height, used for initial estimation of principal point. | ||
inDistortionType | AvlNet.LensDistortionModelType | Polynomial | Lens distortion model. Default value: Polynomial. | ||
inImagePointsStandardDeviation | float | <0.0f, INF> | 0.1f | Assumed uncertainty of inImagePoints. Used for robust optimization and outCameraModelStdDev estimation. Default value: 0.1f. | |
inFocalLength | float? | Specify a fixed focal length (do not estimate), in pixels. In order to calculate the inFocalLength from camera parameters one needs to divide the lens focal length [mm] by sensor pitch [mm/pix]. Default value: atl::NIL. | |||
outCameraModel | AvlNet.PinholeCameraModel |
Function Overrides
- CalibrateCamera_Pinhole(IList<IList<AnnotatedPoint2D>>, Int32, Int32, LensDistortionModelType, Single, PinholeCameraModel)
- CalibrateCamera_Pinhole(IList<IList<AnnotatedPoint2D>>, Int32, Int32, LensDistortionModelType, Single, Nullable<Single>, PinholeCameraModel, PinholeCameraModel, Single, IList<Single>, IList<List<Segment2D>>)
- CalibrateCamera_Pinhole(IList<IList<AnnotatedPoint2D>>, Int32, Int32, LensDistortionModelType, Single, Nullable<Single>, PinholeCameraModel, NullableRef<PinholeCameraModel>, NullableValue<Single>, NullableRef<List<Single>>, NullableRef<List<List<Segment2D>>>)