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

Set the fill_sampling_holes parameter to True #6

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

dyackzan
Copy link
Collaborator

Due to the resolution disparity between the depth images and the rgb images from the embedded DH410 rgbd camera on the gen3 kinova, when the depth images are registered in the color image frame, many sampling holes occur. Turning on the fill_sampling_holes parameter spreads the lower resolution depth data out across the registered image so there are no sampling holes.

@dyackzan dyackzan requested a review from eholum December 20, 2023 19:35
@@ -201,6 +201,11 @@ def launch_setup(context, *args, **kwargs):
("depth/camera_info", "depth/camera_info"),
("depth/image_rect", "depth/image_raw"),
],
parameters=[
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth adding a comment that just says exactly what you have in the description...

Suggested change
parameters=[
# Due to the resolution disparity between the depth images and the rgb images from the embedded DH410 rgbd camera on the gen3 kinova,
# when the depth images are registered in the color image frame, many sampling holes occur.
# Turning on the fill_sampling_holes parameter spreads the lower resolution depth data out across the
# registered image so there are no sampling holes.
parameters=[

@dyackzan dyackzan force-pushed the set-fill-sampling-holes-param branch from b592e50 to 81b60ee Compare December 20, 2023 19:53
Due to the resolution disparity between the depth images and the rgb
images from the embedded D410 rgbd camera on the gen3 kinova, when the
depth images are registered in the color image frame, many holes occur
in the registered depth data. Turning on fill_upsampling_holes spreads
the lower resolution depth data out across the registered image to
eliminate these holes.
@dyackzan dyackzan force-pushed the set-fill-sampling-holes-param branch from 81b60ee to 1c2d693 Compare December 20, 2023 19:54
@dyackzan dyackzan requested a review from eholum December 20, 2023 19:55
@dyackzan dyackzan merged commit 356f576 into ros2 Dec 20, 2023
1 check passed
@delete-merged-branch delete-merged-branch bot deleted the set-fill-sampling-holes-param branch December 20, 2023 20:38
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