会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Hi,I'm Henry :)
博客园
首页
新随笔
联系
订阅
管理
2018年5月24日
int 转 const char*
摘要: char name[10]; _itoa_s(i,name,10); const char* path=".jpg"; strcat(name,path);
阅读全文
posted @ 2018-05-24 14:30 Henry2017
阅读(864)
评论(0)
推荐(0)
2017年12月22日
均值,方差,协方差,协方差矩阵,特征值,特征向量
摘要: 大牛博客,收藏一下 http://blog.csdn.net/yangleo1987/article/details/52845912
阅读全文
posted @ 2017-12-22 16:33 Henry2017
阅读(234)
评论(0)
推荐(0)
2017年12月15日
OpenCv 图片上添加汉字
摘要: 转自:http://blog.csdn.net/xuefengdage/article/details/49447897 采用freetype库,写小字会失真,网上找到这个,利用HDC直接写,效果很好,做个摘抄。 1 <span style="font-size:18px;">void GetStr
阅读全文
posted @ 2017-12-15 17:14 Henry2017
阅读(937)
评论(0)
推荐(0)
OpenCV获取与设置像素点的值的几个方法
摘要: http://blog.sina.com.cn/s/blog_6a2844750101at8y.html
阅读全文
posted @ 2017-12-15 10:19 Henry2017
阅读(1288)
评论(0)
推荐(0)
2017年12月13日
【OpenCV】将单通道的Mat对象转换为三通道的Mat
摘要: http://blog.csdn.net/wx7788250/article/details/70261615
阅读全文
posted @ 2017-12-13 13:53 Henry2017
阅读(10376)
评论(0)
推荐(0)
2017年11月30日
MFC 怎样解决滚动条最大滚动值不能超过32767的问题
摘要: http://www.doc88.com/p-5157623128806.html
阅读全文
posted @ 2017-11-30 15:21 Henry2017
阅读(436)
评论(0)
推荐(0)
2017年11月24日
c/c++ 读取图片容量大小
摘要: //http://blog.csdn.net/lijia11080117/article/details/42042301?locationNum=10#include "stdafx.h" #include #include #include #include int _tmain(int argc, _TCHAR* argv[]) { FILE *fp; long siz; char p...
阅读全文
posted @ 2017-11-24 14:10 Henry2017
阅读(2294)
评论(0)
推荐(0)
2017年10月23日
MFC ListControl选取多行数据并读取
摘要: 1 void CGlassDetectDlg::OnBnClickedButton14() 2 { 3 // TODO: Add your control notification handler code here 4 5 6 7 CString str; 8 POSITION pos=m_List.GetFirstSelectedItem...
阅读全文
posted @ 2017-10-23 14:14 Henry2017
阅读(5553)
评论(0)
推荐(0)
2017年10月13日
判断文件夹是否存在
摘要: access函数判断文件夹或者文件是否存在函数原型: int access(const char *filename, int mode);所属头文件:io.hfilename:可以填写文件夹路径或者文件路径mode:0 (F_OK) 只判断是否存在 2 (R_OK) 判断写入权限 4 (W_OK) 判断读取权限 6 (X_OK) 判断执...
阅读全文
posted @ 2017-10-13 11:14 Henry2017
阅读(300)
评论(0)
推荐(0)
2017年8月8日
记录某段程序的运行时间
摘要: 1 float start =clock(); 2 //TODO:再次插入需要测试的程序段 3 4 float end=clock(); 5 float time = (end-start)/CLOCKS_PER_SEC; 6 cout<<time;
阅读全文
posted @ 2017-08-08 15:30 Henry2017
阅读(287)
评论(0)
推荐(0)
下一页
公告