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. |
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.
ImageTransportImage::ImageTransportImage | ( | ) | [inline] |
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.
const uint8_t* ImageTransportImage::data_ |
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.