算子签名:
- parse_innovance_pts_file( : : ptsFile : ptsX, ptsY, ptsZ, ptsU, ptsV, ptsW)
复制代码
参数:
- ptsFile (input_control) filename → (string)
- File extension: .pts
- ptsX (output_control) real-array → (real)
- ptsY (output_control) real-array → (real)
- ptsZ (output_control) real-array → (real)
- ptsU (output_control) real-array → (real)
- ptsV (output_control) real-array → (real)
- ptsW (output_control) real-array → (real)
复制代码
读取的文件格式为.pts,内容类似:
- P[25] = 602.488384, 480.929644, -64.255748, 90.000058, 0.000000, 0.000000;-1, 0, 0,-1; 4, 3, 0;
- P[26] = 601.708309, 400.860765, -64.715851, 89.999999, 0.000000, 0.000000;-1, 0, 0,-1; 4, 3, 0;
- P[27] = 600.645296, 280.182794, -64.595404, 90.000067, 0.000000, 0.000000;-1, 0, 0,-1; 4, 3, 0;
复制代码
算子下载:
parse_innovance_pts_file.hdvp
(3.67 KB, 下载次数: 4)
测试文件:
calib.pts
(2.45 KB, 下载次数: 2)
测试代码:
- parse_innovance_pts_file ('calib.pts', ptX, ptY, ptZ, ptU, ptV, ptW)
复制代码
|