29 #ifndef OPENCV_IMAGE_FUNCTIONS_H
30 #define OPENCV_IMAGE_FUNCTIONS_H
31 #include <opencv2/core/core.hpp>
32 #include <opencv2/imgproc/imgproc.hpp>
void coloryuv_opencv_to_yuv422(cv::Mat image, char *img, int width, int height)
Converts cv::Mat with three channels YUV to a YUV422 image.
void grayscale_opencv_to_yuv422(cv::Mat image, char *img, int width, int height)
Converts cv::Mat with one to a YUV422 image.
void colorbgr_opencv_to_yuv422(cv::Mat image, char *img, int width, int height)
Converts cv::Mat with three channels to a YUV422 image.