1 #ifndef QT_OPENCV_CONVERSION_H 2 #define QT_OPENCV_CONVERSION_H 14 #include <opencv2/core/core.hpp> 15 #include <opencv2/imgproc/imgproc.hpp> 22 QImage mat_to_qimage_cpy(cv::Mat
const &mat,
bool swap =
true);
23 QImage mat_to_qimage_ref(cv::Mat &mat,
bool swap =
true);
24 cv::Mat qimage_to_mat_cpy(QImage
const &img,
bool swap =
true);
25 cv::Mat qimage_to_mat_ref(QImage &img,
bool swap =
true);
27 #endif // QT_OPENCV_CONVERSION_H Definition: QtOpencvConversion.h:19