samples/cpp/cout_mat.cpp
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
Loading...
Searching...
No Matches
samples/cpp/cout_mat.cpp
An example demonstrating the serial out capabilities of cv::Mat
/*
*
* cvout_sample just demonstrates the serial out capabilities of cv::Mat
* That is, cv::Mat M(...); cout << M; Now works.
*
*/
#include "opencv2/core.hpp"
#include <iostream>
using namespace std;
using namespace cv;
static void help(char** argv)
{
cout
<< "\n------------------------------------------------------------------\n"
<< " This program shows the serial out capabilities of cv::Mat\n"
<<
<<
<<
<< []
<<
<< ;
}
( , ** )
{
:: (, , );
(.())
{
();
;
}
= ::(, , );
.<>(,) = ;
<< << << << << ;
= (, , );
(, ::(), ::());
<< << << << << ;
<< << (, ::) << << << ;
<< << (, ::) << << << ;
<< << (, ::) << << << ;
<< << (, ::) << << << ;
<< << (, ::) << << << ;
(, );
<< << << << ;
(, , );
<< << << << ;
<> ;
.();
.();
.();
<< << () << ;
<> ();
( = ; < .(); ++)
[] = (()( * ), ()( % ));
<< << << << ;
;
}