Public Member Functions | Public Attributes
ImageTransportImage Class Reference

List of all members.

Public Member Functions

 ImageTransportImage ()
 Empty constructor.
 ImageTransportImage (const sensor_msgs::Image &image, const uint8_t *data)
 Constructor.

Public Attributes

const uint8_t * data_
 Image data for use with OpenCV.
sensor_msgs::Image image_
 ROS header.

Detailed Description

The code in the following namespace copies a lof of code from cv_bridge It does not depend on cv_bridge to not depend on OpenCV It re-defines a CvImage so that we can publish that object and not a sensor_msgs::Image, which requires a memory copy

Definition at line 45 of file raw_publisher.cpp.


Constructor & Destructor Documentation

Empty constructor.

Definition at line 54 of file raw_publisher.cpp.

ImageTransportImage::ImageTransportImage ( const sensor_msgs::Image &  image,
const uint8_t *  data 
) [inline]

Constructor.

Definition at line 59 of file raw_publisher.cpp.


Member Data Documentation

Image data for use with OpenCV.

Definition at line 49 of file raw_publisher.cpp.

sensor_msgs::Image ImageTransportImage::image_

ROS header.

Definition at line 48 of file raw_publisher.cpp.


The documentation for this class was generated from the following file:


image_transport
Author(s): Patrick Mihelich
autogenerated on Thu Jun 6 2019 21:19:55