|
60 | 60 | numberOfIterations=1 |
61 | 61 | print("Number of loop iterations: "+str(numberOfIterations)) |
62 | 62 |
|
63 | | -cameraMatrixLeft = np.array([[1000.0, 0.0, 950.0], [0.0, 1000.0, 950.0], [0.0, 0.0, 1.0]], np.float64) |
64 | | -cameraMatrixRight = np.array([[0.001, 0.0, -0.95], [0.0, 0.001, -0.95], [0.0, 0.0, 1.0]], np.float64) |
| 63 | +cameraMatrixLeft = np.array([[1000.0, 0.0, 0.0], [0.0, 1000.0, 0.0], [950.0, 950.0, 1.0]], np.float64) |
| 64 | +cameraMatrixRight = np.array([[1000.0, 0.0, 0.0], [0.0, 1000.0, 0.0], [950.0, 950.0, 1.0]], np.float64) |
65 | 65 |
|
66 | 66 | distCoeffsLeft = np.zeros([1,5], np.float64) |
67 | 67 | distCoeffsRight = np.zeros([1,5], np.float64) |
68 | 68 |
|
69 | 69 | R = np.eye(3, dtype=np.float64) |
70 | 70 |
|
71 | | -iRLeft = np.array([[0.001, 0, -0.95], [0.0, 0.001, -0.95], [0.0, 0.0, 1.0]], np.float64) |
72 | | -iRRight = np.array([[0.001, 0, -0.95], [0.0, 0.001, -0.95], [0.0, 0.0, 1.0]], np.float64) |
| 71 | +iRLeft = np.array([[0.001, 0.0, 0.0], [0.0, 0.001, 0.0], [-0.95, -0.95, 1.0]], np.float64) |
| 72 | +iRRight = np.array([[0.001, 0.0, 0.0], [0.0, 0.001, 0.0], [-0.95, -0.95, 1.0]], np.float64) |
73 | 73 |
|
74 | 74 | newCameraMatrixLeft = iRLeft*R |
75 | 75 | newCameraMatrixRight = iRRight*R |
|
0 commit comments