isaac_ros_image_pipeline
isaac_ros_image_pipeline copied to clipboard
Hardware-accelerated ROS2 packages for camera image processing.
Isaac ROS Image Pipeline
Hardware-accelerated Image Pipeline.



Overview
Isaac ROS Image Pipeline is a metapackage of functionality for image processing. Camera output often needs pre-processing to meet the input requirements of multiple different perception functions. This can include cropping, resizing, mirroring, correcting for lens distortion, and color space conversion. For stereo cameras, additional processing is required to produce disparity between left + right images and a point cloud for depth perception.
This package is accelerated using the GPU and specialized hardware
engines for image computation, replacing the CPU-based
image_pipeline metapackage.
Considerable effort has been made to ensure that replacing
image_pipeline
with isaac_ros_image_pipeline
on a Jetson or GPU
is as painless a transition as possible.
[!Note] Some image pre-processing functions use specialized hardware engines, which offload the GPU to make more compute available for other tasks.
Rectify corrects for lens distortion from the received camera sensor
message. The rectified image is resized to the input resolution for
disparity, using a crop before resizing to maintain image aspect ratio.
The image is color space converted to YUV from RGB using the luma
channel (the Y in YUV) to compute disparity using
SGM. This
common graph of nodes can be performed without the CPU processing a
single pixel using isaac_ros_image_pipeline
; in comparison, using
image_pipeline
, the CPU would process each pixel ~3 times.
The Isaac ROS Image Pipeline metapackage offloads the CPU from common image processing tasks so it can perform robotics functions best suited for the CPU.
Isaac ROS NITROS Acceleration
This package is powered by NVIDIA Isaac Transport for ROS (NITROS), which leverages type adaptation and negotiation to optimize message formats and dramatically accelerate communication between participating nodes.
Performance
Sample Graph |
Input Size |
AGX Orin |
Orin NX |
Orin Nano 8GB |
x86_64 w/ RTX 4060 Ti |
---|---|---|---|---|---|
Rectify Node |
1080p |
819 fps 5.4 ms |
496 fps 5.3 ms |
347 fps 6.4 ms |
900 fps 3.9 ms |
Stereo Disparity Node |
1080p |
160 fps 11 ms |
76.5 fps 19 ms |
52.4 fps 26 ms |
357 fps 7.2 ms |
Stereo Disparity Graph |
1080p |
155 fps 15 ms |
74.7 fps 21 ms |
49.0 fps 31 ms |
357 fps 3.0 ms |
Documentation
Please visit the Isaac ROS Documentation to learn how to use this repository.
Packages
-
isaac_ros_depth_image_proc
-
isaac_ros_image_pipeline
-
isaac_ros_image_proc
-
isaac_ros_stereo_image_proc
Latest
Update 2023-10-18: Introduced confidence thresholding for SGM