doc what cvout_sample does

This commit is contained in:
Gary Bradski 2010-11-20 02:04:41 +00:00
parent 865b3ea523
commit 752c4bc48b

View File

@ -1,11 +1,26 @@
/*
*
* cvout_sample just demonstrates the serial out capabilities of cv::Mat
* That is, cv::Mat M(...); cout << M; Now works.
*
*/
#include "opencv2/core/core.hpp"
#include <iostream>
using namespace std;
using namespace cv;
void help()
{
// printf("foo\n");
cout << "foo" << endl;
}
int main(int,char**)
{
help();
Mat i = Mat::eye(4, 4, CV_64F);
i.at<double>(1,1) = CV_PI;
cout << "i = " << i << ";" << endl;