Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registering depth information into RGB image #80

Open
JVal123 opened this issue Jan 5, 2024 · 1 comment
Open

Registering depth information into RGB image #80

JVal123 opened this issue Jan 5, 2024 · 1 comment

Comments

@JVal123
Copy link

JVal123 commented Jan 5, 2024

Hello! I've recently updated the hl2ss version from 1.012.0 to 1.025.0.

Currently, I'm using the sample_integrator_pv.py script, which performs RGBD integration using Open3D. I've modified the script, simply to save both the rgb and depth images obtained by this script.

One problem arises, however. My objective is for the rgb images to have the depth information registered on them. This is already what happens in the old hl2ss version by default, but not on the new version. I simply get the rgb without any depth information. After comparing the two, I noticed that there is no depth registration being made onto the rgb image on the new version.

How can I obtain it in the new version?

@jdibenes
Copy link
Owner

jdibenes commented Jan 9, 2024

Hello,
The RGBD pair is given by the color and depth variables after line 140.
Then, for example, you can insert code in line 141 to save both color and depth to files.
Registration is done in lines 131-140.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants