Implements conversions between ViSP and ROS image types. More...
#include <stdexcept>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/image_encodings.h>
#include <boost/format.hpp>
#include "visp_bridge/image.h"
Go to the source code of this file.
Namespaces | |
visp_bridge | |
Functions | |
sensor_msgs::Image | visp_bridge::toSensorMsgsImage (const vpImage< unsigned char > &src) |
Converts a ViSP image (vpImage) to a sensor_msgs::Image. Only works for greyscale images. More... | |
sensor_msgs::Image | visp_bridge::toSensorMsgsImage (const vpImage< vpRGBa > &src) |
vpImage< unsigned char > | visp_bridge::toVispImage (const sensor_msgs::Image &src) |
Converts a sensor_msgs::Image to a ViSP image (vpImage). Only works for greyscale images. More... | |
vpImage< vpRGBa > | visp_bridge::toVispImageRGBa (const sensor_msgs::Image &src) |
Implements conversions between ViSP and ROS image types.
Definition in file image.cpp.