isaac_ros_tensor_proc
Source code on GitHub.
API
Overview
The isaac_ros_tensor_proc
package offers functionality for processing tensors, such as normalizing tensors, converting images to tensors,
reshaping tensors and more. The main use case of this package is for preprocessing or postprocessing tensors following DNN model inference.
One major use case of this package can be found in Isaac ROS DNN Image Encoder.
The operations performed aim to be analogous to operations available in the PyTorch library.
Available Components
Component |
Topics Subscribed |
Topics Published |
Parameters |
---|---|---|---|
|
|
|
mean : The mean of the images per channel that will be used for normalizationstddev : The standard deviation of the images per channel that will be used for normalizationinput_tensor_name : The name of the input tensor to extractoutput_tensor_name : The name of the output tensor to publish |
|
|
|
scale : Whether to scale the image by 255 or nottensor_name : The name of the output tensor to publish |
|
|
|
input_tensor_shape : The shape of the interleaved_tensor num_blocks : The number of blocks to preallocateoutput_tensor_name : The name of the output tensor to publish |
|
|
|
image_mean : The mean of the images per channel that will be used for normalizationimage_stddev : The standard deviation of the images per channel that will be used for normalizationinput_image_width : The input image widthinput_image_height : The input image heightnum_blocks : The number of blocks to preallocateoutput_tensor_name : The name of the output tensor to publish |
|
|
|
output_tensor_name : The name of the output tensor to publishinput_tensor_shape : The shape of the input tensor, tensor output_tensor_shape : The desired shape of the output tensor, reshaped_tensor num_blocks : The number of blocks to preallocate |