isl-org / isl-org/Open3D

Has anyone converted ZED camera pose to Open3D style pose?

Open
#7,220 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [x] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [x] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [x] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### My Question

Hi! I am trying to convert the ZED-style pose (in OpenGL coordinate system) to Open3D for mesh reconstruction. However, I am unsure which coordinate system Open3d uses. I am using the following code snippet, but isn't working
```def zed_extrinsic_to_open3d(extrinsic_zed):
T_zed2open3d = np.array([
[ 1, 0, 0, 0],
[ 0, 1, 0, 0],
[ 0, 0, -1, 0],
[ 0, 0, 0, 1]
], dtype=np.float32)
T_cam_world_open3d = T_zed2open3d @ extrinsic_zed @ T_zed2open3d.T
T_world_cam_open3d = np.linalg.inv(T_cam_world_open3d)

return T_world_cam_open3d```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.