YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Cv.h File Reference
#include <yarp/sig/Image.h>
#include <type_traits>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/imgproc/types_c.h>
#include "Cv-inl.h"
+ Include dependency graph for Cv.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yarp
 The main, catch-all namespace for YARP.
 
namespace  yarp::cv
 

Functions

::cv::Mat yarp::cv::toCvMat (yarp::sig::Image &yarpImage)
 Convert a yarp::sig::FlexImage to a cv::Mat object.
 
template<typename T >
::cv::Mat yarp::cv::toCvMat (yarp::sig::ImageOf< T > &yarpImage)
 Convert a yarp::sig::ImageOf to a cv::Mat object.
 
template<typename T >
yarp::sig::ImageOf< T > yarp::cv::fromCvMat (::cv::Mat &cvImage)
 Convert a cv::Mat to a yarp::sig::ImageOf object.