You are here: Start » FIL.NET » FIS.CalibrateCamera_LineScan Method
FIS.CalibrateCamera_LineScan Method
Finds the line scan camera intrinsic parameters from calibration grid.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void CalibrateCamera_LineScan ( IList<FilNet.AnnotatedPoint2D> inImageGrid, float inGridSpacing, int inImageWidth, FilNet.LensDistortionModelType inDistortionType, float inImagePointsStandardDeviation, float? inFocalLength, FilNet.LineScanCameraModel outCameraModel, out float outApproxScaleRatio, out float outRmsError, out float outMaxReprojectionError, IList<FilNet.Segment2D> outReprojectionErrorSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImageGrid | System.Collections.Generic.IList<FilNet.AnnotatedPoint2D> | Annotated calibration grid. | ||
![]() | inGridSpacing | float | <0.000001f, INF> | Real-world distance between adjacent grid points. | |
![]() | inImageWidth | int | <1, INF> | Image width, used for initial estimation of principal point. | |
![]() | inDistortionType | FilNet.LensDistortionModelType | Polynomial | Lens distortion model. Default value: Polynomial. | |
![]() | inImagePointsStandardDeviation | float | <0.0f, INF> | 0.1f | Assumed uncertainty of inImagePoints. Used for robust optimization. Default value: 0.1f. |
![]() | inFocalLength | float? | Specify a fixed focal length, 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: ftl::NIL. | ||
![]() | outCameraModel | FilNet.LineScanCameraModel | |||
![]() | outApproxScaleRatio | float | Approximate scale ratio between Y and X. Useful for camera/encoder trigger rate configuration. When greater than 1, the image is stretched in Y dimension, when less than 1 it is compressed. | ||
![]() | outRmsError | float | Final reprojection RMS error, in pixels. | ||
![]() | outMaxReprojectionError | float | Maximum reprojection error among all points. | ||
![]() | outReprojectionErrorSegments | System.Collections.Generic.IList<FilNet.Segment2D> | Array of segments connecting input image points to grid reprojections. |
Function Overrides
- CalibrateCamera_LineScan(IList<AnnotatedPoint2D>, Single, Int32, LensDistortionModelType, Single, LineScanCameraModel, Single)
- CalibrateCamera_LineScan(IList<AnnotatedPoint2D>, Single, Int32, LensDistortionModelType, Single, Nullable<Single>, LineScanCameraModel, Single)
- CalibrateCamera_LineScan(IList<AnnotatedPoint2D>, Single, Int32, LensDistortionModelType, Single, Nullable<Single>, LineScanCameraModel, Single, NullableValue<Single>, NullableValue<Single>, NullableRef<List<Segment2D>>)