14 #include <type_traits>
15 #include <opencv2/core/core.hpp>
16 #include <opencv2/imgproc/imgproc.hpp>
17 #if CV_MAJOR_VERSION >= 3
18 #include <opencv2/imgproc/types_c.h>
::cv::Mat toCvMat(yarp::sig::ImageOf< T > &yarpImage)
Convert a yarp::sig::ImageOf to a cv::Mat object.
yarp::sig::ImageOf< T > fromCvMat(::cv::Mat &cvImage)
Convert a cv::Mat to a yarp::sig::ImageOf object.
The main, catch-all namespace for YARP.