isl-org / isl-org/Open3D

convert_from_pinhole_camera_parameters allow_arbitrary=True modifies intrinsic matrix

Open
#5,816 3 comments 2 reactions 0 assignees View on GitHub
bug
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](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).

### Describe the issue

I am trying to render an image that would simulate using a calibrated camera (with an arbitrary intrinsic matrix).
I try to use the convert_from_pinhole_camera_parameters function but it seems to change the intrinsic matrix.

### Steps to reproduce the bug

```python
ctr.convert_from_pinhole_camera_parameters(before_params, allow_arbitrary=True)
after_params = ctr.convert_to_pinhole_camera_parameters()
before_params.intrinsic.intrinsic_matrix != after_params.intrinsic.intrinsic_matrix
```

### Error message

_No response_

### Expected behavior

Isn't there a way to use my intrinsic matrix when rendering?

### Open3D, Python and System information

```markdown
- Operating system: Ubuntu 20.04 / macOS 10.15 / Windows 10 64-bit
- Python version: Python 3.8 / output from `import sys; print(sys.version)`
- Open3D version: output from python: `print(open3d.__version__)`
- System architecture: x86 / arm64 / apple-silicon / jetson / rpi
- Is this a remote workstation?: yes or no
- How did you install Open3D?: pip / conda / build from source
- Compiler version (if built from source): gcc 7.5 / clang 7.0
```

### Additional information

_No response_

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.