Skip to content

Commit

Permalink
Set the fill_upsampling_holes parameter to True
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dyackzan committed Dec 20, 2023
1 parent 2d9d086 commit 1c2d693
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions launch/kinova_vision.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,18 @@ def launch_setup(context, *args, **kwargs):
("depth/camera_info", "depth/camera_info"),
("depth/image_rect", "depth/image_raw"),
],
# 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.
parameters=[
{
"fill_upsampling_holes": True,
}
],
),
ComposableNode(
package="depth_image_proc",
Expand Down

0 comments on commit 1c2d693

Please sign in to comment.