Пример #1
0
 /// <summary>
 /// 相机创建方法
 /// </summary>
 /// <param name="img">图像</param>
 public Camera(AddedImage img)
 {
     info       = img.camera;
     distortion = 0;
 }
Пример #2
0
 /// <summary>
 /// 添加相机
 /// </summary>
 /// <param name="img">图像</param>
 public void AddCamera(AddedImage img)
 {
     img2cam.Add(img.order - 1, cameras.Count);
     cameras.Add(new Camera(img));
 }