Package Summary

Tags No category tags.
Version 3.2.1
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version humble
Last Updated 2022-09-20
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS2 Image messages and OpenCV images.

Additional Links

Maintainers

  • Kenji Brameld

Authors

  • Patrick Mihelich
  • James Bowman
  • Ethan Gao

cv_bridge

Introduction

cv_bridge converts between ROS 2 image messages and OpenCV image representation for perception applications. As follows:

cv_bridge overview

This ros2 branch initially derives from porting on the basis of ros kinetic branch

Installation

Firstly, it assumes that the ROS 2 core has already been installed, please refer to ROS 2 installation to get started.

Install dependencies

OpenCV3+ is a must to install, please refer to the official installation guide from OpenCV Tutorials Since ROS 2 uses Python 3, please make sure that python3-numpy is installed, or install like this:


sudo apt install python3-numpy


The cv_bridge python backend still has a dependency on python boost (equal or higher than 1.58.0), and install them as follows in Ubuntu:


sudo apt install libboost-python-dev


Build and Test

Fetch the latest code and build


cd <YOUR_ROS2_WORKSPACE>/src
git clone https://github.com/ros-perception/vision_opencv.git -b ros2
cd ..
colcon build --symlink-install


Run the tests

Python tests have a dependency on OpenCV Python support. To install it:


sudo apt install python3-opencv


Next to prepare runtime environment and run tests:


source <YOUR_ROS2_WORKSPACE>/install/local_setup.bash
colcon test


Known issues

  • boost endian: remove boost endian APIs with standard C++ 11 or higher instead
  • Not tested with Windows or macOS environments so there may be issues building or running
CHANGELOG

Changelog for package cv_bridge

