# Image Common

{% embed url="<https://wiki.ros.org/image_common>" %}

In ROS (Robot Operating System), the image\_common stack provides a set of packages and tools for handling images in ROS. It facilitates the integration of cameras and image processing functionalities into ROS-based systems. Here are the primary components of the image\_common stack:

1. **image\_transport**:
   * Manages the transport of images in ROS.
   * Provides transparent compression/decompression for image topics.
   * Allows image data to be published and subscribed to using various transport methods (e.g., raw, compressed, theora).
2. **camera\_info\_manager**:
   * Manages camera calibration data.
   * Provides a standardized way to access and store camera calibration parameters.
   * Ensures that image data can be corrected for lens distortion and other camera-specific effects.
3. **camera\_calibration\_parsers**:
   * Reads and writes camera calibration parameters from files.
   * Supports various formats such as YAML and ini.
   * Facilitates easy loading and saving of camera calibration data.
4. **polled\_camera**:
   * Supports cameras that require polling to capture images.
   * Provides a mechanism for capturing images on demand rather than continuously.
5. **compressed\_image\_transport**:
   * Extends image\_transport to support compressed image formats.
   * Reduces the bandwidth required for transmitting image data by using JPEG or PNG compression.

<figure><img src="https://1375086659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPvjB9UuBzGwkyWVheSoO%2Fuploads%2FCSPm3S5LtgNRxV9t1Rsz%2Fimage.png?alt=media&#x26;token=b8163f05-586f-41db-82b4-ad89d67f0718" alt="" width="375"><figcaption><p>Packages that are included in image_common stack</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://leftover-ice.gitbook.io/resources/ros/perception/camera/image-common.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
