OpenCV  3.4.4
Open Source Computer Vision
samples/cpp/cout_mat.cpp

An example demonstrating the serial out capabilities of cv::Mat