|
Robot Raconteur Companion C++ Library
|
Go to the source code of this file.
Functions | |
| static cv::Mat | RobotRaconteur::Companion::Util::ImageToMat (const com::robotraconteur::image::ImagePtr &image) |
| Convert a Robot Raconteur standard image to an OpenCV Mat. | |
| static com::robotraconteur::image::ImagePtr | RobotRaconteur::Companion::Util::MatToImage (const cv::Mat &mat, com::robotraconteur::image::ImageEncoding::ImageEncoding encoding) |
| Convert an OpenCV Mat to a Robot Raconteur standard image. | |
|
static |
Convert a Robot Raconteur standard image to an OpenCV Mat.
Converts a com.robotraconteur.image.Image to an OpenCV Mat
Currently supported Robot Raconteur encodings:
| image | The com.robotraconteur.imaging.Image to convert |
|
static |
Convert an OpenCV Mat to a Robot Raconteur standard image.
Converts an OpenCV Mat to a com.robotraconteur.image.Image
Currently supported Robot Raconteur encodings:
The format of the input Mat must match the specified encoding
| mat | The OpenCV Mat to convert |
| encoding | The desired Robot Raconteur image encoding |