Attention
As of June 30, 2025, the Isaac ROS Buildfarm for Isaac ROS 2.1 on Ubuntu 20.04 Focal is no longer supported.
Due to an isolated infrastructure event, all ROS 2 Humble Debian packages that were previously built for Ubuntu 20.04 are no longer available in the Isaac Apt Repository. All artifacts for Isaac ROS 3.0 and later are built and maintained with a more robust pipeline.
Users are encouraged to migrate to the latest version of Isaac ROS. The source code for Isaac ROS 2.1
continues to be available on the release-2.1
branches of the Isaac ROS
GitHub repositories.
The original documentation for Isaac ROS 2.1 is preserved below.
isaac_ros_dnn_image_encoder
Source code on GitHub.
API
DnnImageEncoderNode
ROS Parameters
ROS Parameter |
Type |
Default |
Description |
---|---|---|---|
|
|
|
The input image width. |
|
|
|
The input image height. |
|
|
|
The image width that the network expects. This will be used to crop the input |
|
|
|
The image height that the network expects. This will be used to crop the input |
|
|
|
The mean of the images per channel that will be used for normalization. |
|
|
|
The standard deviation of the images per channel that will be used for normalization. |
|
|
|
The number of pre-allocated memory blocks, should not be less than |
|
|
|
Top left location (x,y) of the bounding box (region of interest) to crop the input image. If the default value is used, then a center crop is performed. |
ROS Topics Subscribed
ROS Topic |
Interface |
Description |
---|---|---|
|
The image that should be encoded into a tensor. |
Warning
All input images are required to have height and width that are both an even number of pixels.
ROS Topics Published
ROS Topic |
Interface |
Description |
---|---|---|
|
The resultant tensor after converting the |