Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
jazzy

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version rolling
Last Updated 2025-06-14
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.4.1

README

ros_image_to_qimage

Build and Test (humble) Build and Test (iron) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Humble / Humble / Rolling

Binary Installation

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Source Installation

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

// For ROS 2 Iron / Rolling
git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage
colcon build

// For ROS 2 Humble
git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch humble
colcon build

Usage

C++

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

Python

from ros_image_to_qimage import ros_image_to_qimage

def image_callback(self, msg):
    qimage = ros_image_to_qimage.convert(msg)

For your package.xml, add

<exec_depend>ros_image_to_qimage</exec_depend>

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
kilted

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version rolling
Last Updated 2025-06-14
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.4.1

README

ros_image_to_qimage

Build and Test (humble) Build and Test (iron) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Humble / Humble / Rolling

Binary Installation

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Source Installation

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

// For ROS 2 Iron / Rolling
git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage
colcon build

// For ROS 2 Humble
git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch humble
colcon build

Usage

C++

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

Python

from ros_image_to_qimage import ros_image_to_qimage

def image_callback(self, msg):
    qimage = ros_image_to_qimage.convert(msg)

For your package.xml, add

<exec_depend>ros_image_to_qimage</exec_depend>

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
rolling

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version rolling
Last Updated 2025-06-14
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.4.1

README

ros_image_to_qimage

Build and Test (humble) Build and Test (iron) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Humble / Humble / Rolling

Binary Installation

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Source Installation

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

// For ROS 2 Iron / Rolling
git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage
colcon build

// For ROS 2 Humble
git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch humble
colcon build

Usage

C++

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

Python

from ros_image_to_qimage import ros_image_to_qimage

def image_callback(self, msg):
    qimage = ros_image_to_qimage.convert(msg)

For your package.xml, add

<exec_depend>ros_image_to_qimage</exec_depend>

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro ardent showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro bouncy showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro crystal showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro eloquent showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro dashing showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
galactic

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version galactic
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.1.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro foxy showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
iron

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version rolling
Last Updated 2025-06-14
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.4.1

README

ros_image_to_qimage

Build and Test (humble) Build and Test (iron) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Humble / Humble / Rolling

Binary Installation

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Source Installation

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

// For ROS 2 Iron / Rolling
git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage
colcon build

// For ROS 2 Humble
git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch humble
colcon build

Usage

C++

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

Python

from ros_image_to_qimage import ros_image_to_qimage

def image_callback(self, msg):
    qimage = ros_image_to_qimage.convert(msg)

For your package.xml, add

<exec_depend>ros_image_to_qimage</exec_depend>

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro lunar showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro jade showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro indigo showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro hydro showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro kinetic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro melodic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~
No version for distro noetic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros_image_to_qimage repository

ros_image_to_qimage

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/ros-sports/ros_image_to_qimage.git
VCS Type git
VCS Version humble
Last Updated 2022-07-21
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros_image_to_qimage 0.2.1

README

ros_image_to_qimage

Build and Test (foxy) Build and Test (galactic) Build and Test (humble) Build and Test (rolling)

Converts a ROS2 sensor_msgs/msg/Image to QImage.

Installation

ROS2 Galactic / Humble / Rolling

Binary installation is available. Source your ROS installation, then run:

sudo apt install ros-${ROS_DISTRO}-ros-image-to-qimage

Alternatively to build from source, source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

ROS2 Foxy

Only source installation is available. Source your ROS installation, then run the following in your ROS workspace:

git clone https://github.com/ros-sports/ros_image_to_qimage.git src/ros_image_to_qimage --branch ${ROS_DISTRO}
colcon build

Usage

#include "ros_image_to_qimage/ros_image_to_qimage.hpp"

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{
  QImage qImage = ros_image_to_qimage::Convert(*msg);
}

For your package.xml, add

<depend>ros_image_to_qimage</depend>

For your CMakeLists.txt, suppose we want to link my_target against this library:

find_package(ros_image_to_qimage REQUIRED)
ament_target_dependencies(my_target ros_image_to_qimage)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.
Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~