33#include <opencv2/core/core.hpp>
34#include <opencv2/imgproc/imgproc.hpp>
46 for(
int r = 0; r <
nRows; ++r) {
47 for(
int c = 0; c <
nCols; ++c) {
77 if (
image.isContinuous()) {
87 for (i = 0; i <
n_rows; ++i) {
void coloryuv_opencv_to_yuv422(Mat image, char *img, int width, int height)
void grayscale_opencv_to_yuv422(Mat image, char *img, int width, int height)
void colorbgr_opencv_to_yuv422(Mat image, char *img, int width, int height)
A small library with functions to convert between the Paparazzi used YUV422 arrays and the opencv ima...