- 博客(43)
- 资源 (25)
- 收藏
- 关注
原创 【OpenCV】编译OpenCV时,FFmpeg或ippicv下载不成功的解决方案,以及其它可能下载不成功问题的解决方案
在自己编译OpenCV时,因为种种原因可能会导致FFmpeg或ippicv下载不成功的问题,可以通过手动配置来解决这类问题,当然也可以直接配置之后再编译。在进行配置之前,首先前往GitHub下载相应的库。 链接:opencv/opencv_3rdparty链接打开之后页面内容大致如上图所示,图中圈出了ffmpeg和iipicv的不同版本,具体用哪一版就各取所需吧。明确版本之后点击相应的链接进入
2016-10-28 00:08:43 47833 58
原创 Dlib相关问题
在 Dlib 自己提供的解决方案 example 中编译各项目一般不会有什么问题,但是如果想用 Dlib 中的示例代码来新建项目那么恐怕就得注意以下几点:假设 Dlib 被解压在目录 ***\Dlib\dlib-19.4\ 下。测试版本:dlib-19.4测试环境:VS 2015、VS 2017将包含 dlib 的目录加入到项目的 附加包含目录 中,即目录 ***\Dlib\dlib-19.4
2017-04-25 00:18:44 10168 2
原创 Curiously Recurring Template Pattern
Curiously Recurring Template Pattern
2016-10-25 18:33:19 699
原创 Databases
CVonline: Image DatabasesYet Another Computer Vision Index To Datasets (YACVID)
2016-09-26 16:00:55 792
转载 【Python】SWIG 和 Python——c/c++与脚本交互
C 和 C++ 被公认为(理当如此)创建高性能代码的首选平台。对开发人员的一个常见要求是向脚本语言接口公开 C/C++ 代码,这正是 Simplified Wrapper and Interface Generator (SWIG) 的用武之地。SWIG 允许您向广泛的脚本语言公开 C/C++ 代码,包括 Ruby、Perl、Tcl 和 Python等。为了建立python的扩展模块,
2016-03-30 13:06:42 1522
原创 _mm_packus_epi16
Microsoft SpecificPacks the 16 signed 16-bit integers from a and b into 8-bit unsigned integers and saturates. __m128i _mm_packus_epi16 (__m128i a, __m128i b)
2015-12-07 21:14:06 3015
原创 __cpuid
https://msdn.microsoft.com/en-us/library/hskdteyh(VS.80).aspxGenerates the cpuid instruction available on x86 and x64, which queries the processor for information about the supported features an
2015-12-04 22:56:31 2667
原创 Compiler Options Listed by Category
https://msdn.microsoft.com/zh-cn/library/9s7c9wdw.aspxhttps://msdn.microsoft.com/zh-cn/library/fwkeyyhe.aspxhttps://msdn.microsoft.com/zh-cn/library/19z1t1wy.aspx This article contains
2015-12-03 12:40:34 581
原创 Inline Functions (C++)
https://msdn.microsoft.com/en-us/library/bw1hbe6y.aspxA function defined in the body of a class declaration is an inline function.In the following class declaration, the Account co
2015-11-30 22:23:53 765
原创 __cpuid, __cpuidex
https://msdn.microsoft.com/zh-cn/library/hskdteyh(v=vs.140).aspxhttps://msdn.microsoft.com/query/dev12.query?appId=Dev12IDEF1&l=ZH-CN&k=k(%22intrin%2F__cpuid%22);k(__cpuid);k(SolutionItemsProject);k
2015-11-10 20:22:36 3190
原创 Predefined Macros
https://msdn.microsoft.com/en-us/library/b0084kay.aspxLists the predefined ANSI/ISO C99 and Microsoft C++ implementation preprocessor macros.The compiler recognizes predefined ANSI/ISO
2015-11-10 20:17:21 1043
原创 MinGW c++ compiler zlib1.dll missing error?
I have just started to learn C++ for school, and I'm trying to download the compiler MinGW to compile my source code. However, every time I try to compile a program an error message shows up saying th
2015-11-01 15:00:28 5162
原创 三点共圆
int intersectLines( double x1, double dx1, double y1, double dy1, double x2, double dx2, double y2, double dy2, double *t2 ){ double d = dx1 * dy2 - dx2 * dy1; int result
2015-10-19 20:50:20 1743
原创 Ellipse
In analytic geometry, the ellipse is defined as the set of points of the Cartesian plane that, in non-degenerate cases, satisfy the implicitequationprovided To distinguish the degenerat
2015-10-17 21:38:55 1139
原创 Rational Bézier Curves: Conic Sections
Rational Bézier Curves: Conic Sections
2015-10-16 23:19:16 1018
原创 runtime_checks
/RTC (Run-Time Error Checks)Used to enable and disable the run-time error checks feature, in conjunction with the runtime_checks pragma./RTC1/RTCc/RTCs/RTCu
2015-09-11 09:24:03 1653
原创 【OpenCV】关于Mat_类的一个问题
// 方式一Mat matrix1 = (Mat_<int>(2, 3) << 0, 1, 2, 3, 4, 5);// 方式二Mat matrix2 = *(Mat_<int>(2, 3) << 0, 1, 2, 3, 4, 5);这两种方式的关系
2015-08-05 21:40:37 2987
原创 【OpenCV】vector<Mat>
有时候难免会将Mat作为vector的元素类型,下面通过例子来说明当在pushback的时候该怎么注意。请通过自己运行代码来比对代码中红色部分。#include #include using namespace cv;using namespace std;int main(){ VideoCapture cap("Sample.avi"); if (!cap.isOpe
2015-03-26 21:52:31 21672 5
转载 C程序中修改Windows的控制台颜色
原址链接:点击打开链接C程序中修改Windows的控制台颜色 其实,Windows的CMD可以和Linux下的终端一样可以有五颜六色,目前我在网上找到2种方法可以修改Windows的CMD,当然都是在代码中修改的。在“CMD”->“属性”->“颜色”,这种方法就另当别论了。 (1)方法一:调用color命令行程序Windows的
2015-03-23 13:45:04 2201
原创 【OpenCV】waitKey()函数为什么不工作了?
在通过imshow()显示图像时,要想能够正常的看到所要显示的图像,通常都要waitKey()函数的参与。下面来看看waitKey()函数。函数原型:Waits for a pressed key.int waitKey(int delay = 0);Parameters delay – Delay in milliseconds. 0 is the spec
2015-03-04 20:53:22 5976 1
转载 回车、换行、空格的ASCII码值—(附ASCII码表)
原址链接:http://blog.csdn.net/songjinshi/article/details/7868866回车、换行、空格的ASCII码值回车,ASCII码13换行,ASCII码10空格,ASCII码32Return = CR = 13 = '\x0d'NewLine = LF = 10 = '\x0a'
2015-02-15 10:05:11 5560
原创 【OpenCV】elemSize()、elemSize1()
在Mat类中有两个成员函数:elemSize()和elemSize1(),来看看它们的作用及实现方式。inline size_t Mat::elemSize() const { return dims > 0 ? step.p[dims-1] : 0; }inline size_t Mat::elemSize1() const { return CV_ELEM_SIZE1(flags);
2015-02-13 09:37:45 9636
原创 【OpenCV】Mat中的depth与对应的内置类型
先看看OpenCV中的depth:#define CV_8U 0#define CV_8S 1#define CV_16U 2#define CV_16S 3#define CV_32S 4#define CV_32F 5#define CV_64F 6#define CV_USRTYPE1 7下面是Mat中的depth与对应的内置类型的对应关系:t
2015-02-10 14:50:48 3367
原创 【OpenCV】从Mat的flags中可以读到的信息,以及相关宏定义
在Mat类中定义了这样一个成员变量:/*! includes several bit-fields: - the magic signature - continuity flag - depth - number of channels*/int flags;从flags的注释来看,这个变量应该是一个用来作为标志的。
2015-02-10 14:36:37 9024 4
原创 【OpenCV】VideoCapture单步调试能够成功打开摄像头,但执行时却打不开
int main(){ VideoCapture cap(0); if (!cap.isOpened()) { cout << "failed" << endl; } Mat image; bool stop = false; while (!stop) { if( !cap.grab() ) { cout << "Can not grab imag
2015-02-03 13:38:54 4111
原创 【OpenCV】IplImage与Mat的相互转换
1、IplImage --> Mat转换函数://! converts old-style IplImage to the new matrix; the data is not copied by defaultMat(const IplImage* img, bool copyData=false);该函数的主要功能时将IplImage格式的图像转换为Mat格式;bool类型的参数c
2015-01-31 16:44:32 12356 1
原创 C4996 ---- _CRT_SECURE_NO_WARNINGS
问题:在使用老版本的CRT(C Run-Time)函数,如strcpy、strcat、fopen时就会出现一些警告信息,在vs12中我的出现的如下的错误信息:error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecati
2015-01-31 15:12:08 2633
原创 std::vector
vector对象的定义和初始化几种初始化vector对象的方式:vector v1vector保存类型为T的对象.默认构造函数V1为空.vector v2(v1)v2是v1的一个副本vector v3(n, i)v3包含n个值为i的元素vector v4(n)v4含有值初始化的元素的n个副本vector作为一种
2015-01-27 22:03:59 827
原创 【OpenCV】imshow
函数原型:void imshow(const string& winname, InputArray mat)参数:winname – Name of the window.image – Image to be shown.功能:Displays an image in the specified window.接下来主要说明一下当显示非uchar即非CV_8U类
2015-01-25 19:10:46 4394 2
原创 Fundamental MATLAB Classes
There are 16 fundamental classes in MATLAB. Each of these classes is in the form of a matrix or array. With the exception of function handles, this matrix or array is a minimum of 0-by-0 in size and c
2014-12-23 16:32:33 1170
转载 C/C++与Matlab混合编程实用函数简介
本文转载自vc与matlab连接的实用函数简介1、新建一个double类型数组,可用函数mxCreateDoubleMatrix,函数形式如下:mxArray *mxCreateDoubleMatrix(int m, int n, mxComplexity ComplexFlag);参数m和n为矩阵的函数和列数。ComplexFlag为常数,用来区分矩阵中元素是实数还是复数,取值分别为
2014-12-08 12:47:25 1409
转载 C/C++与Matlab混合编程初探
最近在看大牛们用matlab实现的算法,很多地方会涉及到matlab与C/C++混合编程,于是查找了相关资料,发下下面这篇博文把相关基础都讲解了,于是在此转载,方便以后查阅,感谢原博主的奉献精神!原文链接C/C++与Matlab混合编程初探目录(?)[-]hello MatlabMatlab调用CC程序传递参数关于数据存储的说明Matlab与CC混合编程的方法论
2014-12-05 13:31:08 876
原创 高效的图像遍历循环
在对图像进行操作时,免不了要对整个图像进行循环,下面对复制图像的三种不同的遍历方式进行比较int _tmain(int argc, _TCHAR* argv[]){ Mat src = imread("Lena.jpg", 0); if (src.empty()) { cout << "failed" << endl; return -1; } imshow("src",
2014-12-02 22:25:04 2274 3
原创 colorTab、KNN
在区分多目标或者要对多个区域赋予不同颜色的时候,就需要准备多种颜色,常用的方法就是预先定义一个颜色数组,这里将通过随机数来创建这样的数组。vector colorTab; for(int i = 0; i < train_sample_count; i++ ) { int b = theRNG().uniform(0, 255); int g = theRNG().uniform(
2014-12-02 21:16:42 953
原创 openCV训练程序申请内存不足
在用openCV训练分类器(特别是训练Adaboost类型的分类器)的时候,当样本的数量特别大的时候,就会出现申请内存不够的情况,很早以前碰到过这样的情况,最近再训练的时候又出现了这样的情况,于是在网上找了一下解决方法。首先给出我的配置吧,win7 64位 + vs2010 + opencv2.4.9,其实这个问题的产生应该只与系统有关系本文的绝大部分是引用自博友lff0305的“使用La
2014-11-24 13:42:58 3935 1
原创 机器学习--K-means算法
聚类分析是数据挖掘及机器学习领域内的重点问题之一,在数据挖掘、模式识别、决策支持、机器学习及图像分割等领域有广泛的应用,是最重要的数据分析方法之一。聚类是在给定的数据集合中寻找同类的数据子集合,每一个子集合形成一个类簇,同类簇中的数据具有更大的相似性。聚类是一种无监督学习,它将相似的对象归到同一簇中。它有点像全自动分类(自动意思是连类别体系都是自动构建的)。聚类方法几乎可以应用于所有对象,簇内的对
2014-05-10 11:15:03 1240
opencv.rar
2020-11-30
Effective Modern C++
2017-01-21
OpenCV Computer Vision Application Programming Cookbook Second Edition
2016-01-30
Computer Organization and Design - The Hardware Software Interface
2015-09-09
Intel 64 and IA-32 Architectures Software Developer's Manual
2015-08-31
OpenCL Programming by Example_code
2015-07-02
OpenCL Programming by Example
2015-07-02
scikit-learn Cookbook
2015-05-29
Hough Forest 霍夫森林目标检测算法代码 win系统
2015-03-13
Hough Forest 霍夫森林 目标检测算法代码 win系统
2015-03-13
遗传算法原理及应用
2014-08-21
A Practical Introduction to Computer Vision with OpenCV
2014-07-29
小波分析经典书籍
2013-12-09
opencv相关的书籍
2013-10-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人