|
Algorithm 1 Aruco estimates tag attitude. |
| Input: n pairs of left and right panoramic images |
|
if i < n then
|
| Binocular stereo panoramic image distortion correction |
| Image preprocessing, extracting Aruco tag |
| If Aruco tag is found in both left and right images then
|
| Extract the posture of Aruco tag, is added to the nonlinear optimization equations |
|
else i = i + 1
|
|
end if
|
|
Else
|
| Solving nonlinear optimization equations with MATLAB |
| if the average reprojection error is less than ±5 pixels then
|
| Calibration successful |
| Else
|
| Calibration failed |
|
end if
|
|
end if
|