Namespaces | Macros | Functions
ivt_image.cpp File Reference
#include <ivt_bridge/ivt_image.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <Image/ImageProcessor.h>
#include <sensor_msgs/image_encodings.h>
#include <boost/make_shared.hpp>
Include dependency graph for ivt_image.cpp:

Go to the source code of this file.

Namespaces

 ivt_bridge
 

Macros

#define CHECK_CHANNEL_TYPE(t)
 
#define CHECK_ENCODING(code)
 

Functions

int ivt_bridge::getCvType (const std::string &encoding)
 Convert a IvtImage to another encoding. More...
 
CByteImage::ImageType ivt_bridge::getIvtType (const std::string &encoding)
 Get the CByteImage type enum corresponding to the encoding. More...
 
IvtImagePtr ivt_bridge::toIvtCopy (const sensor_msgs::ImageConstPtr &source, const std::string &encoding=std::string())
 Convert a sensor_msgs::Image message to an Ivt-compatible CByteImage, copying the image data. More...
 
IvtImagePtr ivt_bridge::toIvtCopy (const sensor_msgs::Image &source, const std::string &encoding=std::string())
 Convert a sensor_msgs::Image message to an Ivt-compatible CByteImage, copying the image data. More...
 
IvtImageConstPtr ivt_bridge::toIvtShare (const sensor_msgs::ImageConstPtr &source, const std::string &encoding=std::string())
 Convert an immutable sensor_msgs::Image message to an Ivt-compatible CByteImage, sharing the image data if possible. More...
 
IvtImageConstPtr ivt_bridge::toIvtShare (const sensor_msgs::Image &source, const boost::shared_ptr< void const > &tracked_object, const std::string &encoding=std::string())
 Convert an immutable sensor_msgs::Image message to an Ivt-compatible CByteImage, sharing the image data if possible. More...
 

Macro Definition Documentation

#define CHECK_CHANNEL_TYPE (   t)
Value:
/***/
#define CHECK_ENCODING(code)
#define CHECK_ENCODING (   code)
Value:
if (encoding == enc::TYPE_##code) return CV_##code \
/***/


asr_ivt_bridge
Author(s): Hutmacher Robin, Kleinert Daniel, Meißner Pascal
autogenerated on Mon Jun 10 2019 12:39:24