32 #include <opencv2/core/core.hpp>
33 #include <opencv2/imgproc/imgproc.hpp>
40 Mat M(height, width, CV_8UC2, img);
45 cvtColor(M, image, CV_YUV2GRAY_Y422);
52 Canny(image, image, edgeThresh, edgeThresh * 3);
void grayscale_opencv_to_yuv422(Mat image, char *img, int width, int height)
int opencv_example(char *img, int width, int height)
A small library with functions to convert between the Paparazzi used YUV422 arrays and the opencv ima...