上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: http://www.jizhuomi.com/software/207.html 阅读全文
posted @ 2016-08-17 17:23 Henry2017 阅读(121) 评论(0) 推荐(0) 编辑
摘要: VS2010 error RC2170: bitmap file res\xxx.png is not in 3.00 format 编译的时候出现这条错误,打开rc文件发现, IDR_XXX BITMAP "res\\XXX.png" 把BITMAP修改回PNG后,问题解决。 阅读全文
posted @ 2016-08-17 13:41 Henry2017 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 第一步:关联变量,设为m_menubutton 第二步:创建资源菜单,设为IDC_MENU1,下拉菜单为ID_ITEM1,ID_ITEM2 第三步:将菜单和按钮关联起来,在InitDialog中加入下述代码。 CMenu* pMenu = new CMenu;pMenu->LoadMenu(IDR_ 阅读全文
posted @ 2016-08-17 10:34 Henry2017 阅读(747) 评论(0) 推荐(0) 编辑
摘要: typedef Vec<int, 4> Vec4i; 数据类型后面的_t是什么意思: 是一个结构的标注,可以理解为 type/typedef 的缩写,表示它是通过 typedef 定义的, 而不是其它数据类型。 例如uint8_t,uint16_t,uint32_t 等都不是什么新的数据类型,它们只 阅读全文
posted @ 2016-08-12 15:25 Henry2017 阅读(374) 评论(0) 推荐(0) 编辑
摘要: Via 雪后DE阳光 图像大小变换void cvResize( const CvArr* src, CvArr* dst, intinterpolation=CV_INTER_LINEAR );src 输入图像. dst 输出图像. interpolation 差值方法: • CV_INTER_NN 阅读全文
posted @ 2016-08-12 11:07 Henry2017 阅读(895) 评论(0) 推荐(0) 编辑
摘要: 一般0和-1或者0和1使用0和-1使用时:0一般表示成功执行-1一般表示不成功0和1使用时:1真0假 阅读全文
posted @ 2016-08-12 11:03 Henry2017 阅读(159) 评论(0) 推荐(0) 编辑
摘要: vector<Point>是point数据类型的集合,简单讲就是很多point。vector<vector<Point>>就是包含很多vector<Point>的集合。 http://blog.csdn.net/sunny2038/article/details/12889059 阅读全文
posted @ 2016-08-08 16:22 Henry2017 阅读(1124) 评论(0) 推荐(0) 编辑
摘要: Hai 1 IplImage* printrect(IplImage *contourim) 2 { 3 4 IplImage *rectim=cvCreateImage(cvGetSize(contourim), IPL_DEPTH_8U, 3); 5 int flag=1; 6 vector<P 阅读全文
posted @ 2016-08-06 14:35 Henry2017 阅读(10437) 评论(0) 推荐(0) 编辑
摘要: Hai cvFindContours(binaryim, contourStorage, &contourSeq, sizeof(CvContour),CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE, cvPoint(0, 0)); &contourSeq是用于储存轮廓的 阅读全文
posted @ 2016-08-04 14:24 Henry2017 阅读(6692) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace cv; 6 using namespace std; 7 8 int main() 9 { 10 Mat srcImage(Size(600, 600), CV_8UC3, Scalar(0)); 11 12 RNG &... 阅读全文
posted @ 2016-08-01 14:50 Henry2017 阅读(489) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页