学习OpenCV3
学习OpenCV3
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 189623 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masteradrian.jpg
....... 6148 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseye.DS_Store
....... 317775 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0214.jpg
....... 317832 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0214L.jpg
....... 325383 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0215.jpg
....... 325446 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0215L.jpg
....... 302958 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0217.jpg
....... 302321 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0217L.jpg
....... 296209 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0218.jpg
....... 295342 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0218L.jpg
....... 297508 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0219.jpg
....... 297073 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0219L.jpg
....... 348274 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0220.jpg
....... 348262 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0220L.jpg
....... 544 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeintrinsics.xml
....... 5237 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterBlueCup.jpg
....... 50728 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterox.png
....... 122490 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterox_in_scene.png
....... 463757 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0191.jpg
....... 407260 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0192.jpg
....... 447239 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0193.jpg
....... 451479 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0194.jpg
....... 490611 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0195.jpg
....... 450338 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0196.jpg
....... 433052 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0197.jpg
....... 429153 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0198.jpg
....... 431073 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0199.jpg
....... 457885 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0200.jpg
....... 465117 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0201.jpg
....... 466802 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0202.jpg
............此处省略173个文件信息
//Example 2-1. A simple OpenCV program that loads an image from disk and displays it
//on the screen
#include
void help(char** argv ) {
std::cout << “
“
<< “A simple OpenCV program that loads and displays an image from disk
“
<< argv[0] <<“
“
<< “For example:
“
<< argv[0] << “ ../fruits.jpg
“
<< std::endl;
}
int main( int argc char** argv ) {
if (argc != 2) {
help(argv);
return 0;
}
cv::Mat img = cv::imread( argv[1] -1 );
if( img.empty() ) return -1;
cv::namedWindow( “Example 2-1“ cv::WINDOW_AUTOSIZE );
cv::imshow( “Example 2-1“ img );
cv::waitKey( 0 );
cv::destroyWindow( “Example 2-1“ );
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 189623 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masteradrian.jpg
....... 6148 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseye.DS_Store
....... 317775 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0214.jpg
....... 317832 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0214L.jpg
....... 325383 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0215.jpg
....... 325446 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0215L.jpg
....... 302958 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0217.jpg
....... 302321 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0217L.jpg
....... 296209 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0218.jpg
....... 295342 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0218L.jpg
....... 297508 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0219.jpg
....... 297073 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0219L.jpg
....... 348274 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0220.jpg
....... 348262 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeIMG_0220L.jpg
....... 544 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterirdseyeintrinsics.xm
....... 5237 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterBlueCup.jpg
....... 50728 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterox.png
....... 122490 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-masterox_in_scene.png
....... 463757 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0191.jpg
....... 407260 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0192.jpg
....... 447239 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0193.jpg
....... 451479 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0194.jpg
....... 490611 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0195.jpg
....... 450338 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0196.jpg
....... 433052 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0197.jpg
....... 429153 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0198.jpg
....... 431073 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0199.jpg
....... 457885 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0200.jpg
....... 465117 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0201.jpg
....... 466802 2017-08-04 09:23 Learning-OpenCV-3_examples-masterLearning-OpenCV-3_examples-mastercalibrationIMG_0202.jpg
............此处省略173个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)