请教各位大神, 看看我这个标定板描述文件有什么问题.
标定板数据: 小圆直径: 0.003m, 小圆中心距: 0.006m. 标定板图像如下
我现在镜头小了, 用一块大了一点的标定板来标定, 所以标定显示不完全.
于是我自己写了一个cpd文件, 文件内容如下
# Plate Description Version 3
# HALCON Version 13.0 -- Mon Feb 24 14:31:36 2020
# Description of the standard calibration plate
# used for the camera calibration in HALCON
# (generated by create_caltab)
#
#
# 5 rows x 7 columns
# Width, height of calibration plate [meter]: 0.039, 0.0319808
# Distance between mark centers [meter]: 0.006
# Number of marks in y-dimension (rows)
r 5
# Number of marks in x-dimension (columns)
c 7
# offset of coordinate system in z-dimension [meter] (optional):
z 0
# rim of the calibration plate (min x, max y, max x, min y) [meter]:
o -0.0225 0.0178923048454133 0.0225 -0.0178923048454133
# polarity of the marks (light or dark):
p light
# number of finder pattern marks:
f 5
# position of the finder patterns (central mark): x y [index]
3 2
1 1
5 1
1 3
5 3
# calibration marks: x y radius [meter]
# calibration marks at y = -0.012 m
-0.018 -0.012 0.0015
-0.012 -0.012 0.0015
-0.006 -0.012 0.0015
0 -0.012 0.0015
0.006 -0.012 0.0015
0.012 -0.012 0.0015
0.018 -0.012 0.0015
# calibration marks at y = -0.006 m
-0.018 -0.006 0.0015
-0.012 -0.006 0.0015
-0.006 -0.006 0.0015
0 -0.006 0.0015
0.006 -0.006 0.0015
0.012 -0.006 0.0015
0.018 -0.006 0.0015
# calibration marks at y = 0 m
-0.018 0 0.0015
-0.012 0 0.0015
-0.006 0 0.0015
0 0 0.0015
0.006 0 0.0015
0.012 0 0.0015
0.018 0 0.0015
# calibration marks at y = 0.006 m
-0.018 0.006 0.0015
-0.012 0.006 0.0015
-0.006 0.006 0.0015
0 0.006 0.0015
0.006 0.006 0.0015
0.012 0.006 0.0015
0.018 0.006 0.0015
# calibration marks at y = 0.012 m
-0.018 0.012 0.0015
-0.012 0.012 0.0015
-0.006 0.012 0.0015
0 0.012 0.0015
0.006 0.012 0.0015
0.012 0.012 0.0015
0.018 0.012 0.0015
请问为何会出错?
|