Skip to content

Software

image_common

By ROS Perception, from github.com/ros-perception/image_common (opens in a new tab)

  • Perception
  • Library
  • BSD-3-Clause

A set of ROS 2 packages providing core infrastructure for handling images and camera calibration in robotic systems. Part of the ROS Perception stack.

Facts

GitHub stars
153read on 28 Nov 2026
Last update
27 Nov 2026Newest commit on rolling
Maintenance
Activea commit in the last 90 days
Difficulty
Intermediate

Checked on GitHub on 28 Nov 2026.

Licenses

Code
BSD-3-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit 05abba5 (opens in a new tab), on 28 Nov 2026.

Commercial use
Yes

At a glance

What it is
  • Core image_transport library publishes and subscribes to images in raw or compressed form, switching transports without changing application code.
  • Image_transport_py offers Python 3 bindings exposing publishers and subscribers to Python nodes.
  • Camera_calibration_parsers reads and writes camera calibration data in YAML and INI formats, with a convert command-line tool.
  • Camera_info_manager is a C++ class for camera drivers to load, save, and serve calibration data, handling SetCameraInfo requests.
  • Camera_info_manager_py is a pure Python equivalent of camera_info_manager for Python camera drivers.
  • Includes a republish node for converting images between transports and a list_transports tool.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
Used by Fast-Drone-250, RC WheelLeg and REAL Drone 400.
Licence
BSD-3-Clause. Commercial use: Yes. Where it was read
Install
sudo apt install ros-$ROS_DISTRO-image-commonWhere it comes from
Maintenance
Active, last commit on 27 Nov 2026.

Works with

3 robots on Robotheca

The robots on Robotheca that use it or can run it, each with how the link was found.

Use it

Copied word for word from the creator's own documentation; each block links to the lines it comes from.

From binary packages

sudo apt install ros-$ROS_DISTRO-image-common

From README.md at faf0db2, line 53 (opens in a new tab)

From source

mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone https://github.com/ros-perception/image_common.git
cd ~/ros2_ws
rosdep install --from-paths src --ignore-src -r -y
colcon build --packages-select image_common

From README.md at faf0db2, lines 59–64 (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 05abba5

Robotheca read the repository at three versions: the summary at a0c746f, the facts and the README at 05abba5 (read on 28 Nov 2026) and the install commands at faf0db2 (read on 6 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by ROS Perception, at commit 05abba5, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

image_common

(opens in a new tab) (opens in a new tab)

A collection of ROS 2 packages providing core infrastructure for working with images and cameras in robotic systems. Part of the ROS Perception (opens in a new tab) stack.

Packages
image_transport (opens in a new tab)

The core image transport library. Provides a plugin-based architecture for publishing and subscribing to images in raw or compressed form, transparently switching between transports without changing application code.

  • Publisher / CameraPublisher — publish images with optional camera info
  • Subscriber / CameraSubscriber — subscribe to images with transport hints
  • SubscriberFilter — integration with message_filters
  • republish node — re-publish images between transports
  • list_transports — list available transport plugins
  • Lifecycle node support and QoS override
image_transport_py (opens in a new tab)

Python bindings (pybind11) for image_transport, exposing ImageTransport, Publisher, Subscriber, CameraPublisher, and CameraSubscriber to Python 3 nodes.

camera_calibration_parsers (opens in a new tab)

Read and write sensor_msgs/CameraInfo calibration data to/from disk.

  • YAML (.yaml / .yml) and INI (.ini) format support
  • convert command-line tool for format conversion
camera_info_manager (opens in a new tab)

C++ CameraInfoManager class for camera drivers that need to load, save, and serve calibration data.

  • Loads calibration from file:// and package:// URLs
  • Handles sensor_msgs/SetCameraInfo service requests
  • Thread-safe; supports lifecycle nodes
camera_info_manager_py (opens in a new tab)

Pure Python equivalent of camera_info_manager for Python-based camera drivers.

  • CameraInfoManager and ZoomCameraInfoManager classes
  • YAML-based calibration storage
  • Drop-in counterpart to the C++ package
Installation
From binary packages
sudo apt install ros-$ROS_DISTRO-image-common
From source
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone https://github.com/ros-perception/image_common.git
cd ~/ros2_ws
rosdep install --from-paths src --ignore-src -r -y
colcon build --packages-select image_common
Tutorials

Step-by-step tutorials for writing publishers and subscribers with image_transport are available in the companion repository:

ros-perception/image_transport_tutorials (opens in a new tab)

Topics covered include:

  • Publishing and subscribing to images with image_transport
  • Using transport hints to select a specific transport
  • Writing a custom transport plugin
  • Python usage via image_transport_py
ROS 2 Distro Support
DistroBranch
Rollingrolling
Lyricallyrical
Kiltedkilted
Jazzyjazzy
Ironiron
Humblehumble
Contributing

Contributions are welcome. Please open issues and pull requests on GitHub (opens in a new tab).

License

BSD 3-Clause. See LICENSE (opens in a new tab) for details.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.