摘要:
最近还没更完OpenCV又开了新坑,谁教machine learning处在紧急又重要的地位呢。更新的内容总结自Pattern Recognition and Machine Learning by Christopher M. Bishop,英文书哪里都好,不过有时候表达一个意思要写好大一段啊,所 阅读全文
摘要:
好久没有更新了,原谅自己放了个假最近又在赶进度,所以。。。更新的内容是很靠后的第八章,因为最近工作要用就先跳了,后面会更新笔记编号。。。加油加油! 在二值图像中寻找轮廓 void cv::findContours ( InputOutputArray image, OutputArrayOfArra 阅读全文
摘要:
DrawShapes.cxx # include "DrawShapes_utils.h" #define WINDOW_NAME1 "Painting 1" #define WINDOW_NAME2 "Painting 2" // main int main( void ) { // crate 阅读全文
摘要:
Matx 轻量级的Mat,必须在使用前规定好大小,比如一个2x3的float型的Matx,可以声明为Matx23f Vec Vec是Matx的一个派生类,是一个一维的Matx,跟vector很相似。在OpenCV源码中定义如下: template<typename _TP, int n> class 阅读全文
摘要:
void cvtColor(InputArray src, OutputArray dst, int code, int dstCn=0) src: 输入图像 dst: 输出图像 code: 颜色空间转换标识符 OpenCV2的CV_前缀宏命名规范被OpenCV3中的COLOR_式的宏命名前缀取代 阅读全文
摘要:
Point 二维坐标系下的整数点, 定义如下 typedef Point_<int> Point2i; typedef Point2i Point; typedef Point_<float> Point2f; 构造函数如下: Point_ () Point_ (_Tp _x, _Tp _y) Po 阅读全文
摘要:
IplImage 与 Mat IplImage是OpenCV1中的图像存储结构体,基于C接口创建。在退出之前必须release,否则就会造成内存泄露。在一些只能使用C语言的嵌入式系统中,不得不使用。 IplImage* img = cvLoadImage("imagename.jpg",1); Ma 阅读全文
摘要:
void setMouseCallback(const string& winname, MouseCallback onMouse, void* userdata=0) winname 窗口名字 onMouse 指定窗口每次鼠标事件发生的时候,被调用的函数指针。函数的原型应为void Foo(in 阅读全文
摘要:
OpenCV中没有实现按钮的功能,我们可以利用滑动条来实现按钮功能。 int createTrackerbar(const string& trackerbarname, const string winame, int* value, int count, TrackbarCallback onC 阅读全文
摘要:
是的是的,忍着尿意努力更新,就是为了更到wuli男神的部分,当然要把男神放在前面镇楼,欢迎下载配图,具体操作见code wuliEddie.jpg logo.png results.jpg LoadShowWriteImage.cxx #include <opencv2/opencv.hpp> #i 阅读全文