-
 

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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Dependant Packages

Name Deps
apriltag_ros
aruco
aruco_ros
depthai_bridge
depthai_examples
depthai_filters
depthai_ros_driver
find_object_2d
gazebo_plugins
grid_map_cv
grid_map_demos
grid_map_ros
gscam
camera_calibration
depth_image_proc
image_proc
image_publisher
image_rotate
image_view
stereo_image_proc
compressed_depth_image_transport
compressed_image_transport
theora_image_transport
hri
pyhri
mapviz
mapviz_plugins
multires_image
swri_geometry_util
swri_image_util
swri_opencv_util
swri_transform_util
moveit_ros_perception
mrpt_rawlog
mrpt_sensor_bumblebee_stereo
mrpt_sensor_gnss_nmea
mrpt_sensor_gnss_novatel
mrpt_sensor_imu_taobotics
mrpt_sensorlib
naoqi_driver
pose_cov_ops
realsense2_camera
robot_calibration
rqt_image_view
rtabmap
rtabmap_conversions
rtabmap_odom
rtabmap_slam
rtabmap_sync
rtabmap_util
rtabmap_viz
usb_cam
opencv_tests
vision_opencv
web_video_server
zbar_ros
aruco_opencv
crane_plus_examples
mrpt2
nav2_waypoint_follower
nerian_stereo
raspimouse_ros2_examples
v4l2_camera
ros_image_to_qimage
hri_rviz
apriltag_detector_mit
apriltag_detector_umich
apriltag_draw
ffmpeg_image_transport
ffmpeg_image_transport_tools
mola_input_rosbag2
sick_safevisionary_driver
turbojpeg_compressed_image_transport
camera_aravis2
nicla_vision_ros2
as2_behaviors_perception
as2_core
as2_usb_camera_interface
camera_ros
vimbax_camera_examples
robosoft_openai
mrpt_apps
mrpt_libapps
mrpt_libbase
mrpt_libgui
mrpt_libhwdrivers
mrpt_libmaps
mrpt_libmath
mrpt_libnav
mrpt_libobs
mrpt_libopengl
mrpt_libposes
mrpt_libros_bridge
mrpt_libslam
mrpt_libtclap
python_mrpt
ffmpeg_encoder_decoder
adi_3dtof_image_stitching
rosbag2_to_video
extrinsic_calibrator_core
extrinsic_calibrator_examples
hri_face_detect

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ández Cordero, Kenji Brameld, Lightech, Yadunund, ijnek

3.4.0 (2022-10-03)

