- 博客(8)
- 资源 (11)
- 收藏
- 关注
转载 CV::Mat 与IpImage转换
转载:http://www.cnblogs.com/TravelingLight/archive/2010/12/21/1912614.htmlIplImage -> cv::MatIplImage* pImg = cvLoadImage("lena.jpg");cv::Mat img(pImg,0); 或者 cv::Mat img = pImg;cv::Mat
2013-04-23 17:06:40 1041
原创 删除win7文件的默认打开方式
通过修改注册表的方式解决,具体键值修改例子如下(在此以“.props”扩展名类型文件为例):1、删除“HKEY_CLASSES_ROOT”下“.props”键值目录;2、删除“HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts”下“.props”键值目录。
2013-04-18 16:59:37 1613
原创 使用同一个解决方案,创建多个项目
1.新建工程,去掉预编译头文件2.找到修改microsoft。cpp。win32.user,属性添加头文件和库文件,以及附加依赖项,之后在这个解决方案中创建新的工程时都会默认加上去。
2013-04-18 16:46:19 850
原创 opencv对图片的处理
#include "stdafx.h"#include #include IplImage* deCanny(IplImage* in, double lowThresh, double highThresh, double aperture){ if(in->nChannels != 3) { return(0); } IplImage* out = cvCreateIm
2013-04-17 18:05:55 484
原创 opencv连接摄像头
#include "stdafx.h"#include #include int _tmain(int argc, _TCHAR* argv[]){ CvCapture* capture = 0; capture = cvCreateCameraCapture(-1);//只有一个摄像头使用-1; if(!capture) { return -1; } IplImage
2013-04-17 18:03:35 1216
原创 opencv播放视频
#include "stdafx.h"#include #include int g_slider_position = 0;CvCapture* g_capture = NULL;void onTrackbarSlide(int pos)//滚动条{ cvSetCaptureProperty( g_capture, CV_CAP_PROP_POS_FRAMES, p
2013-04-17 17:58:02 492
原创 opencv图片显示
opencv显示图片 #include "stdafx.h"#include using namespace std;using namespace cv;int _tmain(int argc, _TCHAR* argv[]){ const char* imagename = "拍照时间-02-06-09.bmp"; Mat img = imread(imagename)
2013-04-17 17:45:29 558
原创 头文件和库文件默认修改
在新学一些东西的时候,总是要新建工程,然后配置头文件和库文件,这个时候只要修改vs2010的默认头文件和库文件就ok了,打开目录C:\Users\Administrator\AppData\Local\Microsoft\MSBuild\v4.0然后找到用记事本打开中间这个, http://schemas.microsoft.com/developer/msbuild/2003">
2013-04-17 17:38:33 684
odbc驱动程序
2013-05-04
Qt安装使用的mingw
2013-04-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人