calibratecamera返回值是什么意思
发布网友
发布时间:2022-05-16 22:24
我来回答
共2个回答
热心网友
时间:2023-09-13 19:08
这是链接错误,也就是你现在只有opencv的头文件,没有实现那些头文件的代码,你需要将opencv的lib设置到你的编译/链接环境中。具体的方式和你使用的ide或者编译器有关
热心网友
时间:2023-09-13 19:08
返回最终重投影误差
calibrateCamera()
The algorithm performs the following steps:
Compute the initial intrinsic parameters (the option only available for planar calibration patterns) or read them from the input parameters. The distortion coefficients are all set to zeros initially unless some of CV_CALIB_FIX_K? are specified.
Estimate the initial camera pose as if the intrinsic parameters have been already known. This is done using "solvePnP".
Run the global Levenberg-Marquardt optimization algorithm to minimize the reprojection error, that is, the total sum of squared distances between the observed feature points imagePoints and the projected (using the current estimates for camera parameters and the poses) object points objectPoints. See "projectPoints" for details.
The function returns the final re-projection error.