Namespaces | Functions
image.cpp File Reference

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"
Include dependency graph for image.cpp:

Go to the source code of this file.

Namespaces

namespace  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.
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.
vpImage< vpRGBa > visp_bridge::toVispImageRGBa (const sensor_msgs::Image &src)

Detailed Description

Implements conversions between ViSP and ROS image types.

Definition in file image.cpp.



visp_bridge
Author(s): Filip Novotny
autogenerated on Mon Oct 6 2014 08:40:24