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

Ray casting-based depth image renderer #81

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Divelix
Copy link
Contributor

@Divelix Divelix commented Oct 21, 2024

Discussed in #80

This PR adds functionality of depth map extraction from wavemap octree at any pose and camera intrinsics.

I also added python bindings for:

  • PinholeCameraProjectorConfig - I use it to store camera intrinsics on python side
  • raycast - allows to cast ray between 2 points and get distance to closest occupied leaf
  • get_depth - uses raycast for all pixels in depth map (utilizes QueryAccelerator for faster processing)

Moreover, I added corresponding python script to examples folder (I used pathlib instead of os.path because it is considered better practice in python).

@victorreijgwart victorreijgwart changed the title Depth extraction Ray casting-based depth/range image renderer Oct 24, 2024
@victorreijgwart victorreijgwart changed the title Ray casting-based depth/range image renderer Ray casting-based depth image renderer Oct 24, 2024
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

Successfully merging this pull request may close these issues.

2 participants