36 #include <opencv2/core/core.hpp> 38 #include "sensor_msgs/CompressedImage.h" 39 #include "sensor_msgs/Image.h" 51 const sensor_msgs::Image& message,
52 const std::string& compression_format,
54 double depth_quantization,
sensor_msgs::Image::Ptr decodeCompressedDepthImage(const sensor_msgs::CompressedImage &compressed_image)
sensor_msgs::CompressedImage::Ptr encodeCompressedDepthImage(const sensor_msgs::Image &message, const std::string &compression_format, double depth_max, double depth_quantization, int png_level)