3.2.1 (2022-09-21)

  • silence dperecation warnings using boost macros (#492)
  • Contributors: Kenji Brameld

3.2.0 (2022-09-14)

  • Add apache license and bsd license, because both are used. (#483)
  • Fix 16U encoding type (#463)
  • Reorganize author tag (#469)
  • Update maintainers (#451)
  • Fix ModuleNotFoundError: No module named \'cv_bridge\' error (#444)
  • Make python3-opencv from test_depend to depend tag in package.xml (#439)
  • Contributors: Daisuke Nishimatsu, Kenji Brameld, RachelRen05

3.0.3 (2022-04-01)

  • Add missing dependency on rcpputils (#427)
  • Contributors: Shane Loretz

3.0.2 (2022-01-27)

  • Minor cleanups to the ROS 2 branch (#418)
  • Find Python3 if not on Android (#423)
  • Forward ports from noetic (#420)
    • Add header arg to cv2_to_imgmsg (#326)
    • prevent conversion of single channel 16bit integer images to/from colour (#412)
  • Contributors: Chris Lalancette, Christian Rauch, Michael Carroll, Naoya Yamaguchi, Shane Loretz

3.0.1 (2022-01-25)

  • Use Boost::python3 if Boost < 1.67 (#422)
  • Use Boost::pythonXY target (#421)
  • Contributors: Shane Loretz

3.0.0 (2022-01-19)

  • Export Modern CMake targets and install includes to another folder(#419)
  • Handle padded img msg in Python (#400)
  • Remove boost endian (#399)
  • Add conversions from YUV422 YUY2 (#396)
  • fix endianness comparison (#397)
  • Export sensor_msgs dependency (#392)
  • Fix multiple undefined references (#370)
  • Updated [cv_bridge.dll]{.title-ref} install location. (#356)
  • Contributors: Homalozoa X, Jacob Perron, Patrick Musau, Sean Yen, Shane Loretz

2.2.1 (2020-07-16)

  • Align module.hpp with noetic (#342)
  • Contributors: Michael Carroll

2.2.0 (2020-05-27)

  • Disable portable image tests (#337)
  • use more specific boost rosdep keys (#319)
  • add opencv4 into the dependency list for ROS2 (#324)
  • Corrected the typo of Boost_INCLUDE_DIRS (#315)
  • use target include directories (#313)
  • Contributors: Karsten Knese, Lewis Liu, Michael Carroll, Mikael Arguedas, Sean Yen

2.1.3 (2019-10-23)

  • populate array.array directly instead of converting to and from a string (#305)
  • include Boost to fix Windows build (#290)
  • Export interfaces for Win32 Shared Lib (#301)
  • Contributors: Dirk Thomas, Jonathan Noyola, Sean Yen

2.1.2 (2019-05-30)

  • Suppress Boost Python warning. (#279)
  • silence unused return value warnings (#276)
  • Contributors: Karsten Knese, Michael Carroll

2.1.1 (2019-04-26)

  • Replace ament commands with colcon (#263) Latest ros2 repo does not include ament_tools. Executing ament command results in error.
  • Contributors: Lalit Begani

2.1.0 (2018-11-26)

  • find boost_python on boost 1.58 (<1.65) (#246)
  • Contributors: Mikael Arguedas

2.0.5 (2018-08-17)

  • remove redundant ament_auto_lint dependency to release package
  • fix test_encode_decode_cv2_compressed runtime error with JPEG2000
  • change python3-numpy as build and execution dependency to fix building error while releasing package
  • Contributor: Ethan Gao

2.0.4 (2018-08-14)

  • Add libopencv-dev as dependency of cv_bridge
  • Replace assert_equal with assert to remove dependency to nose package
  • Contributor: Ethan Gao

2.0.3 (2018-08-07)

  • fix the build warning with colcon building
  • optimize buffer type of imgmsg_to_cv2()
  • add python3_opencv and python3_numpy as dependency
  • uncrustify 0.67 coding style alignment
  • Contributors: Mikael Arguedas, Lars Berscheid, Ethan Gao

2.0.2 (2018-06-29)

  • fix rosdep keys issue of opencv3

2.0.1 (2018-06-28)

2.0.0 (2018-06-06)

  • Port cv_bridge to ros2
  • Remove the old inherent boost files
  • Replace boost code with newer C++ standard higher than C++11
  • Add a new readme
  • Adapt message definition like sensor_msg/Image etc in ROS2
  • Coding style alignment with ROS2 using cppcheck/cpplint and python flake8/pep257
  • Enable all the C++/Python unit test with gtest and unittest with ament tools
  • Contributors: Ethan Gao

1.12.7 (2017-11-12)

1.12.6 (2017-11-11)

  • fix endianness issues
  • Contributors: Vincent Rabaud

1.12.5 (2017-11-05)

  • add version_gte for opencv3 \@vrabaud If you\'ll update opencv3 version as discussed in https://discourse.ros.org/t/opencv-3-3/2674/4, I think we\'d better to add \'version_gte\' tag so that apt-get install ros-kinetic-cv-bridge also pulls openv3.3 from repository, to avoid API breaking issue between opencv2 and opencv3.
  • Simplify the dependency components of cv_bridge Fixes #183
  • Fixes #177 The Python bridge was wrong on OpenCV2 with mono8 (and any Mat with only two dimensions btw). Took the official Python bridge from OpenCV.
  • Add missing test file This fixes #171
  • Properly deal with alpha in image compression. That fixes #169
  • Silence warnings about un-used variables
  • export OpenCV variables
  • Contributors: Kei Okada, Victor Lamoine, Vincent Rabaud

1.12.4 (2017-01-29)

  • properly find Boost Python 2 or 3 This fixes #158
  • Contributors: Vincent Rabaud

1.12.3 (2016-12-04)

1.12.2 (2016-09-24)

  • Specify background label when colorizing label image
  • Adjust to arbitrary image channels like 32FC40 Proper fix for #141
  • Remove unexpectedly included print statement
  • Contributors: Kentaro Wada, Vincent Rabaud

1.12.1 (2016-07-11)

  • split the conversion tests out of enumerants
  • support is_bigendian in Python Fixes #114 Also fixes mono16 test
  • Support compressed Images messages in python for indigo

    • Add cv2_to_comprssed_imgmsg: Convert from cv2 image to compressed image ros msg.
    • Add comprssed_imgmsg_to_cv2: Convert the compress message to a new image.
    • Add compressed image tests.

    - Add time to msgs (compressed and regular). add enumerants test for compressed image. merge the compressed tests with the regular ones. better comment explanation. I will squash this commit. Fix indentation fix typo mistage: from .imgmsg_to_compressed_cv2 to .compressed_imgmsg_to_cv2. remove cv2.CV_8UC1 remove rospy and time depndency. change from IMREAD_COLOR to IMREAD_ANYCOLOR. - make indentaion of 4. - remove space trailer. - remove space from empty lines. - another set of for loops, it will make things easier to track. In that new set, just have the number of channels in ([],1,3,4) (ignore two for jpg). from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721943

    - keep the OpenCV error message. from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721013 add debug print for test. add case for 4 channels in test. remove 4 channels case from compressed test. add debug print for test. change typo of format. fix typo in format. change from dip to dib. change to IMREAD_ANYCOLOR as python code. (as it should). rename TIFF to tiff Sperate the tests one for regular images and one for compressed. update comment

  • Add CvtColorForDisplayOptions with new colormap param

  • fix doc jobs

  • Add python binding for cv_bridge::cvtColorForDisplay

  • Don\'t colorize float image as label image This is a bug and image whose encoding is other than 32SC1 should not be colorized. (currently, depth images with 32FC1 is also colorized.)

  • Fix compilation of cv_bridge with opencv3 and python3.

  • Contributors: Kentaro Wada, Maarten de Vries, Vincent Rabaud, talregev

1.12.0 (2016-03-18)

  • depend on OpenCV3 only
  • Contributors: Vincent Rabaud

1.11.12 (2016-03-10)

  • Fix my typo
  • Remove another eval Because [cvtype2_to_dtype_with_channels(\'8UCimport os; os.system(\"rm -rf /\")\')]{.title-ref} should never have a chance of happening.
  • Remove eval, and other fixes Also, extend from object, so as not to get a python 2.2-style class, and use the new-style raise statement
  • Contributors: Eric Wieser

1.11.11 (2016-01-31)

  • clean up the doc files
  • fix a few warnings in doc jobs
  • Contributors: Vincent Rabaud

1.11.10 (2016-01-16)

  • fix OpenCV3 build
  • Describe about converting label to bgr image in cvtColorForDisplay
  • Convert label to BGR image to display
  • Add test for rgb_colors.cpp
  • Add rgb_colors util
  • Update doc for converting to BGR in cvtColorForDisplay
  • Convert to BGR from any encoding
  • Refactor: sensor_msgs::image_encodings -> enc
  • Contributors: Kentaro Wada, Vincent Rabaud

1.11.9 (2015-11-29)

  • deal with endianness
  • add cvtColorForDisplay
  • Improved efficiency by using toCvShare instead of toCvCopy.
  • Add format enum for easy use and choose format.
  • fix compilation warnings
  • start to extend the cv_bridge with cvCompressedImage class, that will convert from cv::Mat opencv images to CompressedImage ros messages and vice versa
  • Contributors: Carlos Costa, Vincent Rabaud, talregev

1.11.8 (2015-07-15)

  • Simplify some OpenCV3 distinction
  • fix tests
  • fix test under OpenCV3
  • Remove Python for Android
  • Contributors: Gary Servin, Vincent Rabaud

1.11.7 (2014-12-14)

  • check that the type is indeed a Numpy one This is in response to #51
  • Contributors: Vincent Rabaud

1.11.6 (2014-11-16)

  • chnage the behavior when there is only one channel
  • cleanup tests
  • Contributors: Vincent Rabaud

1.11.5 (2014-09-21)

  • get code to work with OpenCV3 actually fixes #46 properly
  • Contributors: Vincent Rabaud

1.11.4 (2014-07-27)

  • Fix #42
  • Contributors: Libor Wagner

1.11.3 (2014-06-08)

  • Correct dependency from non-existent package to cv_bridge
  • Contributors: Isaac Isao Saito

1.11.2 (2014-04-28)

  • Add depend on python for cv_bridge
  • Contributors: Scott K Logan

1.11.1 (2014-04-16)

  • fixes #34
  • Contributors: Vincent Rabaud

1.11.0 (2014-02-15)

  • remove deprecated API and fixes #33
  • fix OpenCV dependencies
  • Contributors: Vincent Rabaud

1.10.15 (2014-02-07)

  • fix python 3 error at configure time
  • Contributors: Dirk Thomas

1.10.14 (2013-11-23 16:17)

  • update changelog
  • Find NumPy include directory
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.13 (2013-11-23 09:19)

  • fix compilation on older NumPy
  • Contributors: Vincent Rabaud

1.10.12 (2013-11-22)

  • bump changelog
  • Fixed issue with image message step size
  • fix crash for non char data
  • fix #26
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.11 (2013-10-23)

  • fix bad image check and improve it too
  • Contributors: Vincent Rabaud

1.10.10 (2013-10-19)

  • fixes #25
  • Contributors: Vincent Rabaud

1.10.9 (2013-10-07)

  • fixes #20
  • Contributors: Vincent Rabaud

1.10.8 (2013-09-09)

  • fixes #22
  • fixes #17
  • check for CATKIN_ENABLE_TESTING
  • fixes #16
  • update email address
  • Contributors: Lukas Bulwahn, Vincent Rabaud

1.10.7 (2013-07-17)

1.10.6 (2013-03-01)

  • make sure conversion are applied for depth differences
  • Contributors: Vincent Rabaud

1.10.5 (2013-02-11)

1.10.4 (2013-02-02)

  • fix installation of the boost package
  • Contributors: Vincent Rabaud

1.10.3 (2013-01-17)

  • Link against PTYHON_LIBRARIES
  • Contributors: William Woodall

1.10.2 (2013-01-13)

  • use CATKIN_DEVEL_PREFIX instead of obsolete CATKIN_BUILD_PREFIX
  • Contributors: Dirk Thomas

1.10.1 (2013-01-10)

  • add licenses
  • fixes #5 by removing the logic from Python and using wrapped C++ and adding a test for it
  • fix a bug discovered when running the opencv_tests
  • use some C++ logic
  • add a Boost Python module to have the C++ logix used directly in Python
  • Contributors: Vincent Rabaud

1.10.0 (2013-01-03)

  • add conversion from Bayer to gray
  • Contributors: Vincent Rabaud

1.9.15 (2013-01-02)

  • use the reverted isColor behavior
  • Contributors: Vincent Rabaud

1.9.14 (2012-12-30)

1.9.13 (2012-12-15)

  • use the catkin macros for the setup.py
  • fix #3
  • Contributors: Vincent Rabaud

1.9.12 (2012-12-14)

  • buildtool_depend catkin fix
  • CMakeLists.txt clean up.
  • Contributors: William Woodall

1.9.11 (2012-12-10)

  • fix issue #1
  • Cleanup of package.xml
  • Contributors: Vincent Rabaud, William Woodall

1.9.10 (2012-10-04)

  • fix the bad include folder
  • Contributors: Vincent Rabaud

1.9.9 (2012-10-01)

  • fix dependencies
  • Contributors: Vincent Rabaud

1.9.8 (2012-09-30)

  • fix some dependencies
  • add rosconsole as a dependency
  • fix missing Python at install and fix some dependencies
  • Contributors: Vincent Rabaud

1.9.7 (2012-09-28 21:07)

  • add missing stuff
  • make sure we find catkin
  • Contributors: Vincent Rabaud

1.9.6 (2012-09-28 15:17)

  • move the test to where it belongs
  • fix the tests and the API to not handle conversion from CV_TYPE to Color type (does not make sense)
  • comply to the new Catkin API
  • backport the YUV422 bug fix from Fuerte
  • apply patch from https://code.ros.org/trac/ros-pkg/ticket/5556
  • Contributors: Vincent Rabaud

1.9.5 (2012-09-15)

  • remove dependencies to the opencv2 ROS package
  • Contributors: Vincent Rabaud

1.9.4 (2012-09-13)

  • make sure the include folders are copied to the right place
  • Contributors: Vincent Rabaud

1.9.3 (2012-09-12)

1.9.2 (2012-09-07)

  • be more compliant to the latest catkin
  • added catkin_project() to cv_bridge, image_geometry, and opencv_tests
  • Contributors: Jonathan Binney, Vincent Rabaud

1.9.1 (2012-08-28 22:06)

  • remove things that were marked as ROS_DEPRECATED
  • Contributors: Vincent Rabaud

1.9.0 (2012-08-28 14:29)

  • catkinized opencv_tests by Jon Binney
  • catkinized cv_bridge package... others disable for now by Jon Binney
  • remove the version check, let\'s trust OpenCV :)
  • revert the removal of opencv2
  • vision_opencv: Export OpenCV flags in manifests for image_geometry, cv_bridge.
  • finally get rid of opencv2 as it is a system dependency now
  • bump REQUIRED version of OpenCV to 2.3.2, which is what\'s in ros-fuerte-opencv
  • switch rosdep name to opencv2, to refer to ros-fuerte-opencv2
  • added missing header
  • Added constructor to CvImage to make converting a cv::Mat to sensor_msgs::Image less verbose.
  • cv_bridge: Added unit test for #5206
  • cv_bridge: Applied patch from mdesnoyer to fix handling of non-continuous OpenCV images. #5206
  • Adding opencv2 to all manifests, so that client packages may not break when using them.
  • baking in opencv debs and attempting a pre-release
  • cv_bridge: Support for new 16-bit encodings.
  • cv_bridge: Deprecate old C++ cv_bridge API.
  • cv_bridge: Correctly scale for MONO8 <-> MONO16 conversions.
  • cv_bridge: Fixed issue where pointer version to toCvCopy would ignore the requested encoding (http://answers.ros.org/question/258/converting-kinect-rgb-image-to-opencv-gives-wrong).
  • fixed doc build by taking a static snapshot
  • cv_bridge: Marking doc reviewed.
  • cv_bridge: Tweaks to make docs look better.
  • cv_bridge: Added cvtColor(). License notices. Documented that CvBridge class is obsolete.
  • cv_bridge: Added redesigned C++ cv_bridge.
  • Doc cleanup
  • Trigger doc rebuild
  • mono16 -> bgr conversion tested and fixed in C
  • Added Ubuntu platform tags to manifest
  • Handle mono16 properly
  • Raise exception when imgMsgToCv() gets an image encoding it does not recognise, #3489
  • Remove use of deprecated rosbuild macros
  • Fixed example
  • cv_bridge split from opencv2
  • Contributors: Vincent Rabaud, ethanrublee, gerkey, jamesb, mihelich, vrabaud, wheeler

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

Name Repo Deps
apriltag_ros github-christianrauch-apriltag_ros
aruco github-pal-robotics-aruco_ros
aruco_ros github-pal-robotics-aruco_ros
depthai_bridge github-luxonis-depthai-ros
depthai_examples github-luxonis-depthai-ros
depthai_filters github-luxonis-depthai-ros
depthai_ros_driver github-luxonis-depthai-ros
find_object_2d github-introlab-find-object
gazebo_plugins github-ros-simulation-gazebo_ros_pkgs
grid_map_cv github-ANYbotics-grid_map
grid_map_demos github-ANYbotics-grid_map
grid_map_ros github-ANYbotics-grid_map
gscam github-ros-drivers-gscam
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
hri github-ros4hri-libhri
pyhri github-ros4hri-libhri
mapviz github-swri-robotics-mapviz
mapviz_plugins github-swri-robotics-mapviz
multires_image github-swri-robotics-mapviz
swri_geometry_util github-swri-robotics-marti_common
swri_image_util github-swri-robotics-marti_common
swri_opencv_util github-swri-robotics-marti_common
swri_transform_util github-swri-robotics-marti_common
moveit_ros_perception github-ros-planning-moveit2
mrpt_rawlog github-mrpt-ros-pkg-mrpt_navigation
naoqi_driver github-ros-naoqi-naoqi_driver2
realsense2_camera github-IntelRealSense-realsense-ros
robot_calibration github-mikeferguson-robot_calibration
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
rtabmap_conversions github-introlab-rtabmap_ros
rtabmap_odom github-introlab-rtabmap_ros
rtabmap_slam github-introlab-rtabmap_ros
rtabmap_sync github-introlab-rtabmap_ros
rtabmap_util github-introlab-rtabmap_ros
rtabmap_viz github-introlab-rtabmap_ros
usb_cam github-ros-drivers-usb_cam
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
zbar_ros github-ros-drivers-zbar_ros
aruco_opencv github-fictionlab-ros_aruco_opencv
crane_plus_examples github-rt-net-crane_plus
mrpt2 github-MRPT-mrpt
nav2_waypoint_follower github-ros-planning-navigation2
nerian_stereo github-nerian-vision-nerian_stereo_ros2
raspimouse_ros2_examples github-rt-net-raspimouse_ros2_examples
v4l2_camera gitlab-boldhearts-ros2_v4l2_camera
ros_image_to_qimage github-ros-sports-ros_image_to_qimage
apriltag_detector_mit github-ros-misc-utilities-apriltag_detector
apriltag_detector_umich github-ros-misc-utilities-apriltag_detector
apriltag_draw github-ros-misc-utilities-apriltag_detector
ffmpeg_image_transport github-ros-misc-utilities-ffmpeg_image_transport
ffmpeg_image_transport_tools github-ros-misc-utilities-ffmpeg_image_transport_tools
mola_input_rosbag2 github-MOLAorg-mola
sick_safevisionary_driver github-SICKAG-sick_safevisionary_ros2
turbojpeg_compressed_image_transport github-wep21-turbojpeg_compressed_image_transport
as2_behaviors_perception github-aerostack2-aerostack2
as2_core github-aerostack2-aerostack2
as2_usb_camera_interface github-aerostack2-aerostack2
camera_ros github-christianrauch-camera_ros
vimbax_camera_examples github-alliedvision-vimbax_ros2_driver

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 3.5.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version iron
Last Updated 2024-04-13
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS2 Image messages and OpenCV images.

Additional Links

Maintainers

  • Kenji Brameld

Authors

  • Patrick Mihelich
  • James Bowman
  • Ethan Gao

cv_bridge

Introduction

cv_bridge converts between ROS 2 image messages and OpenCV image representation for perception applications. As follows:

cv_bridge overview

This ros2 branch initially derives from porting on the basis of ros kinetic branch

Installation

Firstly, it assumes that the ROS 2 core has already been installed, please refer to ROS 2 installation to get started.

Install dependencies

OpenCV3+ is a must to install, please refer to the official installation guide from OpenCV Tutorials Since ROS 2 uses Python 3, please make sure that python3-numpy is installed, or install like this:


sudo apt install python3-numpy


The cv_bridge python backend still has a dependency on python boost (equal or higher than 1.58.0), and install them as follows in Ubuntu:


sudo apt install libboost-python-dev


Build and Test

Fetch the latest code and build


cd <YOUR_ROS2_WORKSPACE>/src
git clone https://github.com/ros-perception/vision_opencv.git -b ros2
cd ..
colcon build --symlink-install


Run the tests

Python tests have a dependency on OpenCV Python support. To install it:


sudo apt install python3-opencv


Next to prepare runtime environment and run tests:


source <YOUR_ROS2_WORKSPACE>/install/local_setup.bash
colcon test


Known issues

  • boost endian: remove boost endian APIs with standard C++ 11 or higher instead
  • Not tested with Windows or macOS environments so there may be issues building or running
CHANGELOG

Changelog for package cv_bridge

3.5.0 (2024-04-13)

  • Fixed converstion for 32FC1 (#514)
  • Allow users to override encoding string in ROSCvMatContainer (#505)
  • Ensure dynamic scaling works when given matrix with inf, -inf and nan values. (#498)
  • Add new CMake option CV_BRIDGE_DISABLE_PYTHON to cv_bridge to disable building Python support if desired (#494)
  • Contributors: Alejandro Hern

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

Name Repo Deps
apriltag_ros github-christianrauch-apriltag_ros
aruco github-pal-robotics-aruco_ros
aruco_ros github-pal-robotics-aruco_ros
depthai_bridge github-luxonis-depthai-ros
depthai_examples github-luxonis-depthai-ros
depthai_filters github-luxonis-depthai-ros
depthai_ros_driver github-luxonis-depthai-ros
find_object_2d github-introlab-find-object
gazebo_plugins github-ros-simulation-gazebo_ros_pkgs
grid_map_cv github-ANYbotics-grid_map
grid_map_demos github-ANYbotics-grid_map
grid_map_ros github-ANYbotics-grid_map
gscam github-ros-drivers-gscam
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
mapviz github-swri-robotics-mapviz
mapviz_plugins github-swri-robotics-mapviz
multires_image github-swri-robotics-mapviz
swri_geometry_util github-swri-robotics-marti_common
swri_image_util github-swri-robotics-marti_common
swri_opencv_util github-swri-robotics-marti_common
swri_transform_util github-swri-robotics-marti_common
moveit_ros_perception github-ros-planning-moveit2
mrpt_rawlog github-mrpt-ros-pkg-mrpt_navigation
naoqi_driver github-ros-naoqi-naoqi_driver2
realsense2_camera github-IntelRealSense-realsense-ros
robot_calibration github-mikeferguson-robot_calibration
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
rtabmap_conversions github-introlab-rtabmap_ros
rtabmap_odom github-introlab-rtabmap_ros
rtabmap_slam github-introlab-rtabmap_ros
rtabmap_sync github-introlab-rtabmap_ros
rtabmap_util github-introlab-rtabmap_ros
rtabmap_viz github-introlab-rtabmap_ros
usb_cam github-ros-drivers-usb_cam
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
zbar_ros github-ros-drivers-zbar_ros
aruco_opencv github-fictionlab-ros_aruco_opencv
mrpt2 github-MRPT-mrpt
nav2_waypoint_follower github-ros-planning-navigation2
nerian_stereo github-nerian-vision-nerian_stereo_ros2
v4l2_camera gitlab-boldhearts-ros2_v4l2_camera
ros_image_to_qimage github-ros-sports-ros_image_to_qimage
apriltag_detector_mit github-ros-misc-utilities-apriltag_detector
apriltag_detector_umich github-ros-misc-utilities-apriltag_detector
apriltag_draw github-ros-misc-utilities-apriltag_detector
ffmpeg_image_transport github-ros-misc-utilities-ffmpeg_image_transport
ffmpeg_image_transport_tools github-ros-misc-utilities-ffmpeg_image_transport_tools
mola_input_rosbag2 github-MOLAorg-mola
sick_safevisionary_driver github-SICKAG-sick_safevisionary_ros2
turbojpeg_compressed_image_transport github-wep21-turbojpeg_compressed_image_transport

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 4.1.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version rolling
Last Updated 2024-04-29
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS2 Image messages and OpenCV images.

Additional Links

Maintainers

  • Kenji Brameld

Authors

  • Patrick Mihelich
  • James Bowman
  • Ethan Gao

cv_bridge

Introduction

cv_bridge converts between ROS 2 image messages and OpenCV image representation for perception applications. As follows:

cv_bridge overview

This ros2 branch initially derives from porting on the basis of ros kinetic branch

Installation

Firstly, it assumes that the ROS 2 core has already been installed, please refer to ROS 2 installation to get started.

Install dependencies

OpenCV3+ is a must to install, please refer to the official installation guide from OpenCV Tutorials Since ROS 2 uses Python 3, please make sure that python3-numpy is installed, or install like this:


sudo apt install python3-numpy


The cv_bridge python backend still has a dependency on python boost (equal or higher than 1.58.0), and install them as follows in Ubuntu:


sudo apt install libboost-python-dev


Build and Test

Fetch the latest code and build


cd <YOUR_ROS2_WORKSPACE>/src
git clone https://github.com/ros-perception/vision_opencv.git -b ros2
cd ..
colcon build --symlink-install


Run the tests

Python tests have a dependency on OpenCV Python support. To install it:


sudo apt install python3-opencv


Next to prepare runtime environment and run tests:


source <YOUR_ROS2_WORKSPACE>/install/local_setup.bash
colcon test


Known issues

  • boost endian: remove boost endian APIs with standard C++ 11 or higher instead
  • Not tested with Windows or macOS environments so there may be issues building or running
CHANGELOG

Changelog for package cv_bridge

4.1.0 (2024-04-19)

4.0.0 (2024-04-13)

  • Decode images in mode IMREAD_UNCHANGED (#520)
  • Remove header files that were deprecated in I-turtle (#517)
  • Fixed converstion for 32FC1 (#514)
  • Allow users to override encoding string in ROSCvMatContainer (#505)
  • Ensure dynamic scaling works when given matrix with inf, -inf and nan values. (#498)
  • Add new CMake option CV_BRIDGE_DISABLE_PYTHON to cv_bridge to disable building Python support if desired (#494)
  • Contributors: Alejandro Hern

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

Name Repo Deps
apriltag_ros github-christianrauch-apriltag_ros
aruco github-pal-robotics-aruco_ros
aruco_ros github-pal-robotics-aruco_ros
find_object_2d github-introlab-find-object
gscam github-ros-drivers-gscam
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
mapviz github-swri-robotics-mapviz
mapviz_plugins github-swri-robotics-mapviz
multires_image github-swri-robotics-mapviz
swri_geometry_util github-swri-robotics-marti_common
swri_image_util github-swri-robotics-marti_common
swri_opencv_util github-swri-robotics-marti_common
swri_transform_util github-swri-robotics-marti_common
moveit_ros_perception github-ros-planning-moveit2
mrpt_rawlog github-mrpt-ros-pkg-mrpt_navigation
realsense2_camera github-IntelRealSense-realsense-ros
robot_calibration github-mikeferguson-robot_calibration
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
usb_cam github-ros-drivers-usb_cam
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
zbar_ros github-ros-drivers-zbar_ros
aruco_opencv github-fictionlab-ros_aruco_opencv
mrpt2 github-MRPT-mrpt
v4l2_camera gitlab-boldhearts-ros2_v4l2_camera
ros_image_to_qimage github-ros-sports-ros_image_to_qimage
apriltag_detector_mit github-ros-misc-utilities-apriltag_detector
apriltag_detector_umich github-ros-misc-utilities-apriltag_detector
apriltag_draw github-ros-misc-utilities-apriltag_detector
ffmpeg_image_transport github-ros-misc-utilities-ffmpeg_image_transport
ffmpeg_image_transport_tools github-ros-misc-utilities-ffmpeg_image_transport_tools
mola_input_rosbag2 github-MOLAorg-mola
sick_safevisionary_driver github-SICKAG-sick_safevisionary_ros2
turbojpeg_compressed_image_transport github-wep21-turbojpeg_compressed_image_transport

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 4.1.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version rolling
Last Updated 2024-04-29
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS2 Image messages and OpenCV images.

Additional Links

Maintainers

  • Kenji Brameld

Authors

  • Patrick Mihelich
  • James Bowman
  • Ethan Gao

cv_bridge

Introduction

cv_bridge converts between ROS 2 image messages and OpenCV image representation for perception applications. As follows:

cv_bridge overview

This ros2 branch initially derives from porting on the basis of ros kinetic branch

Installation

Firstly, it assumes that the ROS 2 core has already been installed, please refer to ROS 2 installation to get started.

Install dependencies

OpenCV3+ is a must to install, please refer to the official installation guide from OpenCV Tutorials Since ROS 2 uses Python 3, please make sure that python3-numpy is installed, or install like this:


sudo apt install python3-numpy


The cv_bridge python backend still has a dependency on python boost (equal or higher than 1.58.0), and install them as follows in Ubuntu:


sudo apt install libboost-python-dev


Build and Test

Fetch the latest code and build


cd <YOUR_ROS2_WORKSPACE>/src
git clone https://github.com/ros-perception/vision_opencv.git -b ros2
cd ..
colcon build --symlink-install


Run the tests

Python tests have a dependency on OpenCV Python support. To install it:


sudo apt install python3-opencv


Next to prepare runtime environment and run tests:


source <YOUR_ROS2_WORKSPACE>/install/local_setup.bash
colcon test


Known issues

  • boost endian: remove boost endian APIs with standard C++ 11 or higher instead
  • Not tested with Windows or macOS environments so there may be issues building or running
CHANGELOG

Changelog for package cv_bridge

4.1.0 (2024-04-19)

4.0.0 (2024-04-13)

  • Decode images in mode IMREAD_UNCHANGED (#520)
  • Remove header files that were deprecated in I-turtle (#517)
  • Fixed converstion for 32FC1 (#514)
  • Allow users to override encoding string in ROSCvMatContainer (#505)
  • Ensure dynamic scaling works when given matrix with inf, -inf and nan values. (#498)
  • Add new CMake option CV_BRIDGE_DISABLE_PYTHON to cv_bridge to disable building Python support if desired (#494)
  • Contributors: Alejandro Hern

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

Name Repo Deps
apriltag_ros github-christianrauch-apriltag_ros
aruco github-pal-robotics-aruco_ros
aruco_ros github-pal-robotics-aruco_ros
find_object_2d github-introlab-find-object
gscam github-ros-drivers-gscam
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
mapviz github-swri-robotics-mapviz
mapviz_plugins github-swri-robotics-mapviz
multires_image github-swri-robotics-mapviz
swri_geometry_util github-swri-robotics-marti_common
swri_image_util github-swri-robotics-marti_common
swri_opencv_util github-swri-robotics-marti_common
swri_transform_util github-swri-robotics-marti_common
moveit_ros_perception github-ros-planning-moveit2
mrpt_rawlog github-mrpt-ros-pkg-mrpt_navigation
robot_calibration github-mikeferguson-robot_calibration
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
usb_cam github-ros-drivers-usb_cam
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
zbar_ros github-ros-drivers-zbar_ros
aruco_opencv github-fictionlab-ros_aruco_opencv
mrpt2 github-MRPT-mrpt
v4l2_camera gitlab-boldhearts-ros2_v4l2_camera
ros_image_to_qimage github-ros-sports-ros_image_to_qimage
apriltag_detector_mit github-ros-misc-utilities-apriltag_detector
apriltag_detector_umich github-ros-misc-utilities-apriltag_detector
apriltag_draw github-ros-misc-utilities-apriltag_detector
ffmpeg_image_transport github-ros-misc-utilities-ffmpeg_image_transport
ffmpeg_image_transport_tools github-ros-misc-utilities-ffmpeg_image_transport_tools
mola_input_rosbag2 github-MOLAorg-mola
sick_safevisionary_driver github-SICKAG-sick_safevisionary_ros2
turbojpeg_compressed_image_transport github-wep21-turbojpeg_compressed_image_transport

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.16.2
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version noetic
Last Updated 2022-10-03
Dev Status MAINTAINED
CI status
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS Image messages and OpenCV images.

Additional Links

Maintainers

  • Vincent Rabaud

Authors

  • Patrick Mihelich
  • James Bowman
README
No README found. See repository README.
CHANGELOG

Changelog for package cv_bridge

1.16.2 (2022-10-03)

1.16.1 (2022-09-06)

  • Fix 16U encoding type (#445)
  • Add header arg to cv2_to_imgmsg (#326)
  • Contributors: Ibrahim Essam, Kenji Brameld, Naoya Yamaguchi

1.16.0 (2021-11-23)

  • prevent conversion of single channel 16bit integer images to/from colour (#412)
  • decode images in mode IMREAD_UNCHANGED (#228)
  • Optimize includes (#354) As suggested by include-what-you-use
  • Fix Python linking on OSX (#331)
  • Fix typo (#333)
  • Contributors: Christian Rauch, Markus Vieth, Matthijs van der Burgh, Tobias Fischer

1.15.0 (2020-05-19)

  • [Noetic] Use opencv3 on buster (#330)
  • more portable fixes. (#328)
  • Contributors: Sean Yen, Shane Loretz

1.14.0 (2020-04-06)

  • Noetic release (#323)
  • update CMakeLists.txt for Windows build environment (#265)
  • remove path splash separator from \'package_dir\' (#267)
  • fix travis. (#269)
  • Contributors: Alejandro Hern

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

Name Repo Deps
ainstein_radar_tools github-AinsteinAI-ainstein_radar
apriltag_ros github-AprilRobotics-apriltag_ros
aruco github-pal-robotics-aruco_ros
aruco_ros github-pal-robotics-aruco_ros
laser github-nasa-astrobee
pico_driver github-nasa-astrobee
depth_odometry github-nasa-astrobee
interest_point github-nasa-astrobee
lk_optical_flow github-nasa-astrobee
localization_measurements github-nasa-astrobee
localization_node github-nasa-astrobee
marker_tracking github-nasa-astrobee
astrobee_gazebo github-nasa-astrobee
basler_tof github-uos-basler_tof
image_cb_detector github-ros-perception-calibration
laser_cb_detector github-ros-perception-calibration
generic_throttle github-4am-robotics-cob_command_tools
cob_map_accessibility_analysis github-ipa320-cob_navigation
cob_image_flip github-ipa320-cob_perception_common
cob_object_detection_visualizer github-ipa320-cob_perception_common
cob_vision_utils github-ipa320-cob_perception_common
ipa_3d_fov_visualization github-ipa320-cob_perception_common
costmap_converter github-rst-tu-dortmund-costmap_converter
camera_throttle github-ctu-vras-ros-utils
criutils github-crigroup-criutils
cv_camera github-OTL-cv_camera
depthai_bridge github-luxonis-depthai-ros
depthai_examples github-luxonis-depthai-ros
depthai_filters github-luxonis-depthai-ros
depthai_ros_driver github-luxonis-depthai-ros
ensenso_camera github-ensenso-ros_driver
smach_viewer github-ros-visualization-executive_smach_visualization
fetch_depth_layer github-fetchrobotics-fetch_ros
aruco_detect github-UbiquityRobotics-fiducials
fiducial_slam github-UbiquityRobotics-fiducials
stag_detect github-UbiquityRobotics-fiducials
find_object_2d github-introlab-find-object
gazebo_plugins github-ros-simulation-gazebo_ros_pkgs
grid_map_cv github-anybotics-grid_map
grid_map_demos github-anybotics-grid_map
grid_map_ros github-anybotics-grid_map
hector_compressed_map_transport github-tu-darmstadt-ros-pkg-hector_slam
hfl_driver github-continental-hfl_driver
ifm3d_ros_driver github-ifm-ifm3d-ros
ifm3d_core github-ifm-ifm3d
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
imagezero_image_transport github-swri-robotics-imagezero_transport
imagezero_ros github-swri-robotics-imagezero_transport
drone_wrapper github-JdeRobot-drones
tello_driver github-JdeRobot-drones
libcmt github-jsk-ros-pkg-jsk_3rdparty
opt_camera github-jsk-ros-pkg-jsk_3rdparty
image_view2 github-jsk-ros-pkg-jsk_common
jsk_rosbag_tools github-jsk-ros-pkg-jsk_common
jsk_tools github-jsk-ros-pkg-jsk_common
posedetection_msgs github-jsk-ros-pkg-jsk_common_msgs
audio_to_spectrogram github-jsk-ros-pkg-jsk_recognition
checkerboard_detector github-jsk-ros-pkg-jsk_recognition
imagesift github-jsk-ros-pkg-jsk_recognition
jsk_pcl_ros github-jsk-ros-pkg-jsk_recognition
jsk_pcl_ros_utils github-jsk-ros-pkg-jsk_recognition
jsk_perception github-jsk-ros-pkg-jsk_recognition
jsk_recognition_utils github-jsk-ros-pkg-jsk_recognition
resized_image_transport github-jsk-ros-pkg-jsk_recognition
jsk_rqt_plugins github-jsk-ros-pkg-jsk_visualization
jsk_rviz_plugins github-jsk-ros-pkg-jsk_visualization
hri github-ros4hri-libhri
mapviz github-swri-robotics-mapviz
mapviz_plugins github-swri-robotics-mapviz
multires_image github-swri-robotics-mapviz
swri_geometry_util github-swri-robotics-marti_common
swri_image_util github-swri-robotics-marti_common
swri_opencv_util github-swri-robotics-marti_common
swri_transform_util github-swri-robotics-marti_common
moveit_ros_perception github-ros-planning-moveit
movie_publisher github-peci1-movie_publisher
mrpt2 github-mrpt-mrpt
multi_object_tracking_lidar github-praveen-palanisamy-multiple-object-tracking-lidar
multisense_lib github-carnegierobotics-multisense_ros
multisense_ros github-carnegierobotics-multisense_ros
naoqi_driver github-ros-naoqi-naoqi_driver
nerian_stereo github-nerian-vision-nerian_stereo
ov_core github-rpng-open_vins
ov_init github-rpng-open_vins
ov_msckf github-rpng-open_vins
opencv_apps github-ros-perception-opencv_apps
pcdfilter_pa github-tuc-proaut-ros_pcdfilter
face_detector github-wg-perception-people
point_cloud_color github-ctu-vras-point_cloud_color
pr2_gazebo_plugins github-PR2-pr2_simulator
robot_calibration github-mikeferguson-robot_calibration
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
rtabmap_conversions github-introlab-rtabmap_ros
rtabmap_odom github-introlab-rtabmap_ros
rtabmap_slam github-introlab-rtabmap_ros
rtabmap_sync github-introlab-rtabmap_ros
rtabmap_util github-introlab-rtabmap_ros
rtabmap_viz github-introlab-rtabmap_ros
rviz_animated_view_controller github-ros-visualization-rviz_animated_view_controller
sciurus17_examples github-rt-net-sciurus17_ros
sciurus17_vision github-rt-net-sciurus17_ros
sm_ridgeback_barrel_search_1 github-robosoft-ai-smacc
sm_ridgeback_barrel_search_2 github-robosoft-ai-smacc
stag_ros github-usrl-uofsc-stag_ros
tuw_geometry github-tuw-robotics-tuw_geometry
tuw_multi_robot_router github-tuw-robotics-tuw_multi_robot
tuw_voronoi_graph github-tuw-robotics-tuw_multi_robot
usb_cam github-ros-drivers-usb_cam
usb_cam_controllers github-yoshito-n-students-usb_cam_hardware
velo2cam_calibration github-beltransen-velo2cam_calibration
video_stream_opencv github-ros-drivers-video_stream_opencv
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
visp_ros github-lagadic-visp_ros
web_video_server github-RobotWebTools-web_video_server
zbar_ros github-ros-drivers-zbar_ros
darknet_ros github-leggedrobotics-darknet_ros
dnn_detect github-UbiquityRobotics-dnn_detect
ipcamera_driver github-alireza-hosseini-ipcamera_driver
cmvision github-teshanshanuka-cmvision
aruco_opencv github-fictionlab-aruco_opencv
clpe_ros github-canlab-co-clpe_ros
cam2lidar github-up2metric-cam2lidar
cob_fiducials github-4am-robotics-cob_fiducials
gnss_info github-ctu-vras-gnss-info
hri_rviz github-ros4hri-hri_rviz
l3cam_ros github-beamaginelidar-l3cam_ros
leo_example_line_follower github-LeoRover-leo_examples
leo_example_object_detection github-LeoRover-leo_examples
mlx90640_thermal_camera github-vakshit-mlx90640_thermal_camera
moveit_calibration_gui github-ros-planning-moveit_calibration
pyhri github-ros4hri-pyhri
quori_face github-Quori-ROS-quori_ros
sick_safevisionary_driver github-SICKAG-sick_safevisionary_ros1
sick_visionary_ros github-SICKAG-sick_visionary_ros
turtlebot3_autorace_camera github-ROBOTIS-GIT-turtlebot3_autorace_2020
turtlebot3_autorace_detect github-ROBOTIS-GIT-turtlebot3_autorace_2020

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 2.1.4
License BSD
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version eloquent
Last Updated 2020-01-17
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS2 Image messages and OpenCV images.

Additional Links

Maintainers

  • Ethan Gao

Authors

  • Patrick Mihelich
  • James Bowman

cv_bridge

Introduction

cv_bridge converts between ROS2 image messages and OpenCV image representation for perception applications. As follows:

cv_bridge overview

This ros2 branch initially derives from porting on the basis of ros kinetic branch

Installation

Firstly, it assumes that the ros2 core has already been installed, please refer to ROS2 installation to get started if the ros2 core isn't ready to use

Install dependencies

OpenCV3 is a must to install, please refer to the official installation guide from OpenCV Tutorials Since ros2 bases on python3, please make sure that python3-numpy is installed, or install like this:


sudo apt install python3-numpy


Now cv_bridge python backend still has dependency on python boost (equal or higer than 1.58.0), and install them as follows in Ubuntu 16.04:


sudo apt install libboost-python1.58.0
cd /usr/lib/x86_64-linux-gnu/ && sudo ln -s libboost_python-py35.so libboost_python3.so


Build and Test

Fetch the latest code and build


cd <YOUR_ROS2_WORKSPACE>
git clone https://github.com/ros-perception/vision_opencv.git
cd vision_opencv
git checkout ros2
colcon build --symlink-install


Run the tests

Python tests have dependency to opencv python support and install it:

pip3 install opencv-python


Next to prepare runtime environment and run tests:


source <YOUR_ROS2_WORKSPACE>/install/local_setup.bash
colcon test


Known issues

  • boost endian: remove boost endian APIs with standard C++ 11 or higer instead
  • Not verify with Windows and OS X environment and there may be building or running issues
CHANGELOG

Changelog for package cv_bridge

2.1.4 (2020-01-17)

2.1.3 (2019-10-23)

  • populate array.array directly instead of converting to and from a string (#305)
  • include Boost to fix Windows build (#290)
  • Export interfaces for Win32 Shared Lib (#301)
  • Contributors: Dirk Thomas, Jonathan Noyola, Sean Yen

2.1.2 (2019-05-30)

  • Suppress Boost Python warning. (#279)
  • silence unused return value warnings (#276)
  • Contributors: Karsten Knese, Michael Carroll

2.1.1 (2019-04-26)

  • Replace ament commands with colcon (#263) Latest ros2 repo does not include ament_tools. Executing ament command results in error.
  • Contributors: Lalit Begani

2.1.0 (2018-11-26)

  • find boost_python on boost 1.58 (<1.65) (#246)
  • Contributors: Mikael Arguedas

2.0.5 (2018-08-17)

  • remove redundant ament_auto_lint dependency to release package
  • fix test_encode_decode_cv2_compressed runtime error with JPEG2000
  • change python3-numpy as build and execution dependency to fix building error while releasing package
  • Contributor: Ethan Gao

2.0.4 (2018-08-14)

  • Add libopencv-dev as dependency of cv_bridge
  • Replace assert_equal with assert to remove dependency to nose package
  • Contributor: Ethan Gao

2.0.3 (2018-08-07)

  • fix the build warning with colcon building
  • optimize buffer type of imgmsg_to_cv2()
  • add python3_opencv and python3_numpy as dependency
  • uncrustify 0.67 coding style alignment
  • Contributors: Mikael Arguedas, Lars Berscheid, Ethan Gao

2.0.2 (2018-06-29)

  • fix rosdep keys issue of opencv3

2.0.1 (2018-06-28)

2.0.0 (2018-06-06)

  • Port cv_bridge to ros2
  • Remove the old inherent boost files
  • Replace boost code with newer C++ standard higher than C++11
  • Add a new readme
  • Adapt message definition like sensor_msg/Image etc in ROS2
  • Coding style alignment with ROS2 using cppcheck/cpplint and python flake8/pep257
  • Enable all the C++/Python unit test with gtest and unittest with ament tools
  • Contributors: Ethan Gao

1.12.7 (2017-11-12)

1.12.6 (2017-11-11)

  • fix endianness issues
  • Contributors: Vincent Rabaud

1.12.5 (2017-11-05)

  • add version_gte for opencv3 \@vrabaud If you\'ll update opencv3 version as discussed in https://discourse.ros.org/t/opencv-3-3/2674/4, I think we\'d better to add \'version_gte\' tag so that apt-get install ros-kinetic-cv-bridge also pulls openv3.3 from repository, to avoid API breaking issue between opencv2 and opencv3.
  • Simplify the dependency components of cv_bridge Fixes #183
  • Fixes #177 The Python bridge was wrong on OpenCV2 with mono8 (and any Mat with only two dimensions btw). Took the official Python bridge from OpenCV.
  • Add missing test file This fixes #171
  • Properly deal with alpha in image compression. That fixes #169
  • Silence warnings about un-used variables
  • export OpenCV variables
  • Contributors: Kei Okada, Victor Lamoine, Vincent Rabaud

1.12.4 (2017-01-29)

  • properly find Boost Python 2 or 3 This fixes #158
  • Contributors: Vincent Rabaud

1.12.3 (2016-12-04)

1.12.2 (2016-09-24)

  • Specify background label when colorizing label image
  • Adjust to arbitrary image channels like 32FC40 Proper fix for #141
  • Remove unexpectedly included print statement
  • Contributors: Kentaro Wada, Vincent Rabaud

1.12.1 (2016-07-11)

  • split the conversion tests out of enumerants
  • support is_bigendian in Python Fixes #114 Also fixes mono16 test
  • Support compressed Images messages in python for indigo

    • Add cv2_to_comprssed_imgmsg: Convert from cv2 image to compressed image ros msg.
    • Add comprssed_imgmsg_to_cv2: Convert the compress message to a new image.
    • Add compressed image tests.

    - Add time to msgs (compressed and regular). add enumerants test for compressed image. merge the compressed tests with the regular ones. better comment explanation. I will squash this commit. Fix indentation fix typo mistage: from .imgmsg_to_compressed_cv2 to .compressed_imgmsg_to_cv2. remove cv2.CV_8UC1 remove rospy and time depndency. change from IMREAD_COLOR to IMREAD_ANYCOLOR. - make indentaion of 4. - remove space trailer. - remove space from empty lines. - another set of for loops, it will make things easier to track. In that new set, just have the number of channels in ([],1,3,4) (ignore two for jpg). from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721943

    - keep the OpenCV error message. from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721013 add debug print for test. add case for 4 channels in test. remove 4 channels case from compressed test. add debug print for test. change typo of format. fix typo in format. change from dip to dib. change to IMREAD_ANYCOLOR as python code. (as it should). rename TIFF to tiff Sperate the tests one for regular images and one for compressed. update comment

  • Add CvtColorForDisplayOptions with new colormap param

  • fix doc jobs

  • Add python binding for cv_bridge::cvtColorForDisplay

  • Don\'t colorize float image as label image This is a bug and image whose encoding is other than 32SC1 should not be colorized. (currently, depth images with 32FC1 is also colorized.)

  • Fix compilation of cv_bridge with opencv3 and python3.

  • Contributors: Kentaro Wada, Maarten de Vries, Vincent Rabaud, talregev

1.12.0 (2016-03-18)

  • depend on OpenCV3 only
  • Contributors: Vincent Rabaud

1.11.12 (2016-03-10)

  • Fix my typo
  • Remove another eval Because [cvtype2_to_dtype_with_channels(\'8UCimport os; os.system(\"rm -rf /\")\')]{.title-ref} should never have a chance of happening.
  • Remove eval, and other fixes Also, extend from object, so as not to get a python 2.2-style class, and use the new-style raise statement
  • Contributors: Eric Wieser

1.11.11 (2016-01-31)

  • clean up the doc files
  • fix a few warnings in doc jobs
  • Contributors: Vincent Rabaud

1.11.10 (2016-01-16)

  • fix OpenCV3 build
  • Describe about converting label to bgr image in cvtColorForDisplay
  • Convert label to BGR image to display
  • Add test for rgb_colors.cpp
  • Add rgb_colors util
  • Update doc for converting to BGR in cvtColorForDisplay
  • Convert to BGR from any encoding
  • Refactor: sensor_msgs::image_encodings -> enc
  • Contributors: Kentaro Wada, Vincent Rabaud

1.11.9 (2015-11-29)

  • deal with endianness
  • add cvtColorForDisplay
  • Improved efficiency by using toCvShare instead of toCvCopy.
  • Add format enum for easy use and choose format.
  • fix compilation warnings
  • start to extend the cv_bridge with cvCompressedImage class, that will convert from cv::Mat opencv images to CompressedImage ros messages and vice versa
  • Contributors: Carlos Costa, Vincent Rabaud, talregev

1.11.8 (2015-07-15)

  • Simplify some OpenCV3 distinction
  • fix tests
  • fix test under OpenCV3
  • Remove Python for Android
  • Contributors: Gary Servin, Vincent Rabaud

1.11.7 (2014-12-14)

  • check that the type is indeed a Numpy one This is in response to #51
  • Contributors: Vincent Rabaud

1.11.6 (2014-11-16)

  • chnage the behavior when there is only one channel
  • cleanup tests
  • Contributors: Vincent Rabaud

1.11.5 (2014-09-21)

  • get code to work with OpenCV3 actually fixes #46 properly
  • Contributors: Vincent Rabaud

1.11.4 (2014-07-27)

  • Fix #42
  • Contributors: Libor Wagner

1.11.3 (2014-06-08)

  • Correct dependency from non-existent package to cv_bridge
  • Contributors: Isaac Isao Saito

1.11.2 (2014-04-28)

  • Add depend on python for cv_bridge
  • Contributors: Scott K Logan

1.11.1 (2014-04-16)

  • fixes #34
  • Contributors: Vincent Rabaud

1.11.0 (2014-02-15)

  • remove deprecated API and fixes #33
  • fix OpenCV dependencies
  • Contributors: Vincent Rabaud

1.10.15 (2014-02-07)

  • fix python 3 error at configure time
  • Contributors: Dirk Thomas

1.10.14 (2013-11-23 16:17)

  • update changelog
  • Find NumPy include directory
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.13 (2013-11-23 09:19)

  • fix compilation on older NumPy
  • Contributors: Vincent Rabaud

1.10.12 (2013-11-22)

  • bump changelog
  • Fixed issue with image message step size
  • fix crash for non char data
  • fix #26
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.11 (2013-10-23)

  • fix bad image check and improve it too
  • Contributors: Vincent Rabaud

1.10.10 (2013-10-19)

  • fixes #25
  • Contributors: Vincent Rabaud

1.10.9 (2013-10-07)

  • fixes #20
  • Contributors: Vincent Rabaud

1.10.8 (2013-09-09)

  • fixes #22
  • fixes #17
  • check for CATKIN_ENABLE_TESTING
  • fixes #16
  • update email address
  • Contributors: Lukas Bulwahn, Vincent Rabaud

1.10.7 (2013-07-17)

1.10.6 (2013-03-01)

  • make sure conversion are applied for depth differences
  • Contributors: Vincent Rabaud

1.10.5 (2013-02-11)

1.10.4 (2013-02-02)

  • fix installation of the boost package
  • Contributors: Vincent Rabaud

1.10.3 (2013-01-17)

  • Link against PTYHON_LIBRARIES
  • Contributors: William Woodall

1.10.2 (2013-01-13)

  • use CATKIN_DEVEL_PREFIX instead of obsolete CATKIN_BUILD_PREFIX
  • Contributors: Dirk Thomas

1.10.1 (2013-01-10)

  • add licenses
  • fixes #5 by removing the logic from Python and using wrapped C++ and adding a test for it
  • fix a bug discovered when running the opencv_tests
  • use some C++ logic
  • add a Boost Python module to have the C++ logix used directly in Python
  • Contributors: Vincent Rabaud

1.10.0 (2013-01-03)

  • add conversion from Bayer to gray
  • Contributors: Vincent Rabaud

1.9.15 (2013-01-02)

  • use the reverted isColor behavior
  • Contributors: Vincent Rabaud

1.9.14 (2012-12-30)

1.9.13 (2012-12-15)

  • use the catkin macros for the setup.py
  • fix #3
  • Contributors: Vincent Rabaud

1.9.12 (2012-12-14)

  • buildtool_depend catkin fix
  • CMakeLists.txt clean up.
  • Contributors: William Woodall

1.9.11 (2012-12-10)

  • fix issue #1
  • Cleanup of package.xml
  • Contributors: Vincent Rabaud, William Woodall

1.9.10 (2012-10-04)

  • fix the bad include folder
  • Contributors: Vincent Rabaud

1.9.9 (2012-10-01)

  • fix dependencies
  • Contributors: Vincent Rabaud

1.9.8 (2012-09-30)

  • fix some dependencies
  • add rosconsole as a dependency
  • fix missing Python at install and fix some dependencies
  • Contributors: Vincent Rabaud

1.9.7 (2012-09-28 21:07)

  • add missing stuff
  • make sure we find catkin
  • Contributors: Vincent Rabaud

1.9.6 (2012-09-28 15:17)

  • move the test to where it belongs
  • fix the tests and the API to not handle conversion from CV_TYPE to Color type (does not make sense)
  • comply to the new Catkin API
  • backport the YUV422 bug fix from Fuerte
  • apply patch from https://code.ros.org/trac/ros-pkg/ticket/5556
  • Contributors: Vincent Rabaud

1.9.5 (2012-09-15)

  • remove dependencies to the opencv2 ROS package
  • Contributors: Vincent Rabaud

1.9.4 (2012-09-13)

  • make sure the include folders are copied to the right place
  • Contributors: Vincent Rabaud

1.9.3 (2012-09-12)

1.9.2 (2012-09-07)

  • be more compliant to the latest catkin
  • added catkin_project() to cv_bridge, image_geometry, and opencv_tests
  • Contributors: Jonathan Binney, Vincent Rabaud

1.9.1 (2012-08-28 22:06)

  • remove things that were marked as ROS_DEPRECATED
  • Contributors: Vincent Rabaud

1.9.0 (2012-08-28 14:29)

  • catkinized opencv_tests by Jon Binney
  • catkinized cv_bridge package... others disable for now by Jon Binney
  • remove the version check, let\'s trust OpenCV :)
  • revert the removal of opencv2
  • vision_opencv: Export OpenCV flags in manifests for image_geometry, cv_bridge.
  • finally get rid of opencv2 as it is a system dependency now
  • bump REQUIRED version of OpenCV to 2.3.2, which is what\'s in ros-fuerte-opencv
  • switch rosdep name to opencv2, to refer to ros-fuerte-opencv2
  • added missing header
  • Added constructor to CvImage to make converting a cv::Mat to sensor_msgs::Image less verbose.
  • cv_bridge: Added unit test for #5206
  • cv_bridge: Applied patch from mdesnoyer to fix handling of non-continuous OpenCV images. #5206
  • Adding opencv2 to all manifests, so that client packages may not break when using them.
  • baking in opencv debs and attempting a pre-release
  • cv_bridge: Support for new 16-bit encodings.
  • cv_bridge: Deprecate old C++ cv_bridge API.
  • cv_bridge: Correctly scale for MONO8 <-> MONO16 conversions.
  • cv_bridge: Fixed issue where pointer version to toCvCopy would ignore the requested encoding (http://answers.ros.org/question/258/converting-kinect-rgb-image-to-opencv-gives-wrong).
  • fixed doc build by taking a static snapshot
  • cv_bridge: Marking doc reviewed.
  • cv_bridge: Tweaks to make docs look better.
  • cv_bridge: Added cvtColor(). License notices. Documented that CvBridge class is obsolete.
  • cv_bridge: Added redesigned C++ cv_bridge.
  • Doc cleanup
  • Trigger doc rebuild
  • mono16 -> bgr conversion tested and fixed in C
  • Added Ubuntu platform tags to manifest
  • Handle mono16 properly
  • Raise exception when imgMsgToCv() gets an image encoding it does not recognise, #3489
  • Remove use of deprecated rosbuild macros
  • Fixed example
  • cv_bridge split from opencv2
  • Contributors: Vincent Rabaud, ethanrublee, gerkey, jamesb, mihelich, vrabaud, wheeler

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

No version for distro dashing. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 3.1.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version galactic
Last Updated 2022-10-15
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS2 Image messages and OpenCV images.

Additional Links

Maintainers

  • Kenji Brameld

Authors

  • Patrick Mihelich
  • James Bowman
  • Ethan Gao

cv_bridge

Introduction

cv_bridge converts between ROS 2 image messages and OpenCV image representation for perception applications. As follows:

cv_bridge overview

This ros2 branch initially derives from porting on the basis of ros kinetic branch

Installation

Firstly, it assumes that the ROS 2 core has already been installed, please refer to ROS 2 installation to get started.

Install dependencies

OpenCV3+ is a must to install, please refer to the official installation guide from OpenCV Tutorials Since ROS 2 uses Python 3, please make sure that python3-numpy is installed, or install like this:


sudo apt install python3-numpy


The cv_bridge python backend still has a dependency on python boost (equal or higher than 1.58.0), and install them as follows in Ubuntu:


sudo apt install libboost-python-dev


Build and Test

Fetch the latest code and build


cd <YOUR_ROS2_WORKSPACE>/src
git clone https://github.com/ros-perception/vision_opencv.git -b ros2
cd ..
colcon build --symlink-install


Run the tests

Python tests have a dependency on OpenCV Python support. To install it:


sudo apt install python3-opencv


Next to prepare runtime environment and run tests:


source <YOUR_ROS2_WORKSPACE>/install/local_setup.bash
colcon test


Known issues

  • boost endian: remove boost endian APIs with standard C++ 11 or higher instead
  • Not tested with Windows or macOS environments so there may be issues building or running
CHANGELOG

Changelog for package cv_bridge

3.1.3 (2022-10-15)

  • Add message to print out Boost_VERSION_STRING, and apply with CMP0093
  • Fix RHEL buildfailure with Boost 1.66.0
  • Contributors: Kenji Brameld

3.1.2 (2022-09-21)

  • Fix windows build when Boost 1.67 or newer (#489)
  • Contributors: Kenji Brameld

3.1.1 (2022-09-17)

  • Revert API breakages
  • Contributors: Kenji Brameld

3.1.0 (2022-09-14)

  • Add apache license and bsd license, because both are used. (#482)
  • Fix 16U encoding type (#462)
  • Reorganize author tag (#468)
  • Update maintainers (#451)
  • Fix ModuleNotFoundError: No module named \'cv_bridge\' error (#444)
  • Update README.md (#252)
  • Make python3-opencv from test_depend to depend tag in package.xml (#439)
  • Contributors: Daisuke Nishimatsu, Kenji Brameld, RachelRen05

3.0.3 (2022-04-01)

  • Add missing dependency on rcpputils (#427)
  • Contributors: Shane Loretz

3.0.2 (2022-01-27)

  • Minor cleanups to the ROS 2 branch (#418)
  • Find Python3 if not on Android (#423)
  • Forward ports from noetic (#420)
    • Add header arg to cv2_to_imgmsg (#326)
    • prevent conversion of single channel 16bit integer images to/from colour (#412)
  • Contributors: Chris Lalancette, Christian Rauch, Michael Carroll, Naoya Yamaguchi, Shane Loretz

3.0.1 (2022-01-25)

  • Use Boost::python3 if Boost < 1.67 (#422)
  • Use Boost::pythonXY target (#421)
  • Contributors: Shane Loretz

3.0.0 (2022-01-19)

  • Export Modern CMake targets and install includes to another folder(#419)
  • Handle padded img msg in Python (#400)
  • Remove boost endian (#399)
  • Add conversions from YUV422 YUY2 (#396)
  • fix endianness comparison (#397)
  • Export sensor_msgs dependency (#392)
  • Fix multiple undefined references (#370)
  • Updated [cv_bridge.dll]{.title-ref} install location. (#356)
  • Contributors: Homalozoa X, Jacob Perron, Patrick Musau, Sean Yen, Shane Loretz

2.2.1 (2020-07-16)

  • Align module.hpp with noetic (#342)
  • Contributors: Michael Carroll

2.2.0 (2020-05-27)

  • Disable portable image tests (#337)
  • use more specific boost rosdep keys (#319)
  • add opencv4 into the dependency list for ROS2 (#324)
  • Corrected the typo of Boost_INCLUDE_DIRS (#315)
  • use target include directories (#313)
  • Contributors: Karsten Knese, Lewis Liu, Michael Carroll, Mikael Arguedas, Sean Yen

2.1.3 (2019-10-23)

  • populate array.array directly instead of converting to and from a string (#305)
  • include Boost to fix Windows build (#290)
  • Export interfaces for Win32 Shared Lib (#301)
  • Contributors: Dirk Thomas, Jonathan Noyola, Sean Yen

2.1.2 (2019-05-30)

  • Suppress Boost Python warning. (#279)
  • silence unused return value warnings (#276)
  • Contributors: Karsten Knese, Michael Carroll

2.1.1 (2019-04-26)

  • Replace ament commands with colcon (#263) Latest ros2 repo does not include ament_tools. Executing ament command results in error.
  • Contributors: Lalit Begani

2.1.0 (2018-11-26)

  • find boost_python on boost 1.58 (<1.65) (#246)
  • Contributors: Mikael Arguedas

2.0.5 (2018-08-17)

  • remove redundant ament_auto_lint dependency to release package
  • fix test_encode_decode_cv2_compressed runtime error with JPEG2000
  • change python3-numpy as build and execution dependency to fix building error while releasing package
  • Contributor: Ethan Gao

2.0.4 (2018-08-14)

  • Add libopencv-dev as dependency of cv_bridge
  • Replace assert_equal with assert to remove dependency to nose package
  • Contributor: Ethan Gao

2.0.3 (2018-08-07)

  • fix the build warning with colcon building
  • optimize buffer type of imgmsg_to_cv2()
  • add python3_opencv and python3_numpy as dependency
  • uncrustify 0.67 coding style alignment
  • Contributors: Mikael Arguedas, Lars Berscheid, Ethan Gao

2.0.2 (2018-06-29)

  • fix rosdep keys issue of opencv3

2.0.1 (2018-06-28)

2.0.0 (2018-06-06)

  • Port cv_bridge to ros2
  • Remove the old inherent boost files
  • Replace boost code with newer C++ standard higher than C++11
  • Add a new readme
  • Adapt message definition like sensor_msg/Image etc in ROS2
  • Coding style alignment with ROS2 using cppcheck/cpplint and python flake8/pep257
  • Enable all the C++/Python unit test with gtest and unittest with ament tools
  • Contributors: Ethan Gao

1.12.7 (2017-11-12)

1.12.6 (2017-11-11)

  • fix endianness issues
  • Contributors: Vincent Rabaud

1.12.5 (2017-11-05)

  • add version_gte for opencv3 \@vrabaud If you\'ll update opencv3 version as discussed in https://discourse.ros.org/t/opencv-3-3/2674/4, I think we\'d better to add \'version_gte\' tag so that apt-get install ros-kinetic-cv-bridge also pulls openv3.3 from repository, to avoid API breaking issue between opencv2 and opencv3.
  • Simplify the dependency components of cv_bridge Fixes #183
  • Fixes #177 The Python bridge was wrong on OpenCV2 with mono8 (and any Mat with only two dimensions btw). Took the official Python bridge from OpenCV.
  • Add missing test file This fixes #171
  • Properly deal with alpha in image compression. That fixes #169
  • Silence warnings about un-used variables
  • export OpenCV variables
  • Contributors: Kei Okada, Victor Lamoine, Vincent Rabaud

1.12.4 (2017-01-29)

  • properly find Boost Python 2 or 3 This fixes #158
  • Contributors: Vincent Rabaud

1.12.3 (2016-12-04)

1.12.2 (2016-09-24)

  • Specify background label when colorizing label image
  • Adjust to arbitrary image channels like 32FC40 Proper fix for #141
  • Remove unexpectedly included print statement
  • Contributors: Kentaro Wada, Vincent Rabaud

1.12.1 (2016-07-11)

  • split the conversion tests out of enumerants
  • support is_bigendian in Python Fixes #114 Also fixes mono16 test
  • Support compressed Images messages in python for indigo

    • Add cv2_to_comprssed_imgmsg: Convert from cv2 image to compressed image ros msg.
    • Add comprssed_imgmsg_to_cv2: Convert the compress message to a new image.
    • Add compressed image tests.

    - Add time to msgs (compressed and regular). add enumerants test for compressed image. merge the compressed tests with the regular ones. better comment explanation. I will squash this commit. Fix indentation fix typo mistage: from .imgmsg_to_compressed_cv2 to .compressed_imgmsg_to_cv2. remove cv2.CV_8UC1 remove rospy and time depndency. change from IMREAD_COLOR to IMREAD_ANYCOLOR. - make indentaion of 4. - remove space trailer. - remove space from empty lines. - another set of for loops, it will make things easier to track. In that new set, just have the number of channels in ([],1,3,4) (ignore two for jpg). from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721943

    - keep the OpenCV error message. from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721013 add debug print for test. add case for 4 channels in test. remove 4 channels case from compressed test. add debug print for test. change typo of format. fix typo in format. change from dip to dib. change to IMREAD_ANYCOLOR as python code. (as it should). rename TIFF to tiff Sperate the tests one for regular images and one for compressed. update comment

  • Add CvtColorForDisplayOptions with new colormap param

  • fix doc jobs

  • Add python binding for cv_bridge::cvtColorForDisplay

  • Don\'t colorize float image as label image This is a bug and image whose encoding is other than 32SC1 should not be colorized. (currently, depth images with 32FC1 is also colorized.)

  • Fix compilation of cv_bridge with opencv3 and python3.

  • Contributors: Kentaro Wada, Maarten de Vries, Vincent Rabaud, talregev

1.12.0 (2016-03-18)

  • depend on OpenCV3 only
  • Contributors: Vincent Rabaud

1.11.12 (2016-03-10)

  • Fix my typo
  • Remove another eval Because [cvtype2_to_dtype_with_channels(\'8UCimport os; os.system(\"rm -rf /\")\')]{.title-ref} should never have a chance of happening.
  • Remove eval, and other fixes Also, extend from object, so as not to get a python 2.2-style class, and use the new-style raise statement
  • Contributors: Eric Wieser

1.11.11 (2016-01-31)

  • clean up the doc files
  • fix a few warnings in doc jobs
  • Contributors: Vincent Rabaud

1.11.10 (2016-01-16)

  • fix OpenCV3 build
  • Describe about converting label to bgr image in cvtColorForDisplay
  • Convert label to BGR image to display
  • Add test for rgb_colors.cpp
  • Add rgb_colors util
  • Update doc for converting to BGR in cvtColorForDisplay
  • Convert to BGR from any encoding
  • Refactor: sensor_msgs::image_encodings -> enc
  • Contributors: Kentaro Wada, Vincent Rabaud

1.11.9 (2015-11-29)

  • deal with endianness
  • add cvtColorForDisplay
  • Improved efficiency by using toCvShare instead of toCvCopy.
  • Add format enum for easy use and choose format.
  • fix compilation warnings
  • start to extend the cv_bridge with cvCompressedImage class, that will convert from cv::Mat opencv images to CompressedImage ros messages and vice versa
  • Contributors: Carlos Costa, Vincent Rabaud, talregev

1.11.8 (2015-07-15)

  • Simplify some OpenCV3 distinction
  • fix tests
  • fix test under OpenCV3
  • Remove Python for Android
  • Contributors: Gary Servin, Vincent Rabaud

1.11.7 (2014-12-14)

  • check that the type is indeed a Numpy one This is in response to #51
  • Contributors: Vincent Rabaud

1.11.6 (2014-11-16)

  • chnage the behavior when there is only one channel
  • cleanup tests
  • Contributors: Vincent Rabaud

1.11.5 (2014-09-21)

  • get code to work with OpenCV3 actually fixes #46 properly
  • Contributors: Vincent Rabaud

1.11.4 (2014-07-27)

  • Fix #42
  • Contributors: Libor Wagner

1.11.3 (2014-06-08)

  • Correct dependency from non-existent package to cv_bridge
  • Contributors: Isaac Isao Saito

1.11.2 (2014-04-28)

  • Add depend on python for cv_bridge
  • Contributors: Scott K Logan

1.11.1 (2014-04-16)

  • fixes #34
  • Contributors: Vincent Rabaud

1.11.0 (2014-02-15)

  • remove deprecated API and fixes #33
  • fix OpenCV dependencies
  • Contributors: Vincent Rabaud

1.10.15 (2014-02-07)

  • fix python 3 error at configure time
  • Contributors: Dirk Thomas

1.10.14 (2013-11-23 16:17)

  • update changelog
  • Find NumPy include directory
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.13 (2013-11-23 09:19)

  • fix compilation on older NumPy
  • Contributors: Vincent Rabaud

1.10.12 (2013-11-22)

  • bump changelog
  • Fixed issue with image message step size
  • fix crash for non char data
  • fix #26
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.11 (2013-10-23)

  • fix bad image check and improve it too
  • Contributors: Vincent Rabaud

1.10.10 (2013-10-19)

  • fixes #25
  • Contributors: Vincent Rabaud

1.10.9 (2013-10-07)

  • fixes #20
  • Contributors: Vincent Rabaud

1.10.8 (2013-09-09)

  • fixes #22
  • fixes #17
  • check for CATKIN_ENABLE_TESTING
  • fixes #16
  • update email address
  • Contributors: Lukas Bulwahn, Vincent Rabaud

1.10.7 (2013-07-17)

1.10.6 (2013-03-01)

  • make sure conversion are applied for depth differences
  • Contributors: Vincent Rabaud

1.10.5 (2013-02-11)

1.10.4 (2013-02-02)

  • fix installation of the boost package
  • Contributors: Vincent Rabaud

1.10.3 (2013-01-17)

  • Link against PTYHON_LIBRARIES
  • Contributors: William Woodall

1.10.2 (2013-01-13)

  • use CATKIN_DEVEL_PREFIX instead of obsolete CATKIN_BUILD_PREFIX
  • Contributors: Dirk Thomas

1.10.1 (2013-01-10)

  • add licenses
  • fixes #5 by removing the logic from Python and using wrapped C++ and adding a test for it
  • fix a bug discovered when running the opencv_tests
  • use some C++ logic
  • add a Boost Python module to have the C++ logix used directly in Python
  • Contributors: Vincent Rabaud

1.10.0 (2013-01-03)

  • add conversion from Bayer to gray
  • Contributors: Vincent Rabaud

1.9.15 (2013-01-02)

  • use the reverted isColor behavior
  • Contributors: Vincent Rabaud

1.9.14 (2012-12-30)

1.9.13 (2012-12-15)

  • use the catkin macros for the setup.py
  • fix #3
  • Contributors: Vincent Rabaud

1.9.12 (2012-12-14)

  • buildtool_depend catkin fix
  • CMakeLists.txt clean up.
  • Contributors: William Woodall

1.9.11 (2012-12-10)

  • fix issue #1
  • Cleanup of package.xml
  • Contributors: Vincent Rabaud, William Woodall

1.9.10 (2012-10-04)

  • fix the bad include folder
  • Contributors: Vincent Rabaud

1.9.9 (2012-10-01)

  • fix dependencies
  • Contributors: Vincent Rabaud

1.9.8 (2012-09-30)

  • fix some dependencies
  • add rosconsole as a dependency
  • fix missing Python at install and fix some dependencies
  • Contributors: Vincent Rabaud

1.9.7 (2012-09-28 21:07)

  • add missing stuff
  • make sure we find catkin
  • Contributors: Vincent Rabaud

1.9.6 (2012-09-28 15:17)

  • move the test to where it belongs
  • fix the tests and the API to not handle conversion from CV_TYPE to Color type (does not make sense)
  • comply to the new Catkin API
  • backport the YUV422 bug fix from Fuerte
  • apply patch from https://code.ros.org/trac/ros-pkg/ticket/5556
  • Contributors: Vincent Rabaud

1.9.5 (2012-09-15)

  • remove dependencies to the opencv2 ROS package
  • Contributors: Vincent Rabaud

1.9.4 (2012-09-13)

  • make sure the include folders are copied to the right place
  • Contributors: Vincent Rabaud

1.9.3 (2012-09-12)

1.9.2 (2012-09-07)

  • be more compliant to the latest catkin
  • added catkin_project() to cv_bridge, image_geometry, and opencv_tests
  • Contributors: Jonathan Binney, Vincent Rabaud

1.9.1 (2012-08-28 22:06)

  • remove things that were marked as ROS_DEPRECATED
  • Contributors: Vincent Rabaud

1.9.0 (2012-08-28 14:29)

  • catkinized opencv_tests by Jon Binney
  • catkinized cv_bridge package... others disable for now by Jon Binney
  • remove the version check, let\'s trust OpenCV :)
  • revert the removal of opencv2
  • vision_opencv: Export OpenCV flags in manifests for image_geometry, cv_bridge.
  • finally get rid of opencv2 as it is a system dependency now
  • bump REQUIRED version of OpenCV to 2.3.2, which is what\'s in ros-fuerte-opencv
  • switch rosdep name to opencv2, to refer to ros-fuerte-opencv2
  • added missing header
  • Added constructor to CvImage to make converting a cv::Mat to sensor_msgs::Image less verbose.
  • cv_bridge: Added unit test for #5206
  • cv_bridge: Applied patch from mdesnoyer to fix handling of non-continuous OpenCV images. #5206
  • Adding opencv2 to all manifests, so that client packages may not break when using them.
  • baking in opencv debs and attempting a pre-release
  • cv_bridge: Support for new 16-bit encodings.
  • cv_bridge: Deprecate old C++ cv_bridge API.
  • cv_bridge: Correctly scale for MONO8 <-> MONO16 conversions.
  • cv_bridge: Fixed issue where pointer version to toCvCopy would ignore the requested encoding (http://answers.ros.org/question/258/converting-kinect-rgb-image-to-opencv-gives-wrong).
  • fixed doc build by taking a static snapshot
  • cv_bridge: Marking doc reviewed.
  • cv_bridge: Tweaks to make docs look better.
  • cv_bridge: Added cvtColor(). License notices. Documented that CvBridge class is obsolete.
  • cv_bridge: Added redesigned C++ cv_bridge.
  • Doc cleanup
  • Trigger doc rebuild
  • mono16 -> bgr conversion tested and fixed in C
  • Added Ubuntu platform tags to manifest
  • Handle mono16 properly
  • Raise exception when imgMsgToCv() gets an image encoding it does not recognise, #3489
  • Remove use of deprecated rosbuild macros
  • Fixed example
  • cv_bridge split from opencv2
  • Contributors: Vincent Rabaud, ethanrublee, gerkey, jamesb, mihelich, vrabaud, wheeler

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

Name Repo Deps
depthai_bridge github-luxonis-depthai-ros
depthai_examples github-luxonis-depthai-ros
gazebo_plugins github-ros-simulation-gazebo_ros_pkgs
gscam github-ros-drivers-gscam
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
mapviz github-swri-robotics-mapviz
mapviz_plugins github-swri-robotics-mapviz
multires_image github-swri-robotics-mapviz
moveit_ros_perception github-ros-planning-moveit2
naoqi_driver github-ros-naoqi-naoqi_driver2
ov_core github-rpng-open_vins
ov_init github-rpng-open_vins
ov_msckf github-rpng-open_vins
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
rtabmap_ros github-introlab-rtabmap_ros
usb_cam github-ros-drivers-usb_cam
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
mrpt2 github-MRPT-mrpt
nav2_waypoint_follower github-ros-planning-navigation2
ros_image_to_qimage github-ros-sports-ros_image_to_qimage
turtlebot4_cpp_examples github-turtlebot-turtlebot4_examples

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 3.0.7
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version foxy
Last Updated 2022-10-15
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS2 Image messages and OpenCV images.

Additional Links

Maintainers

  • Kenji Brameld

Authors

  • Patrick Mihelich
  • James Bowman
  • Ethan Gao

cv_bridge

Introduction

cv_bridge converts between ROS 2 image messages and OpenCV image representation for perception applications. As follows:

cv_bridge overview

This ros2 branch initially derives from porting on the basis of ros kinetic branch

Installation

Firstly, it assumes that the ROS 2 core has already been installed, please refer to ROS 2 installation to get started.

Install dependencies

OpenCV3+ is a must to install, please refer to the official installation guide from OpenCV Tutorials Since ROS 2 uses Python 3, please make sure that python3-numpy is installed, or install like this:


sudo apt install python3-numpy


The cv_bridge python backend still has a dependency on python boost (equal or higher than 1.58.0), and install them as follows in Ubuntu:


sudo apt install libboost-python-dev


Build and Test

Fetch the latest code and build


cd <YOUR_ROS2_WORKSPACE>/src
git clone https://github.com/ros-perception/vision_opencv.git -b ros2
cd ..
colcon build --symlink-install


Run the tests

Python tests have a dependency on OpenCV Python support. To install it:


sudo apt install python3-opencv


Next to prepare runtime environment and run tests:


source <YOUR_ROS2_WORKSPACE>/install/local_setup.bash
colcon test


Known issues

  • boost endian: remove boost endian APIs with standard C++ 11 or higher instead
  • Not tested with Windows or macOS environments so there may be issues building or running
CHANGELOG

Changelog for package cv_bridge

3.0.7 (2022-10-15)

  • Add message to print out Boost_VERSION_STRING, and apply with CMP0093
  • Address RHEL buildfailure with Boost 1.66.0
  • Contributors: Kenji Brameld

3.0.6 (2022-09-21)

  • Fix windows build when Boost 1.67 or newer (#488)
  • Contributors: Kenji Brameld

3.0.5 (2022-09-17)

  • Revert API breakages
  • Contributors: Kenji Brameld

3.0.4 (2022-09-14)

  • Add apache license and bsd license, because both are used. (#481)
  • Fix 16U encoding type (#461)
  • Reorganize author tag (#467)
  • Update maintainers (#451)
  • Fix ModuleNotFoundError: No module named \'cv_bridge\' error (#444)
  • Make python3-opencv from test_depend to depend tag in package.xml (#439)
  • Contributors: Daisuke Nishimatsu, Kenji Brameld, RachelRen05

3.0.3 (2022-04-01)

  • Add missing dependency on rcpputils (#427)
  • Contributors: Shane Loretz

3.0.2 (2022-01-27)

  • Minor cleanups to the ROS 2 branch (#418)
  • Find Python3 if not on Android (#423)
  • Forward ports from noetic (#420)
    • Add header arg to cv2_to_imgmsg (#326)
    • prevent conversion of single channel 16bit integer images to/from colour (#412)
  • Contributors: Chris Lalancette, Christian Rauch, Michael Carroll, Naoya Yamaguchi, Shane Loretz

3.0.1 (2022-01-25)

  • Use Boost::python3 if Boost < 1.67 (#422)
  • Use Boost::pythonXY target (#421)
  • Contributors: Shane Loretz

3.0.0 (2022-01-19)

  • Export Modern CMake targets and install includes to another folder(#419)
  • Handle padded img msg in Python (#400)
  • Remove boost endian (#399)
  • Add conversions from YUV422 YUY2 (#396)
  • fix endianness comparison (#397)
  • Export sensor_msgs dependency (#392)
  • Fix multiple undefined references (#370)
  • Updated [cv_bridge.dll]{.title-ref} install location. (#356)
  • Contributors: Homalozoa X, Jacob Perron, Patrick Musau, Sean Yen, Shane Loretz

2.2.1 (2020-07-16)

  • Align module.hpp with noetic (#342)
  • Contributors: Michael Carroll

2.2.0 (2020-05-27)

  • Disable portable image tests (#337)
  • use more specific boost rosdep keys (#319)
  • add opencv4 into the dependency list for ROS2 (#324)
  • Corrected the typo of Boost_INCLUDE_DIRS (#315)
  • use target include directories (#313)
  • Contributors: Karsten Knese, Lewis Liu, Michael Carroll, Mikael Arguedas, Sean Yen

2.1.3 (2019-10-23)

  • populate array.array directly instead of converting to and from a string (#305)
  • include Boost to fix Windows build (#290)
  • Export interfaces for Win32 Shared Lib (#301)
  • Contributors: Dirk Thomas, Jonathan Noyola, Sean Yen

2.1.2 (2019-05-30)

  • Suppress Boost Python warning. (#279)
  • silence unused return value warnings (#276)
  • Contributors: Karsten Knese, Michael Carroll

2.1.1 (2019-04-26)

  • Replace ament commands with colcon (#263) Latest ros2 repo does not include ament_tools. Executing ament command results in error.
  • Contributors: Lalit Begani

2.1.0 (2018-11-26)

  • find boost_python on boost 1.58 (<1.65) (#246)
  • Contributors: Mikael Arguedas

2.0.5 (2018-08-17)

  • remove redundant ament_auto_lint dependency to release package
  • fix test_encode_decode_cv2_compressed runtime error with JPEG2000
  • change python3-numpy as build and execution dependency to fix building error while releasing package
  • Contributor: Ethan Gao

2.0.4 (2018-08-14)

  • Add libopencv-dev as dependency of cv_bridge
  • Replace assert_equal with assert to remove dependency to nose package
  • Contributor: Ethan Gao

2.0.3 (2018-08-07)

  • fix the build warning with colcon building
  • optimize buffer type of imgmsg_to_cv2()
  • add python3_opencv and python3_numpy as dependency
  • uncrustify 0.67 coding style alignment
  • Contributors: Mikael Arguedas, Lars Berscheid, Ethan Gao

2.0.2 (2018-06-29)

  • fix rosdep keys issue of opencv3

2.0.1 (2018-06-28)

2.0.0 (2018-06-06)

  • Port cv_bridge to ros2
  • Remove the old inherent boost files
  • Replace boost code with newer C++ standard higher than C++11
  • Add a new readme
  • Adapt message definition like sensor_msg/Image etc in ROS2
  • Coding style alignment with ROS2 using cppcheck/cpplint and python flake8/pep257
  • Enable all the C++/Python unit test with gtest and unittest with ament tools
  • Contributors: Ethan Gao

1.12.7 (2017-11-12)

1.12.6 (2017-11-11)

  • fix endianness issues
  • Contributors: Vincent Rabaud

1.12.5 (2017-11-05)

  • add version_gte for opencv3 \@vrabaud If you\'ll update opencv3 version as discussed in https://discourse.ros.org/t/opencv-3-3/2674/4, I think we\'d better to add \'version_gte\' tag so that apt-get install ros-kinetic-cv-bridge also pulls openv3.3 from repository, to avoid API breaking issue between opencv2 and opencv3.
  • Simplify the dependency components of cv_bridge Fixes #183
  • Fixes #177 The Python bridge was wrong on OpenCV2 with mono8 (and any Mat with only two dimensions btw). Took the official Python bridge from OpenCV.
  • Add missing test file This fixes #171
  • Properly deal with alpha in image compression. That fixes #169
  • Silence warnings about un-used variables
  • export OpenCV variables
  • Contributors: Kei Okada, Victor Lamoine, Vincent Rabaud

1.12.4 (2017-01-29)

  • properly find Boost Python 2 or 3 This fixes #158
  • Contributors: Vincent Rabaud

1.12.3 (2016-12-04)

1.12.2 (2016-09-24)

  • Specify background label when colorizing label image
  • Adjust to arbitrary image channels like 32FC40 Proper fix for #141
  • Remove unexpectedly included print statement
  • Contributors: Kentaro Wada, Vincent Rabaud

1.12.1 (2016-07-11)

  • split the conversion tests out of enumerants
  • support is_bigendian in Python Fixes #114 Also fixes mono16 test
  • Support compressed Images messages in python for indigo

    • Add cv2_to_comprssed_imgmsg: Convert from cv2 image to compressed image ros msg.
    • Add comprssed_imgmsg_to_cv2: Convert the compress message to a new image.
    • Add compressed image tests.

    - Add time to msgs (compressed and regular). add enumerants test for compressed image. merge the compressed tests with the regular ones. better comment explanation. I will squash this commit. Fix indentation fix typo mistage: from .imgmsg_to_compressed_cv2 to .compressed_imgmsg_to_cv2. remove cv2.CV_8UC1 remove rospy and time depndency. change from IMREAD_COLOR to IMREAD_ANYCOLOR. - make indentaion of 4. - remove space trailer. - remove space from empty lines. - another set of for loops, it will make things easier to track. In that new set, just have the number of channels in ([],1,3,4) (ignore two for jpg). from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721943

    - keep the OpenCV error message. from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721013 add debug print for test. add case for 4 channels in test. remove 4 channels case from compressed test. add debug print for test. change typo of format. fix typo in format. change from dip to dib. change to IMREAD_ANYCOLOR as python code. (as it should). rename TIFF to tiff Sperate the tests one for regular images and one for compressed. update comment

  • Add CvtColorForDisplayOptions with new colormap param

  • fix doc jobs

  • Add python binding for cv_bridge::cvtColorForDisplay

  • Don\'t colorize float image as label image This is a bug and image whose encoding is other than 32SC1 should not be colorized. (currently, depth images with 32FC1 is also colorized.)

  • Fix compilation of cv_bridge with opencv3 and python3.

  • Contributors: Kentaro Wada, Maarten de Vries, Vincent Rabaud, talregev

1.12.0 (2016-03-18)

  • depend on OpenCV3 only
  • Contributors: Vincent Rabaud

1.11.12 (2016-03-10)

  • Fix my typo
  • Remove another eval Because [cvtype2_to_dtype_with_channels(\'8UCimport os; os.system(\"rm -rf /\")\')]{.title-ref} should never have a chance of happening.
  • Remove eval, and other fixes Also, extend from object, so as not to get a python 2.2-style class, and use the new-style raise statement
  • Contributors: Eric Wieser

1.11.11 (2016-01-31)

  • clean up the doc files
  • fix a few warnings in doc jobs
  • Contributors: Vincent Rabaud

1.11.10 (2016-01-16)

  • fix OpenCV3 build
  • Describe about converting label to bgr image in cvtColorForDisplay
  • Convert label to BGR image to display
  • Add test for rgb_colors.cpp
  • Add rgb_colors util
  • Update doc for converting to BGR in cvtColorForDisplay
  • Convert to BGR from any encoding
  • Refactor: sensor_msgs::image_encodings -> enc
  • Contributors: Kentaro Wada, Vincent Rabaud

1.11.9 (2015-11-29)

  • deal with endianness
  • add cvtColorForDisplay
  • Improved efficiency by using toCvShare instead of toCvCopy.
  • Add format enum for easy use and choose format.
  • fix compilation warnings
  • start to extend the cv_bridge with cvCompressedImage class, that will convert from cv::Mat opencv images to CompressedImage ros messages and vice versa
  • Contributors: Carlos Costa, Vincent Rabaud, talregev

1.11.8 (2015-07-15)

  • Simplify some OpenCV3 distinction
  • fix tests
  • fix test under OpenCV3
  • Remove Python for Android
  • Contributors: Gary Servin, Vincent Rabaud

1.11.7 (2014-12-14)

  • check that the type is indeed a Numpy one This is in response to #51
  • Contributors: Vincent Rabaud

1.11.6 (2014-11-16)

  • chnage the behavior when there is only one channel
  • cleanup tests
  • Contributors: Vincent Rabaud

1.11.5 (2014-09-21)

  • get code to work with OpenCV3 actually fixes #46 properly
  • Contributors: Vincent Rabaud

1.11.4 (2014-07-27)

  • Fix #42
  • Contributors: Libor Wagner

1.11.3 (2014-06-08)

  • Correct dependency from non-existent package to cv_bridge
  • Contributors: Isaac Isao Saito

1.11.2 (2014-04-28)

  • Add depend on python for cv_bridge
  • Contributors: Scott K Logan

1.11.1 (2014-04-16)

  • fixes #34
  • Contributors: Vincent Rabaud

1.11.0 (2014-02-15)

  • remove deprecated API and fixes #33
  • fix OpenCV dependencies
  • Contributors: Vincent Rabaud

1.10.15 (2014-02-07)

  • fix python 3 error at configure time
  • Contributors: Dirk Thomas

1.10.14 (2013-11-23 16:17)

  • update changelog
  • Find NumPy include directory
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.13 (2013-11-23 09:19)

  • fix compilation on older NumPy
  • Contributors: Vincent Rabaud

1.10.12 (2013-11-22)

  • bump changelog
  • Fixed issue with image message step size
  • fix crash for non char data
  • fix #26
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.11 (2013-10-23)

  • fix bad image check and improve it too
  • Contributors: Vincent Rabaud

1.10.10 (2013-10-19)

  • fixes #25
  • Contributors: Vincent Rabaud

1.10.9 (2013-10-07)

  • fixes #20
  • Contributors: Vincent Rabaud

1.10.8 (2013-09-09)

  • fixes #22
  • fixes #17
  • check for CATKIN_ENABLE_TESTING
  • fixes #16
  • update email address
  • Contributors: Lukas Bulwahn, Vincent Rabaud

1.10.7 (2013-07-17)

1.10.6 (2013-03-01)

  • make sure conversion are applied for depth differences
  • Contributors: Vincent Rabaud

1.10.5 (2013-02-11)

1.10.4 (2013-02-02)

  • fix installation of the boost package
  • Contributors: Vincent Rabaud

1.10.3 (2013-01-17)

  • Link against PTYHON_LIBRARIES
  • Contributors: William Woodall

1.10.2 (2013-01-13)

  • use CATKIN_DEVEL_PREFIX instead of obsolete CATKIN_BUILD_PREFIX
  • Contributors: Dirk Thomas

1.10.1 (2013-01-10)

  • add licenses
  • fixes #5 by removing the logic from Python and using wrapped C++ and adding a test for it
  • fix a bug discovered when running the opencv_tests
  • use some C++ logic
  • add a Boost Python module to have the C++ logix used directly in Python
  • Contributors: Vincent Rabaud

1.10.0 (2013-01-03)

  • add conversion from Bayer to gray
  • Contributors: Vincent Rabaud

1.9.15 (2013-01-02)

  • use the reverted isColor behavior
  • Contributors: Vincent Rabaud

1.9.14 (2012-12-30)

1.9.13 (2012-12-15)

  • use the catkin macros for the setup.py
  • fix #3
  • Contributors: Vincent Rabaud

1.9.12 (2012-12-14)

  • buildtool_depend catkin fix
  • CMakeLists.txt clean up.
  • Contributors: William Woodall

1.9.11 (2012-12-10)

  • fix issue #1
  • Cleanup of package.xml
  • Contributors: Vincent Rabaud, William Woodall

1.9.10 (2012-10-04)

  • fix the bad include folder
  • Contributors: Vincent Rabaud

1.9.9 (2012-10-01)

  • fix dependencies
  • Contributors: Vincent Rabaud

1.9.8 (2012-09-30)

  • fix some dependencies
  • add rosconsole as a dependency
  • fix missing Python at install and fix some dependencies
  • Contributors: Vincent Rabaud

1.9.7 (2012-09-28 21:07)

  • add missing stuff
  • make sure we find catkin
  • Contributors: Vincent Rabaud

1.9.6 (2012-09-28 15:17)

  • move the test to where it belongs
  • fix the tests and the API to not handle conversion from CV_TYPE to Color type (does not make sense)
  • comply to the new Catkin API
  • backport the YUV422 bug fix from Fuerte
  • apply patch from https://code.ros.org/trac/ros-pkg/ticket/5556
  • Contributors: Vincent Rabaud

1.9.5 (2012-09-15)

  • remove dependencies to the opencv2 ROS package
  • Contributors: Vincent Rabaud

1.9.4 (2012-09-13)

  • make sure the include folders are copied to the right place
  • Contributors: Vincent Rabaud

1.9.3 (2012-09-12)

1.9.2 (2012-09-07)

  • be more compliant to the latest catkin
  • added catkin_project() to cv_bridge, image_geometry, and opencv_tests
  • Contributors: Jonathan Binney, Vincent Rabaud

1.9.1 (2012-08-28 22:06)

  • remove things that were marked as ROS_DEPRECATED
  • Contributors: Vincent Rabaud

1.9.0 (2012-08-28 14:29)

  • catkinized opencv_tests by Jon Binney
  • catkinized cv_bridge package... others disable for now by Jon Binney
  • remove the version check, let\'s trust OpenCV :)
  • revert the removal of opencv2
  • vision_opencv: Export OpenCV flags in manifests for image_geometry, cv_bridge.
  • finally get rid of opencv2 as it is a system dependency now
  • bump REQUIRED version of OpenCV to 2.3.2, which is what\'s in ros-fuerte-opencv
  • switch rosdep name to opencv2, to refer to ros-fuerte-opencv2
  • added missing header
  • Added constructor to CvImage to make converting a cv::Mat to sensor_msgs::Image less verbose.
  • cv_bridge: Added unit test for #5206
  • cv_bridge: Applied patch from mdesnoyer to fix handling of non-continuous OpenCV images. #5206
  • Adding opencv2 to all manifests, so that client packages may not break when using them.
  • baking in opencv debs and attempting a pre-release
  • cv_bridge: Support for new 16-bit encodings.
  • cv_bridge: Deprecate old C++ cv_bridge API.
  • cv_bridge: Correctly scale for MONO8 <-> MONO16 conversions.
  • cv_bridge: Fixed issue where pointer version to toCvCopy would ignore the requested encoding (http://answers.ros.org/question/258/converting-kinect-rgb-image-to-opencv-gives-wrong).
  • fixed doc build by taking a static snapshot
  • cv_bridge: Marking doc reviewed.
  • cv_bridge: Tweaks to make docs look better.
  • cv_bridge: Added cvtColor(). License notices. Documented that CvBridge class is obsolete.
  • cv_bridge: Added redesigned C++ cv_bridge.
  • Doc cleanup
  • Trigger doc rebuild
  • mono16 -> bgr conversion tested and fixed in C
  • Added Ubuntu platform tags to manifest
  • Handle mono16 properly
  • Raise exception when imgMsgToCv() gets an image encoding it does not recognise, #3489
  • Remove use of deprecated rosbuild macros
  • Fixed example
  • cv_bridge split from opencv2
  • Contributors: Vincent Rabaud, ethanrublee, gerkey, jamesb, mihelich, vrabaud, wheeler

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

Name Repo Deps
depthai_bridge github-luxonis-depthai-ros
depthai_examples github-luxonis-depthai-ros
depthai_filters github-luxonis-depthai-ros
depthai_ros_driver github-luxonis-depthai-ros
find_object_2d github-introlab-find-object
gazebo_plugins github-ros-simulation-gazebo_ros_pkgs
gscam github-ros-drivers-gscam
ifm3d_core github-ifm-ifm3d
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
swri_geometry_util github-swri-robotics-marti_common
swri_image_util github-swri-robotics-marti_common
swri_opencv_util github-swri-robotics-marti_common
swri_transform_util github-swri-robotics-marti_common
moveit_ros_perception github-ros-planning-moveit2
naoqi_driver github-ros-naoqi-naoqi_driver2
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
rtabmap_conversions github-introlab-rtabmap_ros
rtabmap_odom github-introlab-rtabmap_ros
rtabmap_slam github-introlab-rtabmap_ros
rtabmap_sync github-introlab-rtabmap_ros
rtabmap_util github-introlab-rtabmap_ros
rtabmap_viz github-introlab-rtabmap_ros
usb_cam github-ros-drivers-usb_cam
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
aruco_opencv github-fictionlab-ros_aruco_opencv
clpe_ros github-canlab-co-clpe_ros
crane_plus_examples github-rt-net-crane_plus
mrpt2 github-MRPT-mrpt
realsense_hardware_interface github-OUXT-Polaris-realsense_hardware_interface

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.12.8
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version kinetic
Last Updated 2019-12-10
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS Image messages and OpenCV images.

Additional Links

Maintainers

  • Vincent Rabaud

Authors

  • Patrick Mihelich
  • James Bowman
README
No README found. See repository README.
CHANGELOG

Changelog for package cv_bridge

1.12.8 (2018-04-17)

  • Merge pull request #191 from patrickelectric/kinetic cv2_to_imgmsg: step must be int
  • cv2_to_imgmsg: step must be int Signed-off-by: Patrick Jos

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

Name Repo Deps
ar_track_alvar github-ros-perception-ar_track_alvar
basler_tof github-uos-basler_tof
image_cb_detector github-ros-perception-calibration
laser_cb_detector github-ros-perception-calibration
costmap_converter github-rst-tu-dortmund-costmap_converter
cv_camera github-OTL-cv_camera
ensenso_camera github-ensenso-ros_driver
find_object_2d github-introlab-find-object
flir_boson_usb github-astuff-flir_boson_usb
gazebo_plugins github-ros-simulation-gazebo_ros_pkgs
grid_map_cv github-anybotics-grid_map
grid_map_demos github-anybotics-grid_map
grid_map_ros github-anybotics-grid_map
gscam github-ros-drivers-gscam
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
imagezero_image_transport github-swri-robotics-imagezero_transport
imagezero_ros github-swri-robotics-imagezero_transport
libcmt github-jsk-ros-pkg-jsk_3rdparty
opt_camera github-jsk-ros-pkg-jsk_3rdparty
posedetection_msgs github-jsk-ros-pkg-jsk_common_msgs
swri_geometry_util github-swri-robotics-marti_common
swri_image_util github-swri-robotics-marti_common
swri_opencv_util github-swri-robotics-marti_common
swri_transform_util github-swri-robotics-marti_common
moveit_ros_perception github-ros-planning-moveit
multi_object_tracking_lidar github-praveen-palanisamy-multiple-object-tracking-lidar
nerian_stereo github-nerian-vision-nerian_stereo
opencv_apps github-ros-perception-opencv_apps
pcdfilter_pa github-tuc-proaut-ros_pcdfilter
face_detector github-wg-perception-people
pr2_gazebo_plugins github-PR2-pr2_simulator
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
rtabmap_ros github-introlab-rtabmap_ros
usb_cam github-ros-drivers-usb_cam
velo2cam_calibration github-beltransen-velo2cam_calibration
video_stream_opencv github-ros-drivers-video_stream_opencv
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
zbar_ros github-ros-drivers-zbar_ros
ensenso github-crigroup-ensenso
nerian_sp1 github-nerian-vision-nerian_sp1

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.11.16
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version indigo
Last Updated 2017-11-05
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS Image messages and OpenCV images.

Additional Links

Maintainers

  • Vincent Rabaud

Authors

  • Patrick Mihelich
  • James Bowman
README
No README found. See repository README.
CHANGELOG

Changelog for package cv_bridge

1.11.16 (2017-11-05)

  • Silence warnings about un-used variables
  • Fixes #177 The Python bridge was wrong on OpenCV2 with mono8 (and any Mat with only two dimensions btw). Took the official Python bridge from OpenCV.
  • Add missing test file This fixes #171
  • export OpenCV variables
  • Properly deal with alpha in image compression. That fixes #169
  • Contributors: Kei Okada, Victor Lamoine, Vincent Rabaud

1.11.15 (2017-01-29)

1.11.14 (2016-09-24)

  • Specify background label when colorizing label image
  • Adjust to arbitrary image channels like 32FC40 Proper fix for #141
  • Remove unexpectedly included print statement
  • Contributors: Kentaro Wada, Vincent Rabaud

1.11.13 (2016-07-11)

  • split the conversion tests out of enumerants
  • support is_bigendian in Python Fixes #114 Also fixes mono16 test
  • Support compressed Images messages in python for indigo

    • Add cv2_to_comprssed_imgmsg: Convert from cv2 image to compressed image ros msg.
    • Add comprssed_imgmsg_to_cv2: Convert the compress message to a new image.
    • Add compressed image tests.

    - Add time to msgs (compressed and regular). add enumerants test for compressed image. merge the compressed tests with the regular ones. better comment explanation. I will squash this commit. Fix indentation fix typo mistage: from .imgmsg_to_compressed_cv2 to .compressed_imgmsg_to_cv2. remove cv2.CV_8UC1 remove rospy and time depndency. change from IMREAD_COLOR to IMREAD_ANYCOLOR. - make indentaion of 4. - remove space trailer. - remove space from empty lines. - another set of for loops, it will make things easier to track. In that new set, just have the number of channels in ([],1,3,4) (ignore two for jpg). from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721943

    - keep the OpenCV error message. from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721013 add debug print for test. add case for 4 channels in test. remove 4 channels case from compressed test. add debug print for test. change typo of format. fix typo in format. change from dip to dib. change to IMREAD_ANYCOLOR as python code. (as it should). rename TIFF to tiff Sperate the tests one for regular images and one for compressed. update comment

  • Add CvtColorForDisplayOptions with new colormap param

  • fix doc jobs

  • Add python binding for cv_bridge::cvtColorForDisplay

  • Fix compilation of cv_bridge with opencv3 and python3.

  • Don\'t colorize float image as label image This is a bug and image whose encoding is other than 32SC1 should not be colorized. (currently, depth images with 32FC1 is also colorized.)

  • Contributors: Kentaro Wada, Maarten de Vries, Vincent Rabaud, talregev

1.11.12 (2016-03-10)

  • Fix my typo
  • Remove another eval Because [cvtype2_to_dtype_with_channels(\'8UCimport os; os.system(\"rm -rf /\")\')]{.title-ref} should never have a chance of happening.
  • Remove eval, and other fixes Also, extend from object, so as not to get a python 2.2-style class, and use the new-style raise statement
  • Contributors: Eric Wieser

1.11.11 (2016-01-31)

  • clean up the doc files
  • fix a few warnings in doc jobs
  • Contributors: Vincent Rabaud

1.11.10 (2016-01-16)

  • fix OpenCV3 build
  • Describe about converting label to bgr image in cvtColorForDisplay
  • Convert label to BGR image to display
  • Add test for rgb_colors.cpp
  • Add rgb_colors util
  • Update doc for converting to BGR in cvtColorForDisplay
  • Convert to BGR from any encoding
  • Refactor: sensor_msgs::image_encodings -> enc
  • Contributors: Kentaro Wada, Vincent Rabaud

1.11.9 (2015-11-29)

  • deal with endianness
  • add cvtColorForDisplay
  • Improved efficiency by using toCvShare instead of toCvCopy.
  • Add format enum for easy use and choose format.
  • fix compilation warnings
  • start to extend the cv_bridge with cvCompressedImage class, that will convert from cv::Mat opencv images to CompressedImage ros messages and vice versa
  • Contributors: Carlos Costa, Vincent Rabaud, talregev

1.11.8 (2015-07-15)

  • Simplify some OpenCV3 distinction
  • fix tests
  • fix test under OpenCV3
  • Remove Python for Android
  • Contributors: Gary Servin, Vincent Rabaud

1.11.7 (2014-12-14)

  • check that the type is indeed a Numpy one This is in response to #51
  • Contributors: Vincent Rabaud

1.11.6 (2014-11-16)

  • chnage the behavior when there is only one channel
  • cleanup tests
  • Contributors: Vincent Rabaud

1.11.5 (2014-09-21)

  • get code to work with OpenCV3 actually fixes #46 properly
  • Contributors: Vincent Rabaud

1.11.4 (2014-07-27)

  • Fix #42
  • Contributors: Libor Wagner

1.11.3 (2014-06-08)

  • Correct dependency from non-existent package to cv_bridge
  • Contributors: Isaac Isao Saito

1.11.2 (2014-04-28)

  • Add depend on python for cv_bridge
  • Contributors: Scott K Logan

1.11.1 (2014-04-16)

  • fixes #34
  • Contributors: Vincent Rabaud

1.11.0 (2014-02-15)

  • remove deprecated API and fixes #33
  • fix OpenCV dependencies
  • Contributors: Vincent Rabaud

1.10.15 (2014-02-07)

  • fix python 3 error at configure time
  • Contributors: Dirk Thomas

1.10.14 (2013-11-23 16:17)

  • update changelog
  • Find NumPy include directory
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.13 (2013-11-23 09:19)

  • fix compilation on older NumPy
  • Contributors: Vincent Rabaud

1.10.12 (2013-11-22)

  • bump changelog
  • Fixed issue with image message step size
  • fix crash for non char data
  • fix #26
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.11 (2013-10-23)

  • fix bad image check and improve it too
  • Contributors: Vincent Rabaud

1.10.10 (2013-10-19)

  • fixes #25
  • Contributors: Vincent Rabaud

1.10.9 (2013-10-07)

  • fixes #20
  • Contributors: Vincent Rabaud

1.10.8 (2013-09-09)

  • fixes #22
  • fixes #17
  • check for CATKIN_ENABLE_TESTING
  • fixes #16
  • update email address
  • Contributors: Lukas Bulwahn, Vincent Rabaud

1.10.7 (2013-07-17)

1.10.6 (2013-03-01)

  • make sure conversion are applied for depth differences
  • Contributors: Vincent Rabaud

1.10.5 (2013-02-11)

1.10.4 (2013-02-02)

  • fix installation of the boost package
  • Contributors: Vincent Rabaud

1.10.3 (2013-01-17)

  • Link against PTYHON_LIBRARIES
  • Contributors: William Woodall

1.10.2 (2013-01-13)

  • use CATKIN_DEVEL_PREFIX instead of obsolete CATKIN_BUILD_PREFIX
  • Contributors: Dirk Thomas

1.10.1 (2013-01-10)

  • add licenses
  • fixes #5 by removing the logic from Python and using wrapped C++ and adding a test for it
  • fix a bug discovered when running the opencv_tests
  • use some C++ logic
  • add a Boost Python module to have the C++ logix used directly in Python
  • Contributors: Vincent Rabaud

1.10.0 (2013-01-03)

  • add conversion from Bayer to gray
  • Contributors: Vincent Rabaud

1.9.15 (2013-01-02)

  • use the reverted isColor behavior
  • Contributors: Vincent Rabaud

1.9.14 (2012-12-30)

1.9.13 (2012-12-15)

  • use the catkin macros for the setup.py
  • fix #3
  • Contributors: Vincent Rabaud

1.9.12 (2012-12-14)

  • buildtool_depend catkin fix
  • CMakeLists.txt clean up.
  • Contributors: William Woodall

1.9.11 (2012-12-10)

  • fix issue #1
  • Cleanup of package.xml
  • Contributors: Vincent Rabaud, William Woodall

1.9.10 (2012-10-04)

  • fix the bad include folder
  • Contributors: Vincent Rabaud

1.9.9 (2012-10-01)

  • fix dependencies
  • Contributors: Vincent Rabaud

1.9.8 (2012-09-30)

  • fix some dependencies
  • add rosconsole as a dependency
  • fix missing Python at install and fix some dependencies
  • Contributors: Vincent Rabaud

1.9.7 (2012-09-28 21:07)

  • add missing stuff
  • make sure we find catkin
  • Contributors: Vincent Rabaud

1.9.6 (2012-09-28 15:17)

  • move the test to where it belongs
  • fix the tests and the API to not handle conversion from CV_TYPE to Color type (does not make sense)
  • comply to the new Catkin API
  • backport the YUV422 bug fix from Fuerte
  • apply patch from https://code.ros.org/trac/ros-pkg/ticket/5556
  • Contributors: Vincent Rabaud

1.9.5 (2012-09-15)

  • remove dependencies to the opencv2 ROS package
  • Contributors: Vincent Rabaud

1.9.4 (2012-09-13)

  • make sure the include folders are copied to the right place
  • Contributors: Vincent Rabaud

1.9.3 (2012-09-12)

1.9.2 (2012-09-07)

  • be more compliant to the latest catkin
  • added catkin_project() to cv_bridge, image_geometry, and opencv_tests
  • Contributors: Jonathan Binney, Vincent Rabaud

1.9.1 (2012-08-28 22:06)

  • remove things that were marked as ROS_DEPRECATED
  • Contributors: Vincent Rabaud

1.9.0 (2012-08-28 14:29)

  • catkinized opencv_tests by Jon Binney
  • catkinized cv_bridge package... others disable for now by Jon Binney
  • remove the version check, let\'s trust OpenCV :)
  • revert the removal of opencv2
  • vision_opencv: Export OpenCV flags in manifests for image_geometry, cv_bridge.
  • finally get rid of opencv2 as it is a system dependency now
  • bump REQUIRED version of OpenCV to 2.3.2, which is what\'s in ros-fuerte-opencv
  • switch rosdep name to opencv2, to refer to ros-fuerte-opencv2
  • added missing header
  • Added constructor to CvImage to make converting a cv::Mat to sensor_msgs::Image less verbose.
  • cv_bridge: Added unit test for #5206
  • cv_bridge: Applied patch from mdesnoyer to fix handling of non-continuous OpenCV images. #5206
  • Adding opencv2 to all manifests, so that client packages may not break when using them.
  • baking in opencv debs and attempting a pre-release
  • cv_bridge: Support for new 16-bit encodings.
  • cv_bridge: Deprecate old C++ cv_bridge API.
  • cv_bridge: Correctly scale for MONO8 <-> MONO16 conversions.
  • cv_bridge: Fixed issue where pointer version to toCvCopy would ignore the requested encoding (http://answers.ros.org/question/258/converting-kinect-rgb-image-to-opencv-gives-wrong).
  • fixed doc build by taking a static snapshot
  • cv_bridge: Marking doc reviewed.
  • cv_bridge: Tweaks to make docs look better.
  • cv_bridge: Added cvtColor(). License notices. Documented that CvBridge class is obsolete.
  • cv_bridge: Added redesigned C++ cv_bridge.
  • Doc cleanup
  • Trigger doc rebuild
  • mono16 -> bgr conversion tested and fixed in C
  • Added Ubuntu platform tags to manifest
  • Handle mono16 properly
  • Raise exception when imgMsgToCv() gets an image encoding it does not recognise, #3489
  • Remove use of deprecated rosbuild macros
  • Fixed example
  • cv_bridge split from opencv2
  • Contributors: Vincent Rabaud, ethanrublee, gerkey, jamesb, mihelich, vrabaud, wheeler

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

Name Repo Deps
ar_track_alvar github-ros-perception-ar_track_alvar
aruco_ros github-pal-robotics-aruco_ros
basler_tof github-uos-basler_tof
image_cb_detector github-ros-perception-calibration
laser_cb_detector github-ros-perception-calibration
costmap_converter github-rst-tu-dortmund-costmap_converter
cv_camera github-OTL-cv_camera
depthcloud_encoder github-RobotWebTools-depthcloud_encoder
fetch_depth_layer github-fetchrobotics-fetch_ros
gazebo_plugins github-ros-simulation-gazebo_ros_pkgs
grid_map_cv github-ethz-asl-grid_map
grid_map_demos github-ethz-asl-grid_map
grid_map_ros github-ethz-asl-grid_map
gscam github-ros-drivers-gscam
hector_compressed_map_transport github-tu-darmstadt-ros-pkg-hector_slam
hrpsys github-fkanehiro-hrpsys-base
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
imagezero_image_transport github-swri-robotics-imagezero_transport
imagezero_ros github-swri-robotics-imagezero_transport
libcmt github-jsk-ros-pkg-jsk_3rdparty
opt_camera github-jsk-ros-pkg-jsk_3rdparty
image_view2 github-jsk-ros-pkg-jsk_common
jsk_rosbag_tools github-jsk-ros-pkg-jsk_common
jsk_tools github-jsk-ros-pkg-jsk_common
posedetection_msgs github-jsk-ros-pkg-jsk_common_msgs
audio_to_spectrogram github-jsk-ros-pkg-jsk_recognition
checkerboard_detector github-jsk-ros-pkg-jsk_recognition
imagesift github-jsk-ros-pkg-jsk_recognition
jsk_pcl_ros github-jsk-ros-pkg-jsk_recognition
jsk_pcl_ros_utils github-jsk-ros-pkg-jsk_recognition
jsk_perception github-jsk-ros-pkg-jsk_recognition
jsk_recognition_utils github-jsk-ros-pkg-jsk_recognition
resized_image_transport github-jsk-ros-pkg-jsk_recognition
jsk_rqt_plugins github-jsk-ros-pkg-jsk_visualization
jsk_rviz_plugins github-jsk-ros-pkg-jsk_visualization
swri_geometry_util github-swri-robotics-marti_common
swri_image_util github-swri-robotics-marti_common
swri_opencv_util github-swri-robotics-marti_common
swri_transform_util github-swri-robotics-marti_common
mavros_extras github-mavlink-mavros
moveit_ros_perception github-ros-planning-moveit
naoqi_driver github-ros-naoqi-naoqi_driver
opencv_apps github-ros-perception-opencv_apps
pcdfilter_pa github-peterweissig-ros_pcdfilter
face_detector github-wg-perception-people
robot_calibration github-mikeferguson-robot_calibration
rotors_gazebo_plugins github-ethz-asl-rotors_simulator
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
rtabmap_ros github-introlab-rtabmap_ros
rgbd_rosbag_tools github-uos-uos_tools
usb_cam github-bosch-ros-pkg-usb_cam
video_stream_opencv github-ros-drivers-video_stream_opencv
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
visp_ros github-lagadic-visp_ros
web_video_server github-RobotWebTools-web_video_server
zbar_ros github-clearpathrobotics-zbar_ros
ecto_openni github-plasmodic-ecto_openni
ecto_ros github-plasmodic-ecto_ros
hector_costmap github-tu-darmstadt-ros-pkg-hector_navigation
hector_heat_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_motion_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_qrcode_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_soft_obstacle_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_barrel_detection_nodelet github-tu-darmstadt-ros-pkg-hector_visualization
hector_barrel_geotiff_plugin github-tu-darmstadt-ros-pkg-hector_visualization
hector_rqt_plugins github-tu-darmstadt-ros-pkg-hector_visualization
nerian_sp1 github-nerian-vision-nerian_sp1
opencv_candidate github-wg-perception-opencv_candidate
romeo_sensors_py github-ros-aldebaran-romeo_robot
uavc_v4lctl github-meuchel-uavc_v4lctl
vigir_footstep_planner github-team-vigir-vigir_footstep_planning_core
vigir_footstep_planning_default_plugins github-team-vigir-vigir_footstep_planning_core
head_pose_estimation github-OSUrobotics-ros-head-tracking
object_recognition_renderer github-wg-perception-ork_renderer
stereo_slam github-srv-stereo_slam
aruco_mapping github-SmartRoboticSystems-aruco_mapping
libhaloc github-srv-libhaloc
rail_recognition github-GT-RAIL-rail_pick_and_place
screen_grab github-lucasw-screen_grab

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.11.16
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version indigo
Last Updated 2017-11-05
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS Image messages and OpenCV images.

Additional Links

Maintainers

  • Vincent Rabaud

Authors

  • Patrick Mihelich
  • James Bowman
README
No README found. See repository README.
CHANGELOG

Changelog for package cv_bridge

1.11.16 (2017-11-05)

  • Silence warnings about un-used variables
  • Fixes #177 The Python bridge was wrong on OpenCV2 with mono8 (and any Mat with only two dimensions btw). Took the official Python bridge from OpenCV.
  • Add missing test file This fixes #171
  • export OpenCV variables
  • Properly deal with alpha in image compression. That fixes #169
  • Contributors: Kei Okada, Victor Lamoine, Vincent Rabaud

1.11.15 (2017-01-29)

1.11.14 (2016-09-24)

  • Specify background label when colorizing label image
  • Adjust to arbitrary image channels like 32FC40 Proper fix for #141
  • Remove unexpectedly included print statement
  • Contributors: Kentaro Wada, Vincent Rabaud

1.11.13 (2016-07-11)

  • split the conversion tests out of enumerants
  • support is_bigendian in Python Fixes #114 Also fixes mono16 test
  • Support compressed Images messages in python for indigo

    • Add cv2_to_comprssed_imgmsg: Convert from cv2 image to compressed image ros msg.
    • Add comprssed_imgmsg_to_cv2: Convert the compress message to a new image.
    • Add compressed image tests.

    - Add time to msgs (compressed and regular). add enumerants test for compressed image. merge the compressed tests with the regular ones. better comment explanation. I will squash this commit. Fix indentation fix typo mistage: from .imgmsg_to_compressed_cv2 to .compressed_imgmsg_to_cv2. remove cv2.CV_8UC1 remove rospy and time depndency. change from IMREAD_COLOR to IMREAD_ANYCOLOR. - make indentaion of 4. - remove space trailer. - remove space from empty lines. - another set of for loops, it will make things easier to track. In that new set, just have the number of channels in ([],1,3,4) (ignore two for jpg). from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721943

    - keep the OpenCV error message. from: https://github.com/ros-perception/vision_opencv/pull/132#discussion_r66721013 add debug print for test. add case for 4 channels in test. remove 4 channels case from compressed test. add debug print for test. change typo of format. fix typo in format. change from dip to dib. change to IMREAD_ANYCOLOR as python code. (as it should). rename TIFF to tiff Sperate the tests one for regular images and one for compressed. update comment

  • Add CvtColorForDisplayOptions with new colormap param

  • fix doc jobs

  • Add python binding for cv_bridge::cvtColorForDisplay

  • Fix compilation of cv_bridge with opencv3 and python3.

  • Don\'t colorize float image as label image This is a bug and image whose encoding is other than 32SC1 should not be colorized. (currently, depth images with 32FC1 is also colorized.)

  • Contributors: Kentaro Wada, Maarten de Vries, Vincent Rabaud, talregev

1.11.12 (2016-03-10)

  • Fix my typo
  • Remove another eval Because [cvtype2_to_dtype_with_channels(\'8UCimport os; os.system(\"rm -rf /\")\')]{.title-ref} should never have a chance of happening.
  • Remove eval, and other fixes Also, extend from object, so as not to get a python 2.2-style class, and use the new-style raise statement
  • Contributors: Eric Wieser

1.11.11 (2016-01-31)

  • clean up the doc files
  • fix a few warnings in doc jobs
  • Contributors: Vincent Rabaud

1.11.10 (2016-01-16)

  • fix OpenCV3 build
  • Describe about converting label to bgr image in cvtColorForDisplay
  • Convert label to BGR image to display
  • Add test for rgb_colors.cpp
  • Add rgb_colors util
  • Update doc for converting to BGR in cvtColorForDisplay
  • Convert to BGR from any encoding
  • Refactor: sensor_msgs::image_encodings -> enc
  • Contributors: Kentaro Wada, Vincent Rabaud

1.11.9 (2015-11-29)

  • deal with endianness
  • add cvtColorForDisplay
  • Improved efficiency by using toCvShare instead of toCvCopy.
  • Add format enum for easy use and choose format.
  • fix compilation warnings
  • start to extend the cv_bridge with cvCompressedImage class, that will convert from cv::Mat opencv images to CompressedImage ros messages and vice versa
  • Contributors: Carlos Costa, Vincent Rabaud, talregev

1.11.8 (2015-07-15)

  • Simplify some OpenCV3 distinction
  • fix tests
  • fix test under OpenCV3
  • Remove Python for Android
  • Contributors: Gary Servin, Vincent Rabaud

1.11.7 (2014-12-14)

  • check that the type is indeed a Numpy one This is in response to #51
  • Contributors: Vincent Rabaud

1.11.6 (2014-11-16)

  • chnage the behavior when there is only one channel
  • cleanup tests
  • Contributors: Vincent Rabaud

1.11.5 (2014-09-21)

  • get code to work with OpenCV3 actually fixes #46 properly
  • Contributors: Vincent Rabaud

1.11.4 (2014-07-27)

  • Fix #42
  • Contributors: Libor Wagner

1.11.3 (2014-06-08)

  • Correct dependency from non-existent package to cv_bridge
  • Contributors: Isaac Isao Saito

1.11.2 (2014-04-28)

  • Add depend on python for cv_bridge
  • Contributors: Scott K Logan

1.11.1 (2014-04-16)

  • fixes #34
  • Contributors: Vincent Rabaud

1.11.0 (2014-02-15)

  • remove deprecated API and fixes #33
  • fix OpenCV dependencies
  • Contributors: Vincent Rabaud

1.10.15 (2014-02-07)

  • fix python 3 error at configure time
  • Contributors: Dirk Thomas

1.10.14 (2013-11-23 16:17)

  • update changelog
  • Find NumPy include directory
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.13 (2013-11-23 09:19)

  • fix compilation on older NumPy
  • Contributors: Vincent Rabaud

1.10.12 (2013-11-22)

  • bump changelog
  • Fixed issue with image message step size
  • fix crash for non char data
  • fix #26
  • Contributors: Brian Jensen, Vincent Rabaud

1.10.11 (2013-10-23)

  • fix bad image check and improve it too
  • Contributors: Vincent Rabaud

1.10.10 (2013-10-19)

  • fixes #25
  • Contributors: Vincent Rabaud

1.10.9 (2013-10-07)

  • fixes #20
  • Contributors: Vincent Rabaud

1.10.8 (2013-09-09)

  • fixes #22
  • fixes #17
  • check for CATKIN_ENABLE_TESTING
  • fixes #16
  • update email address
  • Contributors: Lukas Bulwahn, Vincent Rabaud

1.10.7 (2013-07-17)

1.10.6 (2013-03-01)

  • make sure conversion are applied for depth differences
  • Contributors: Vincent Rabaud

1.10.5 (2013-02-11)

1.10.4 (2013-02-02)

  • fix installation of the boost package
  • Contributors: Vincent Rabaud

1.10.3 (2013-01-17)

  • Link against PTYHON_LIBRARIES
  • Contributors: William Woodall

1.10.2 (2013-01-13)

  • use CATKIN_DEVEL_PREFIX instead of obsolete CATKIN_BUILD_PREFIX
  • Contributors: Dirk Thomas

1.10.1 (2013-01-10)

  • add licenses
  • fixes #5 by removing the logic from Python and using wrapped C++ and adding a test for it
  • fix a bug discovered when running the opencv_tests
  • use some C++ logic
  • add a Boost Python module to have the C++ logix used directly in Python
  • Contributors: Vincent Rabaud

1.10.0 (2013-01-03)

  • add conversion from Bayer to gray
  • Contributors: Vincent Rabaud

1.9.15 (2013-01-02)

  • use the reverted isColor behavior
  • Contributors: Vincent Rabaud

1.9.14 (2012-12-30)

1.9.13 (2012-12-15)

  • use the catkin macros for the setup.py
  • fix #3
  • Contributors: Vincent Rabaud

1.9.12 (2012-12-14)

  • buildtool_depend catkin fix
  • CMakeLists.txt clean up.
  • Contributors: William Woodall

1.9.11 (2012-12-10)

  • fix issue #1
  • Cleanup of package.xml
  • Contributors: Vincent Rabaud, William Woodall

1.9.10 (2012-10-04)

  • fix the bad include folder
  • Contributors: Vincent Rabaud

1.9.9 (2012-10-01)

  • fix dependencies
  • Contributors: Vincent Rabaud

1.9.8 (2012-09-30)

  • fix some dependencies
  • add rosconsole as a dependency
  • fix missing Python at install and fix some dependencies
  • Contributors: Vincent Rabaud

1.9.7 (2012-09-28 21:07)

  • add missing stuff
  • make sure we find catkin
  • Contributors: Vincent Rabaud

1.9.6 (2012-09-28 15:17)

  • move the test to where it belongs
  • fix the tests and the API to not handle conversion from CV_TYPE to Color type (does not make sense)
  • comply to the new Catkin API
  • backport the YUV422 bug fix from Fuerte
  • apply patch from https://code.ros.org/trac/ros-pkg/ticket/5556
  • Contributors: Vincent Rabaud

1.9.5 (2012-09-15)

  • remove dependencies to the opencv2 ROS package
  • Contributors: Vincent Rabaud

1.9.4 (2012-09-13)

  • make sure the include folders are copied to the right place
  • Contributors: Vincent Rabaud

1.9.3 (2012-09-12)

1.9.2 (2012-09-07)

  • be more compliant to the latest catkin
  • added catkin_project() to cv_bridge, image_geometry, and opencv_tests
  • Contributors: Jonathan Binney, Vincent Rabaud

1.9.1 (2012-08-28 22:06)

  • remove things that were marked as ROS_DEPRECATED
  • Contributors: Vincent Rabaud

1.9.0 (2012-08-28 14:29)

  • catkinized opencv_tests by Jon Binney
  • catkinized cv_bridge package... others disable for now by Jon Binney
  • remove the version check, let\'s trust OpenCV :)
  • revert the removal of opencv2
  • vision_opencv: Export OpenCV flags in manifests for image_geometry, cv_bridge.
  • finally get rid of opencv2 as it is a system dependency now
  • bump REQUIRED version of OpenCV to 2.3.2, which is what\'s in ros-fuerte-opencv
  • switch rosdep name to opencv2, to refer to ros-fuerte-opencv2
  • added missing header
  • Added constructor to CvImage to make converting a cv::Mat to sensor_msgs::Image less verbose.
  • cv_bridge: Added unit test for #5206
  • cv_bridge: Applied patch from mdesnoyer to fix handling of non-continuous OpenCV images. #5206
  • Adding opencv2 to all manifests, so that client packages may not break when using them.
  • baking in opencv debs and attempting a pre-release
  • cv_bridge: Support for new 16-bit encodings.
  • cv_bridge: Deprecate old C++ cv_bridge API.
  • cv_bridge: Correctly scale for MONO8 <-> MONO16 conversions.
  • cv_bridge: Fixed issue where pointer version to toCvCopy would ignore the requested encoding (http://answers.ros.org/question/258/converting-kinect-rgb-image-to-opencv-gives-wrong).
  • fixed doc build by taking a static snapshot
  • cv_bridge: Marking doc reviewed.
  • cv_bridge: Tweaks to make docs look better.
  • cv_bridge: Added cvtColor(). License notices. Documented that CvBridge class is obsolete.
  • cv_bridge: Added redesigned C++ cv_bridge.
  • Doc cleanup
  • Trigger doc rebuild
  • mono16 -> bgr conversion tested and fixed in C
  • Added Ubuntu platform tags to manifest
  • Handle mono16 properly
  • Raise exception when imgMsgToCv() gets an image encoding it does not recognise, #3489
  • Remove use of deprecated rosbuild macros
  • Fixed example
  • cv_bridge split from opencv2
  • Contributors: Vincent Rabaud, ethanrublee, gerkey, jamesb, mihelich, vrabaud, wheeler

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

Name Repo Deps
ar_track_alvar github-ros-perception-ar_track_alvar
aruco_ros github-pal-robotics-aruco_ros
asr_aruco_marker_recognition github-asr-ros-asr_aruco_marker_recognition
basler_tof github-uos-basler_tof
image_cb_detector github-ros-perception-calibration
laser_cb_detector github-ros-perception-calibration
generic_throttle github-ipa320-cob_command_tools
cob_camera_sensors github-ipa320-cob_driver
cob_map_accessibility_analysis github-ipa320-cob_navigation
cob_image_flip github-ipa320-cob_perception_common
cob_object_detection_visualizer github-ipa320-cob_perception_common
cob_vision_utils github-ipa320-cob_perception_common
ipa_3d_fov_visualization github-ipa320-cob_perception_common
costmap_converter github-rst-tu-dortmund-costmap_converter
criutils github-crigroup-criutils
cv_camera github-OTL-cv_camera
depthcloud_encoder github-RobotWebTools-depthcloud_encoder
fetch_depth_layer github-fetchrobotics-fetch_ros
fiducial_detect github-UbiquityRobotics-fiducials
flir_boson_usb github-astuff-flir_boson_usb
gazebo_plugins github-ros-simulation-gazebo_ros_pkgs
grid_map_cv github-anybotics-grid_map
grid_map_demos github-anybotics-grid_map
grid_map_ros github-anybotics-grid_map
gscam github-ros-drivers-gscam
hector_compressed_map_transport github-tu-darmstadt-ros-pkg-hector_slam
hrpsys github-fkanehiro-hrpsys-base
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_publisher github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
imagezero_image_transport github-swri-robotics-imagezero_transport
imagezero_ros github-swri-robotics-imagezero_transport
libcmt github-jsk-ros-pkg-jsk_3rdparty
opt_camera github-jsk-ros-pkg-jsk_3rdparty
image_view2 github-jsk-ros-pkg-jsk_common
jsk_rosbag_tools github-jsk-ros-pkg-jsk_common
jsk_tools github-jsk-ros-pkg-jsk_common
posedetection_msgs github-jsk-ros-pkg-jsk_common_msgs
audio_to_spectrogram github-jsk-ros-pkg-jsk_recognition
checkerboard_detector github-jsk-ros-pkg-jsk_recognition
imagesift github-jsk-ros-pkg-jsk_recognition
jsk_pcl_ros github-jsk-ros-pkg-jsk_recognition
jsk_pcl_ros_utils github-jsk-ros-pkg-jsk_recognition
jsk_perception github-jsk-ros-pkg-jsk_recognition
jsk_recognition_utils github-jsk-ros-pkg-jsk_recognition
resized_image_transport github-jsk-ros-pkg-jsk_recognition
jsk_rqt_plugins github-jsk-ros-pkg-jsk_visualization
jsk_rviz_plugins github-jsk-ros-pkg-jsk_visualization
swri_geometry_util github-swri-robotics-marti_common
swri_image_util github-swri-robotics-marti_common
swri_opencv_util github-swri-robotics-marti_common
swri_transform_util github-swri-robotics-marti_common
mavros_extras github-mavlink-mavros
moveit_ros_perception github-ros-planning-moveit
movie_publisher github-peci1-movie_publisher
multi_object_tracking_lidar github-praveen-palanisamy-multiple-object-tracking-lidar
naoqi_driver github-ros-naoqi-naoqi_driver
opencv_apps github-ros-perception-opencv_apps
pcdfilter_pa github-tuc-proaut-ros_pcdfilter
face_detector github-wg-perception-people
pr2_gazebo_plugins github-PR2-pr2_simulator
robot_calibration github-mikeferguson-robot_calibration
rotors_gazebo_plugins github-ethz-asl-rotors_simulator
rqt_image_view github-ros-visualization-rqt_image_view
rtabmap github-introlab-rtabmap
rtabmap_ros github-introlab-rtabmap_ros
rgbd_rosbag_tools github-uos-uos_tools
usb_cam github-bosch-ros-pkg-usb_cam
video_stream_opencv github-ros-drivers-video_stream_opencv
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
visp_ros github-lagadic-visp_ros
web_video_server github-RobotWebTools-web_video_server
webrtc_ros github-RobotWebTools-webrtc_ros
zbar_ros github-ros-drivers-zbar_ros
cliff_detector github-mdrwiega-depth_nav_tools
ecto_openni github-plasmodic-ecto_openni
ecto_ros github-plasmodic-ecto_ros
hector_costmap github-tu-darmstadt-ros-pkg-hector_navigation
hector_heat_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_motion_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_qrcode_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_soft_obstacle_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_barrel_detection_nodelet github-tu-darmstadt-ros-pkg-hector_visualization
hector_barrel_geotiff_plugin github-tu-darmstadt-ros-pkg-hector_visualization
hector_rqt_plugins github-tu-darmstadt-ros-pkg-hector_visualization
caljob_creator github-ros-industrial-industrial_calibration
industrial_extrinsic_cal github-ros-industrial-industrial_calibration
rgbd_depth_correction github-ros-industrial-industrial_calibration
nerian_sp1 github-nerian-vision-nerian_sp1
feature_tracker github-tu-rbo-omip
joint_tracker github-tu-rbo-omip
omip_common github-tu-rbo-omip
rb_tracker github-tu-rbo-omip
shape_reconstruction github-tu-rbo-omip
shape_tracker github-tu-rbo-omip
opencv_candidate github-wg-perception-opencv_candidate
romeo_sensors_py github-ros-aldebaran-romeo_robot
bag_tools github-srv-srv_tools
tango_ros_native github-Intermodalics-tango_ros
turtlebot_actions github-turtlebot-turtlebot_apps
turtlebot_arm_kinect_calibration github-turtlebot-turtlebot_arm
uavc_v4lctl github-meuchel-uavc_v4lctl
vigir_footstep_planner github-team-vigir-vigir_footstep_planning_core
vigir_footstep_planning_default_plugins github-team-vigir-vigir_footstep_planning_core
image_stream github-UNR-RoboticsResearchLab-web_interface
agile_grasp github-atenpas-agile_grasp
apriltags_ros github-RIVeR-Lab-apriltags_ros
ar_pose github-ar-tools-ar_tools
baxter_examples github-RethinkRobotics-baxter_examples
baxter_tools github-RethinkRobotics-baxter_tools
bwi_logging github-utexas-bwi-bwi_common
bwi_mapper github-utexas-bwi-bwi_common
bwi_planning_common github-utexas-bwi-bwi_common
bwi_rqt_plugins github-utexas-bwi-bwi_common
bwi_scavenger github-utexas-bwi-bwi_common
bwi_tools github-utexas-bwi-bwi_common
cob_openni2_tracker github-ipa-rmb-cob_people_perception
cob_people_detection github-ipa-rmb-cob_people_perception
head_pose_estimation github-OSUrobotics-ros-head-tracking
jsk_pr2_startup github-jsk-ros-pkg-jsk_robot
mjpeg_server github-RobotWebTools-mjpeg_server
object_recognition_renderer github-wg-perception-ork_renderer
softkinetic_camera github-ipa320-softkinetic
stereo_slam github-srv-stereo_slam
viso2_ros github-srv-viso2
aras_visual_servo_camera github-babaksit-aras_visual_servo
aras_visual_servo_controller github-babaksit-aras_visual_servo
aruco_mapping github-SmartRoboticSystems-aruco_mapping
baxter_sim_hardware github-RethinkRobotics-baxter_simulator
bowpmap_ros github-kejriwalnishant1990-bowpmap_ros
camera_pose_calibration github-delftrobotics-camera_pose_calibration
custom_landmark_2d github-matthew-liu-custom_landmark_2d
dlut_viso2_ros github-ZhuangYanDLUT-dlut_vision
evarobot_gazebo github-inomuh-evarobot_simulator
face_recognition github-procrob-face_recognition
h4r_thermapp_camera github-Hacks4ROS-h4r_thermapp_camera
or_libs gitlab-uni-koblenz-robbie-homer_object_recognition
or_msgs gitlab-uni-koblenz-robbie-homer_object_recognition
or_nodes gitlab-uni-koblenz-robbie-homer_object_recognition
robot_face gitlab-uni-koblenz-robbie-homer_robot_face
target_object_detector github-CIR-KIT-human_detector
selective_dualarm_stowing github-start-jsk-jsk_apc
elevator_move_base_pr2 github-jsk-ros-pkg-jsk_demos
anj_featurenav github-lama-imr-lama_featurenav
libhaloc github-srv-libhaloc
lsd_slam_core github-tum-vision-lsd_slam
lsd_slam_viewer github-tum-vision-lsd_slam
cv_detection github-micros-uav-micros_cv_detection
micros_dynamic_objects_filter github-yincanben-micros_dynamic_objects_filter
micros_mars_task_alloc github-liminglong-micros_mars_task_alloc
o3d3xx github-lovepark-o3d3xx-ros
ohm_rrl_motiondetection github-autonohm-ohm_rrl_perception
ohm_rrl_qrdetection github-autonohm-ohm_rrl_perception
orsens github-Oriense-orsens_ros
rail_face_detector github-GT-RAIL-rail_face_detection
rail_object_detector github-GT-RAIL-rail_object_detection
rail_recognition github-GT-RAIL-rail_pick_and_place
remote_monitor github-CIR-KIT-remote_monitor
rgbdslam github-felixendres-rgbdslam_v2
rocon_rtsp_camera_relay github-robotics-in-concert-rocon_devices
rospilot_deps github-rospilot-rospilot_deps
rviz_textured_quads github-zlt1991-tensor_field_nav
tensor_field_nav_core github-zlt1991-tensor_field_nav
tum_ardrone github-tum-vision-tum_ardrone
ucl_drone github-dronesinma-ucl_drone_2016
uga_tum_ardrone github-thinclab-uga_tum_ardrone
viodom github-fjperezgrau-viodom

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged cv_bridge at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.10.18
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version groovy-devel
Last Updated 2014-10-28
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This contains CvBridge, which converts between ROS Image messages and OpenCV images.

Additional Links

Maintainers

  • Vincent Rabaud

Authors

  • Patrick Mihelich
  • James Bowman
README
No README found. No README in repository either.
CHANGELOG

1.10.18 (2014-06-08)

  • Correct dependency from non-existent package to cv_bridge
  • Contributors: Isaac Isao Saito

1.10.17 (2014-04-18)

1.10.14 (2013-11-23)

  • fix compilation on OSX

1.10.13 (2013-11-23)

  • fix compilation on older NumPy

1.10.12 (2013-11-22)

  • fix #27 and #28 for non-aligned images (thx \@jensenb !)
  • fix #26 for support of numpy cv2 API

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Name
boost
opencv2

Dependant Packages

Name Repo Deps
ar_track_alvar github-sniekum-ar_track_alvar
aruco_ros github-pal-robotics-aruco_ros
image_cb_detector github-ros-perception-calibration
laser_cb_detector github-ros-perception-calibration
cob_image_flip github-ipa320-cob_perception_common
cv_camera github-OTL-cv_camera
depthcloud_encoder github-RobotWebTools-depthcloud_encoder
gazebo_plugins github-ros-simulation-gazebo_ros_pkgs
gscam github-ros-drivers-gscam
hector_compressed_map_transport github-tu-darmstadt-ros-pkg-hector_slam
hrpsys github-start-jsk-hrpsys
camera_calibration github-ros-perception-image_pipeline
depth_image_proc github-ros-perception-image_pipeline
image_proc github-ros-perception-image_pipeline
image_rotate github-ros-perception-image_pipeline
image_view github-ros-perception-image_pipeline
stereo_image_proc github-ros-perception-image_pipeline
compressed_depth_image_transport github-ros-perception-image_transport_plugins
compressed_image_transport github-ros-perception-image_transport_plugins
theora_image_transport github-ros-perception-image_transport_plugins
libcmt github-jsk-ros-pkg-jsk_3rdparty
opt_camera github-jsk-ros-pkg-jsk_3rdparty
image_view2 github-jsk-ros-pkg-jsk_common
jsk_rosbag_tools github-jsk-ros-pkg-jsk_common
jsk_tools github-jsk-ros-pkg-jsk_common
posedetection_msgs github-jsk-ros-pkg-jsk_common_msgs
audio_to_spectrogram github-jsk-ros-pkg-jsk_recognition
checkerboard_detector github-jsk-ros-pkg-jsk_recognition
imagesift github-jsk-ros-pkg-jsk_recognition
jsk_pcl_ros github-jsk-ros-pkg-jsk_recognition
jsk_pcl_ros_utils github-jsk-ros-pkg-jsk_recognition
jsk_perception github-jsk-ros-pkg-jsk_recognition
jsk_recognition_utils github-jsk-ros-pkg-jsk_recognition
resized_image_transport github-jsk-ros-pkg-jsk_recognition
jsk_rqt_plugins github-jsk-ros-pkg-jsk_visualization
jsk_rviz_plugins github-jsk-ros-pkg-jsk_visualization
mavros_extras github-mavlink-mavros
face_detector github-wg-perception-people
pr2_gazebo_plugins github-PR2-pr2_simulator
rtabmap github-introlab-rtabmap
rtabmap_ros github-introlab-rtabmap_ros
rgbd_rosbag_tools github-uos-uos_tools
usb_cam github-bosch-ros-pkg-usb_cam
video_stream_opencv github-ros-drivers-video_stream_opencv
opencv_tests github-ros-perception-vision_opencv
vision_opencv github-ros-perception-vision_opencv
visp_ros github-lagadic-visp_ros
web_video_server github-RobotWebTools-web_video_server
zbar_ros github-clearpathrobotics-zbar_ros
ecto_openni github-plasmodic-ecto_openni
ecto_ros github-plasmodic-ecto_ros
hector_costmap github-tu-darmstadt-ros-pkg-hector_navigation
hector_heat_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_motion_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_qrcode_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_soft_obstacle_detection github-tu-darmstadt-ros-pkg-hector_vision
hector_barrel_detection_nodelet github-tu-darmstadt-ros-pkg-hector_visualization
hector_barrel_geotiff_plugin github-tu-darmstadt-ros-pkg-hector_visualization
hector_rqt_plugins github-tu-darmstadt-ros-pkg-hector_visualization
nerian_sp1 github-nerian-vision-nerian_sp1
opencv_candidate github-wg-perception-opencv_candidate
romeo_sensors_py github-ros-aldebaran-romeo_robot
bag_tools github-srv-srv_tools
pano_core github-turtlebot-turtlebot_apps
pano_py github-turtlebot-turtlebot_apps
pano_ros github-turtlebot-turtlebot_apps
turtlebot_actions github-turtlebot-turtlebot_apps
agile_grasp github-atenpas-agile_grasp