Skip to content

NVIDIA-ISAAC-ROS/isaac_ros_image_pipeline

Repository files navigation

Isaac ROS Image Pipeline

NVIDIA-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.

image

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 4090

Rectify Node



1080p



1160 fps


2.2 ms @ 30Hz

595 fps


3.6 ms @ 30Hz

411 fps


4.4 ms @ 30Hz

2500 fps


0.70 ms @ 30Hz

Stereo Disparity Node



1080p



117 fps


11 ms @ 30Hz

78.4 fps


14 ms @ 30Hz

53.5 fps


21 ms @ 30Hz

978 fps


1.6 ms @ 30Hz

Stereo Disparity Graph



1080p



111 fps


15 ms @ 30Hz

72.2 fps


19 ms @ 30Hz

49.7 fps


26 ms @ 30Hz

695 fps


3.9 ms @ 30Hz


Documentation

Please visit the Isaac ROS Documentation to learn how to use this repository.


Packages

Latest

Update 2024-12-10: Added new alpha blending node