3.3.1 (2022-09-21)

  • export rclcpp as dependency (#491)
  • silence dperecation warnings using boost macros (#478)
  • Contributors: Kenji Brameld

3.3.0 (2022-09-14)

  • Add apache license and bsd license, because both are used. (#479)
  • Remove opencv2.cpp and rename opencv3.cpp to opencv4.cpp (#480)
  • Deprecate .h files in favor of .hpp headers (#448)
  • Reorganize author tag (#460)
  • Add colormap argument to python wrapper (#452)
  • Fix 16U encoding type (#459)
  • Add type adapter for cv::Mat (#441)
  • 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, Marcel Zeilinger, 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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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ández Cordero, Christian Rauch, Kenji Brameld, Lightech, Yadunund, ijnek

3.4.0 (2022-10-03)

3.3.1 (2022-09-21)

  • export rclcpp as dependency (#491)
  • silence dperecation warnings using boost macros (#478)
  • Contributors: Kenji Brameld

3.3.0 (2022-09-14)

  • Add apache license and bsd license, because both are used. (#479)
  • Remove opencv2.cpp and rename opencv3.cpp to opencv4.cpp (#480)
  • Deprecate .h files in favor of .hpp headers (#448)
  • Reorganize author tag (#460)
  • Add colormap argument to python wrapper (#452)
  • Fix 16U encoding type (#459)
  • Add type adapter for cv::Mat (#441)
  • 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, Marcel Zeilinger, 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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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ández Cordero, Christian Rauch, Kenji Brameld, Lightech, Yadunund, ijnek

3.4.0 (2022-10-03)

3.3.1 (2022-09-21)

  • export rclcpp as dependency (#491)
  • silence dperecation warnings using boost macros (#478)
  • Contributors: Kenji Brameld

3.3.0 (2022-09-14)

  • Add apache license and bsd license, because both are used. (#479)
  • Remove opencv2.cpp and rename opencv3.cpp to opencv4.cpp (#480)
  • Deprecate .h files in favor of .hpp headers (#448)
  • Reorganize author tag (#460)
  • Add colormap argument to python wrapper (#452)
  • Fix 16U encoding type (#459)
  • Add type adapter for cv::Mat (#441)
  • 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, Marcel Zeilinger, 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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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 2024-08-20
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ández Cordero, James Xu, Sean Yen

1.13.0 (2018-04-30)

  • Use rosdep OpenCV and not ROS one. We defintely don't need the whole OpenCV. We need to clean the rosdep keys.
  • Contributors: Vincent Rabaud

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é Pereira <<patrickelectric@gmail.com>>
  • Contributors: Patrick José Pereira, Vincent Rabaud

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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Dependant Packages

Name Deps
ainstein_radar_tools
apriltag_ros
aruco
aruco_ros
laser
pico_driver
depth_odometry
interest_point
lk_optical_flow
localization_measurements
localization_node
marker_tracking
astrobee_gazebo
basler_tof
image_cb_detector
laser_cb_detector
generic_throttle
cob_map_accessibility_analysis
cob_image_flip
cob_object_detection_visualizer
cob_vision_utils
ipa_3d_fov_visualization
costmap_converter
camera_throttle
criutils
cv_camera
depthai_bridge
depthai_examples
depthai_filters
depthai_ros_driver
ensenso_camera
smach_viewer
fetch_depth_layer
aruco_detect
fiducial_slam
stag_detect
find_object_2d
gazebo_plugins
grid_map_cv
grid_map_demos
grid_map_ros
hector_compressed_map_transport
hfl_driver
ifm3d_ros_driver
ifm3d_core
camera_calibration
depth_image_proc
image_proc
image_publisher
image_rotate
image_view
stereo_image_proc
compressed_depth_image_transport
compressed_image_transport
theora_image_transport
imagezero_image_transport
imagezero_ros
drone_wrapper
tello_driver
libcmt
opt_camera
image_view2
jsk_rosbag_tools
jsk_tools
posedetection_msgs
audio_to_spectrogram
checkerboard_detector
imagesift
jsk_pcl_ros
jsk_pcl_ros_utils
jsk_perception
jsk_recognition_utils
resized_image_transport
jsk_rqt_plugins
jsk_rviz_plugins
hri
mapviz
mapviz_plugins
multires_image
swri_geometry_util
swri_image_util
swri_opencv_util
swri_transform_util
moveit_ros_perception
movie_publisher
mrpt2
multi_object_tracking_lidar
multisense_lib
multisense_ros
naoqi_driver
nerian_stereo
ov_core
ov_init
ov_msckf
opencv_apps
pcdfilter_pa
face_detector
point_cloud_color
pose_cov_ops
pr2_gazebo_plugins
robot_calibration
rqt_image_view
rtabmap
rtabmap_conversions
rtabmap_odom
rtabmap_slam
rtabmap_sync
rtabmap_util
rtabmap_viz
rviz_animated_view_controller
sciurus17_examples
sciurus17_vision
sm_ridgeback_barrel_search_1
sm_ridgeback_barrel_search_2
stag_ros
tuw_geometry
tuw_multi_robot_router
tuw_voronoi_graph
usb_cam
usb_cam_controllers
velo2cam_calibration
video_stream_opencv
opencv_tests
vision_opencv
visp_ros
web_video_server
zbar_ros
darknet_ros
dnn_detect
ipcamera_driver
cmvision
aruco_opencv
clpe_ros
cam2lidar
cob_fiducials
gnss_info
hri_rviz
l3cam_ros
leo_example_line_follower
leo_example_object_detection
mlx90640_thermal_camera
moveit_calibration_gui
pyhri
quori_face
sick_safevisionary_driver
sick_visionary_ros
turtlebot3_autorace_camera
turtlebot3_autorace_detect
mrpt_apps
mrpt_libapps
mrpt_libbase
mrpt_libgui
mrpt_libhwdrivers
mrpt_libmaps
mrpt_libmath
mrpt_libnav
mrpt_libobs
mrpt_libopengl
mrpt_libposes
mrpt_libros_bridge
mrpt_libslam
mrpt_libtclap
nicla_vision_ros
python_mrpt
adi_3dtof_image_stitching

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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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é Pereira <<patrickelectric@gmail.com>>
  • Contributors: Patrick José Pereira, Vincent Rabaud

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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Dependant Packages

Name Deps
ar_track_alvar
aruco_ros
basler_tof
image_cb_detector
laser_cb_detector
costmap_converter
cv_camera
depthcloud_encoder
fetch_depth_layer
gazebo_plugins
grid_map_cv
grid_map_demos
grid_map_ros
gscam
hector_compressed_map_transport
hrpsys
camera_calibration
depth_image_proc
image_proc
image_publisher
image_rotate
image_view
stereo_image_proc
compressed_depth_image_transport
compressed_image_transport
theora_image_transport
imagezero_image_transport
imagezero_ros
libcmt
opt_camera
image_view2
jsk_rosbag_tools
jsk_tools
posedetection_msgs
audio_to_spectrogram
checkerboard_detector
imagesift
jsk_pcl_ros
jsk_pcl_ros_utils
jsk_perception
jsk_recognition_utils
resized_image_transport
jsk_rqt_plugins
jsk_rviz_plugins
swri_geometry_util
swri_image_util
swri_opencv_util
swri_transform_util
mavros_extras
moveit_ros_perception
naoqi_driver
opencv_apps
pcdfilter_pa
face_detector
pose_cov_ops
robot_calibration
rotors_gazebo_plugins
rqt_image_view
rtabmap
rtabmap_ros
rgbd_rosbag_tools
usb_cam
video_stream_opencv
opencv_tests
vision_opencv
visp_ros
web_video_server
zbar_ros
ecto_openni
ecto_ros
hector_costmap
hector_heat_detection
hector_motion_detection
hector_qrcode_detection
hector_soft_obstacle_detection
hector_barrel_detection_nodelet
hector_barrel_geotiff_plugin
hector_rqt_plugins
nerian_sp1
opencv_candidate
romeo_sensors_py
uavc_v4lctl
vigir_footstep_planner
vigir_footstep_planning_default_plugins
head_pose_estimation
object_recognition_renderer
stereo_slam
aruco_mapping
libhaloc
rail_recognition
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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Dependant Packages

Name Deps
ar_track_alvar
aruco_ros
asr_aruco_marker_recognition
basler_tof
image_cb_detector
laser_cb_detector
generic_throttle
cob_camera_sensors
cob_map_accessibility_analysis
cob_image_flip
cob_object_detection_visualizer
cob_vision_utils
ipa_3d_fov_visualization
costmap_converter
criutils
cv_camera
depthcloud_encoder
fetch_depth_layer
fiducial_detect
flir_boson_usb
gazebo_plugins
grid_map_cv
grid_map_demos
grid_map_ros
gscam
hector_compressed_map_transport
hrpsys
camera_calibration
depth_image_proc
image_proc
image_publisher
image_rotate
image_view
stereo_image_proc
compressed_depth_image_transport
compressed_image_transport
theora_image_transport
imagezero_image_transport
imagezero_ros
libcmt
opt_camera
image_view2
jsk_rosbag_tools
jsk_tools
posedetection_msgs
audio_to_spectrogram
checkerboard_detector
imagesift
jsk_pcl_ros
jsk_pcl_ros_utils
jsk_perception
jsk_recognition_utils
resized_image_transport
jsk_rqt_plugins
jsk_rviz_plugins
swri_geometry_util
swri_image_util
swri_opencv_util
swri_transform_util
mavros_extras
moveit_ros_perception
movie_publisher
multi_object_tracking_lidar
naoqi_driver
opencv_apps
pcdfilter_pa
face_detector
pose_cov_ops
pr2_gazebo_plugins
robot_calibration
rotors_gazebo_plugins
rqt_image_view
rtabmap
rtabmap_ros
rgbd_rosbag_tools
usb_cam
video_stream_opencv
opencv_tests
vision_opencv
visp_ros
web_video_server
webrtc_ros
zbar_ros
cliff_detector
ecto_openni
ecto_ros
hector_costmap
hector_heat_detection
hector_motion_detection
hector_qrcode_detection
hector_soft_obstacle_detection
hector_barrel_detection_nodelet
hector_barrel_geotiff_plugin
hector_rqt_plugins
caljob_creator
industrial_extrinsic_cal
rgbd_depth_correction
nerian_sp1
feature_tracker
joint_tracker
omip_common
rb_tracker
shape_reconstruction
shape_tracker
opencv_candidate
romeo_sensors_py
bag_tools
tango_ros_native
turtlebot_actions
turtlebot_arm_kinect_calibration
uavc_v4lctl
vigir_footstep_planner
vigir_footstep_planning_default_plugins
image_stream
agile_grasp
apriltags_ros
ar_pose
baxter_examples
baxter_tools
bwi_logging
bwi_mapper
bwi_planning_common
bwi_rqt_plugins
bwi_scavenger
bwi_tools
cob_openni2_tracker
cob_people_detection
head_pose_estimation
jsk_pr2_startup
mjpeg_server
object_recognition_renderer
softkinetic_camera
stereo_slam
viso2_ros
aras_visual_servo_camera
aras_visual_servo_controller
aruco_mapping
baxter_sim_hardware
bowpmap_ros
camera_pose_calibration
custom_landmark_2d
dlut_viso2_ros
evarobot_gazebo
face_recognition
h4r_thermapp_camera
or_libs
or_msgs
or_nodes
robot_face
target_object_detector
selective_dualarm_stowing
elevator_move_base_pr2
anj_featurenav
libhaloc
lsd_slam_core
lsd_slam_viewer
cv_detection
micros_dynamic_objects_filter
micros_mars_task_alloc
o3d3xx
ohm_rrl_motiondetection
ohm_rrl_qrdetection
orsens
rail_face_detector
rail_object_detector
rail_recognition
remote_monitor
rgbdslam
rocon_rtsp_camera_relay
rospilot_deps
rviz_textured_quads
tensor_field_nav_core
tum_ardrone
ucl_drone
uga_tum_ardrone
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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

Name
boost
opencv2

Dependant Packages

Name Deps
ar_track_alvar
aruco_ros
image_cb_detector
laser_cb_detector
cob_image_flip
cv_camera
depthcloud_encoder
gazebo_plugins
gscam
hector_compressed_map_transport
hrpsys
camera_calibration
depth_image_proc
image_proc
image_rotate
image_view
stereo_image_proc
compressed_depth_image_transport
compressed_image_transport
theora_image_transport
libcmt
opt_camera
image_view2
jsk_rosbag_tools
jsk_tools
posedetection_msgs
audio_to_spectrogram
checkerboard_detector
imagesift
jsk_pcl_ros
jsk_pcl_ros_utils
jsk_perception
jsk_recognition_utils
resized_image_transport
jsk_rqt_plugins
jsk_rviz_plugins
mavros_extras
face_detector
pr2_gazebo_plugins
rtabmap
rtabmap_ros
rgbd_rosbag_tools
usb_cam
video_stream_opencv
opencv_tests
vision_opencv
visp_ros
web_video_server
zbar_ros
ecto_openni
ecto_ros
hector_costmap
hector_heat_detection
hector_motion_detection
hector_qrcode_detection
hector_soft_obstacle_detection
hector_barrel_detection_nodelet
hector_barrel_geotiff_plugin
hector_rqt_plugins
nerian_sp1
opencv_candidate
romeo_sensors_py
bag_tools
pano_core
pano_py
pano_ros
turtlebot_actions
agile_grasp
apriltags_ros
ar_kinect
ar_pose
baxter_examples
baxter_tools
cmvision
cob_3d_registration
cob_openni2_tracker
cob_people_detection
corobot_camera
map_to_jpeg
foscam_8918_driver
head_pose_estimation
jsk_pr2_startup
mjpeg_server
moveit_ros_perception
object_recognition_renderer
pal_vision_segmentation
blort_ros
ndt_feature_reg
ndt_map
sdf_tracker
checkerboard_pose_estimation
pr2_plugs_actions
softkinetic_camera
v4r_artoolkitplus
v4r_ellipses
viso2_ros

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é Pereira <<patrickelectric@gmail.com>>
  • Contributors: Patrick José Pereira, Vincent Rabaud

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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
ainstein_radar_tools
ar_track_alvar
aruco
aruco_ros
asr_aruco_marker_recognition
basler_tof
image_cb_detector
laser_cb_detector
cis_camera
generic_throttle
cob_map_accessibility_analysis
cob_image_flip
cob_object_detection_visualizer
cob_vision_utils
ipa_3d_fov_visualization
costmap_converter
criutils
cv_camera
depthcloud_encoder
ensenso_camera
edrone_client
fetch_depth_layer
aruco_detect
fiducial_slam
find_object_2d
flir_boson_usb
gazebo_plugins
grid_map_cv
grid_map_demos
grid_map_ros
gscam
hector_compressed_map_transport
hfl_driver
hrpsys
ifm3d_ros_driver
ifm3d_core
camera_calibration
depth_image_proc
image_proc
image_publisher
image_rotate
image_view
stereo_image_proc
compressed_depth_image_transport
compressed_image_transport
theora_image_transport
imagezero_image_transport
imagezero_ros
libcmt
opt_camera
image_view2
jsk_rosbag_tools
jsk_tools
posedetection_msgs
audio_to_spectrogram
checkerboard_detector
imagesift
jsk_pcl_ros
jsk_pcl_ros_utils
jsk_perception
jsk_recognition_utils
resized_image_transport
jsk_rqt_plugins
jsk_rviz_plugins
mapviz
mapviz_plugins
multires_image
swri_geometry_util
swri_image_util
swri_opencv_util
swri_transform_util
moveit_ros_perception
movie_publisher
multi_object_tracking_lidar
multisense_lib
multisense_ros
naoqi_driver
nerian_stereo
opencv_apps
orb_slam2_ros
pcdfilter_pa
face_detector
pose_cov_ops
pr2_gazebo_plugins
robot_calibration
rqt_image_view
rtabmap
rtabmap_ros
sciurus17_examples
sciurus17_vision
stag_ros
turtlebot3_panorama
turtlebot3_autorace_camera
turtlebot3_autorace_detect
tuw_geometry
tuw_aruco
tuw_checkerboard
tuw_ellipses
tuw_marker_pose_estimation
tuw_multi_robot_router
tuw_voronoi_graph
rgbd_rosbag_tools
usb_cam
usb_cam_controllers
velo2cam_calibration
video_stream_opencv
opencv_tests
vision_opencv
visp_ros
web_video_server
webrtc_ros
zbar_ros
apriltag_ros
carla_ros_bridge
darknet_ros
cliff_detector
dnn_detect
ecto_openni
ecto_ros
ensenso
hector_costmap
hector_heat_detection
hector_motion_detection
hector_qrcode_detection
hector_soft_obstacle_detection
hector_barrel_detection_nodelet
hector_barrel_geotiff_plugin
hector_rqt_plugins
hugin_panorama
image_overlay_scale_and_compass
image_recognition_color_extractor
image_recognition_face_recognition
image_recognition_footwear
image_recognition_jetson
image_recognition_openface
image_recognition_openpose
image_recognition_pose_estimation
image_recognition_segment_anything
image_recognition_skybiometry
caljob_creator
industrial_extrinsic_cal
rgbd_depth_correction
ipcamera_driver
mynt_eye_ros_wrapper
lidar_camera_calibration
mitre_fast_layered_map
movidius_ncs_example
movidius_ncs_image
movidius_ncs_stream
mrpt_bridge
nerian_sp1
feature_tracker
joint_tracker
omip_common
rb_tracker
opencv_candidate
op3_ball_detector
romeo_sensors_py
smartek_camera
spinnaker_sdk_camera_driver
bag_tools
tango_ros_native
telegram_ros
tello_driver
turtlebot_actions
turtlebot_arm_kinect_calibration
tuw_uvc
uavc_v4lctl
vigir_footstep_planner
vigir_footstep_planning_default_plugins
image_stream
xbot_face
xbot_face
xiaoqiang_depth_image_proc

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.13.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-perception/vision_opencv.git
VCS Type git
VCS Version melodic
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.13.1 (2022-10-03)

  • Fix endian mismatch issue per boostorg/python PR #218
  • Update CMakeLists.txt for Windows build environment (#265)
  • Remove path splash separator from 'package_dir' (#267)
  • Fix travis. (#269)
  • Contributors: Duan Yutong, James Xu, Kenji Brameld, Sean Yen

1.13.0 (2018-04-30)

  • Use rosdep OpenCV and not ROS one. We defintely don't need the whole OpenCV. We need to clean the rosdep keys.
  • Contributors: Vincent Rabaud

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é Pereira <<patrickelectric@gmail.com>>
  • Contributors: Patrick José Pereira, Vincent Rabaud

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.

    - 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

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Dependant Packages

Name Deps
ainstein_radar_tools
apriltag_ros
ar_track_alvar
aruco
aruco_ros
asr_aruco_marker_recognition
laser
pico_driver
depth_odometry
interest_point
lk_optical_flow
localization_measurements
localization_node
marker_tracking
astrobee_gazebo
basler_tof
image_cb_detector
laser_cb_detector
cis_camera
aruco_pose
clover
generic_throttle
cob_map_accessibility_analysis
cob_image_flip
cob_object_detection_visualizer
cob_vision_utils
ipa_3d_fov_visualization
points_preprocessor
costmap_converter
camera_throttle
criutils
cv_camera
depthcloud_encoder
ensenso_camera
smach_viewer
edrone_client
fetch_depth_layer
aruco_detect
fiducial_slam
find_object_2d
flir_boson_usb
gazebo_plugins
graph_rviz_plugin
grid_map_cv
grid_map_demos
grid_map_ros
gscam
hector_compressed_map_transport
hfl_driver
hrpsys
ifm3d_ros_driver
ifm3d_core
camera_calibration
depth_image_proc
image_proc
image_publisher
image_rotate
image_view
stereo_image_proc
compressed_depth_image_transport
compressed_image_transport
theora_image_transport
imagezero_image_transport
imagezero_ros
jderobot_color_tuner
libcmt
opt_camera
image_view2
jsk_rosbag_tools
jsk_tools
posedetection_msgs
audio_to_spectrogram
checkerboard_detector
imagesift
jsk_pcl_ros
jsk_pcl_ros_utils
jsk_perception
jsk_recognition_utils
resized_image_transport
jsk_rqt_plugins
jsk_rviz_plugins
hri
mapviz
mapviz_plugins
multires_image
swri_geometry_util
swri_image_util
swri_opencv_util
swri_transform_util
moveit_ros_perception
movie_publisher
multi_object_tracking_lidar
multisense_lib
multisense_ros
naoqi_driver
nerian_stereo
ov_core
ov_init
ov_msckf
opencv_apps
orb_slam2_ros
pcdfilter_pa
face_detector
ping360_sonar
point_cloud_color
pose_cov_ops
pr2_gazebo_plugins
robot_calibration
rotors_gazebo_plugins
rqt_bag_exporter
rqt_image_view
rtabmap
rtabmap_ros
rviz_animated_view_controller
sciurus17_examples
sciurus17_vision
seek_thermal
sm_ridgeback_barrel_search_1
sm_ridgeback_barrel_search_2
stag_ros
turtlebot3_panorama
turtlebot3_autorace_camera
turtlebot3_autorace_detect
tuw_geometry
tuw_aruco
tuw_checkerboard
tuw_ellipses
tuw_marker_pose_estimation
tuw_multi_robot_router
tuw_voronoi_graph
usb_cam
usb_cam_controllers
velo2cam_calibration
video_stream_opencv
opencv_tests
opencv_tests
vision_opencv
vision_opencv
visp_ros
web_video_server
webrtc_ros
zbar_ros

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