上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 利用Opencv在PictureControl中显示IplImage格式的照片。 bool MyDlg::IfExistFile(CString strFilePath) { CFile file; if (file.Open(strFilePath,CFile::modeRead)) { file 阅读全文
posted @ 2015-02-09 09:09 秋月的私语 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 根据反射解析和转换DataRow。 public class DataConvert { //获取文件结构 //dataRow转T public static T GetModelByDataRow(System.Data.DataRow dr... 阅读全文
posted @ 2015-02-05 11:23 秋月的私语 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 快速排序算法:// QuickSort.cpp : 定义控制台应用程序的入口点。//#includeusing namespace std;template void QSort(T* a, int n){ if (n a[1]) swap(a[0], a[1]); ... 阅读全文
posted @ 2014-11-25 21:05 秋月的私语 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 更新日志:1.添加了自适应窗口大小的功能;2.添加了在图像上画矩形的功能;3.添加了在大图上画矩形的功能;4.部分函数名称更改;5其他修改。首先是头文件:/* ******* ccv.h ******************* opencv常用操作函数声明 ********** *//* autho... 阅读全文
posted @ 2014-11-11 09:39 秋月的私语 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 修改日志: 1.增加了list容器存储; 2.修改了IsFile 和 IsDir的实现,使区别于IfExistFile和IfExistDir; 3.修改了部分函数的名称; 4.其他细节修改; 最新版下载:https://github.com/autumoon/MyClasses 首先是头文件: 然后 阅读全文
posted @ 2014-11-11 09:30 秋月的私语 阅读(865) 评论(0) 推荐(0) 编辑
摘要: /* ******* QSort.cpp ******************* 快速排序实现 ********** */#include "stdafx.h"#include using namespace std;template void Sort(T* a, int n){ if (n... 阅读全文
posted @ 2014-11-11 09:16 秋月的私语 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 最近的工作经常需要对图像进行操作,也需要用鼠标对图像进行各种操作,于是自己整理和编写了这个类,总结了常用的基于OpenCV对图像进行的操作。这个类我也将继续完善和丰富下去,需要的朋友可以直接使用。如果有什么疏漏的地方还请多多指教。首先是头文件:/* ******* ccv.h ***********... 阅读全文
posted @ 2014-08-28 14:05 秋月的私语 阅读(1324) 评论(0) 推荐(0) 编辑
摘要: /// /// 截取图像的矩形区域 /// /// 源图像对应picturebox1 /// 矩形区域,如上初始化的rect /// 矩形区域的图像 public static Image Acq... 阅读全文
posted @ 2014-04-25 14:51 秋月的私语 阅读(2269) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int main(int argc, char *argv[]){ int a = 10; cout.width(10); cout.fill('#'); cout << a << endl; cout.widt... 阅读全文
posted @ 2014-04-13 22:58 秋月的私语 阅读(257) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int main(int argc, char *argv[]){ cout << 123 << endl; cout.width(10); cout << 123 << endl; cout << 123 << endl; cout.width(1); cout << 123 << endl; cout.width(10); cout.fill('*'); cout << 123 << endl; c 阅读全文
posted @ 2014-04-12 23:11 秋月的私语 阅读(2685) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页