下文为使用最小二乘的方法对一幅图像进行标定,求得相机的内参、外参的参数。
Calibration
Process of camera calibration:
1. Load calibration piture andfind the corner by using “cvFindChessboardCorners” Opencv function. Then drawit in the raw piture.
2. Store the corner information,Create the matrix U (160*12) in the formula below.
3. Use to estimate the parameters of M.
Use the formula below to solve IntrinsicParameters and Extrinsic Parameters.