rgbd
include
rgbd
ros
conversions.h
Go to the documentation of this file.
1
#ifndef RGBD_ROS_CONVERSIONS_H_
2
#define RGBD_ROS_CONVERSIONS_H_
3
4
#include <rgbd_msgs/RGBD.h>
5
6
#include <sensor_msgs/Image.h>
7
#include <sensor_msgs/CameraInfo.h>
8
9
#include "
rgbd/image.h
"
10
11
namespace
cv
{
class
Mat; }
12
namespace
geo
{
class
DepthCamera; }
13
14
namespace
rgbd
15
{
16
23
bool
convert
(
const
cv::Mat& image, sensor_msgs::Image& image_msg);
24
33
bool
convert
(
const
cv::Mat& image,
const
geo::DepthCamera
& cam_model, sensor_msgs::Image& image_msg, sensor_msgs::CameraInfo& cam_model_msg);
34
41
bool
convert
(
const
rgbd_msgs::RGBDConstPtr& msg,
rgbd::Image
*& image);
42
43
}
44
45
#endif // RGBD_ROS_CONVERSIONS_H_
geo
rgbd::Image
Definition:
image.h:43
rgbd
Definition:
client.h:24
image.h
rgbd::convert
bool convert(const cv::Mat &image, sensor_msgs::Image &image_msg)
Convert either a rgb or depth image, cv::Mat, to an image message.
Definition:
conversions.cpp:32
geo::DepthCamera
cv
Definition:
conversions.h:11
Generated on Sun Feb 23 2025 04:34:32 for rgbd by
1.8.17