Functions used form camera calibration

C# | Visual Basic | Visual C++ |
public static class CameraCalibration
Public NotInheritable Class CameraCalibration
public ref class CameraCalibration abstract sealed

All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
![]() ![]() | CalibrateCamera(array<array<Point3D<(Of <(Single>)>)>[]()[]>[]()[], array<array<Point2D<(Of <(Single>)>)>[]()[]>[]()[], MCvSize%, IntrinsicCameraParameters, Int32, array<ExtrinsicCameraParameters>[]()[]%) |
Estimates intrinsic camera parameters and extrinsic parameters for each of the views
|
![]() ![]() | FindExtrinsicCameraParams2(array<Point3D<(Of <(Single>)>)>[]()[], array<Point2D<(Of <(Single>)>)>[]()[], IntrinsicCameraParameters) |
Estimates extrinsic camera parameters using known intrinsic parameters and and extrinsic parameters for each view. The coordinates of 3D object points and their correspondent 2D projections must be specified. This function also minimizes back-projection error.
|
![]() ![]() | FindHomography(Matrix<(Of <(Single>)>), Matrix<(Of <(Single>)>)) |
Finds perspective transformation H=||h_ij|| between the source and the destination planes
|
![]() ![]() | FindHomography(array<Point2D<(Of <(Single>)>)>[]()[], array<Point2D<(Of <(Single>)>)>[]()[]) |
Finds perspective transformation H=||h_ij|| between the source and the destination planes
|
![]() ![]() | ProjectPoints2(array<Point3D<(Of <(Single>)>)>[]()[], ExtrinsicCameraParameters, IntrinsicCameraParameters, array<Matrix<(Of <(Single>)>)>[]()[]) |
Computes projections of 3D points to the image plane given intrinsic and extrinsic camera parameters.
Optionally, the function computes jacobians - matrices of partial derivatives of image points as functions of all the input parameters w.r.t. the particular parameters, intrinsic and/or extrinsic.
The jacobians are used during the global optimization in cvCalibrateCamera2 and cvFindExtrinsicCameraParams2.
The function itself is also used to compute back-projection error for with current intrinsic and extrinsic parameters.
|
![]() ![]() | Undistort2<(Of <(C, D>)>)(Image<(Of <(C, D>)>), IntrinsicCameraParameters) |
Transforms the image to compensate radial and tangential lens distortion.
The camera matrix and distortion parameters can be determined using cvCalibrateCamera2. For every pixel in the output image the function computes coordinates of the corresponding location in the input image using the formulae in the section beginning. Then, the pixel value is computed using bilinear interpolation. If the resolution of images is different from what was used at the calibration stage, fx, fy, cx and cy need to be adjusted appropriately, while the distortion coefficients remain the same
|

Object | |
![]() | CameraCalibration |