- 博客(12)
- 资源 (17)
- 收藏
- 关注
原创 opencv视频播放和进度条
#include #include #include #include #include #include #include #include #include "cv.h"#include "highgui.h"using namespace std;int g_slider_position = 0;CvCapture* g_capture
2016-12-09 10:46:03 1055
转载 opencv图像直方图
#include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include #include using namespace cv; using namespace std; static bool equalizeChannelHist(const Mat & inp
2016-12-08 20:53:25 428
原创 矩阵操作
#include #include #include #include #include #include #include using namespace std;//降阶法求行列式的值,就是按照线性代数书上的公式,我是按照第一行进行展开template double static det(T **mat, const int n){ assert(mat != NU
2016-12-08 14:52:20 441
转载 opencv Farneback光流法
#include #include "opencv2/opencv.hpp" using namespace cv; using namespace std;#define UNKNOWN_FLOW_THRESH 1e9 static void makecolorwheel(vector &colorwheel) { int RY = 15; int YG =
2016-12-08 14:37:25 999
转载 找最小的封闭轮廓的图像
#include #include #include using namespace std;using namespace cv;static vector > contours;static vector heirarchy;Mat img_all_contours;static void make_contours_closed(vector > contours) {
2016-12-08 14:10:27 1133
原创 简单的运算符重载---复数加减乘除
#include "complex.h"#include using namespace std;inline Complex Complex::operator+(const Complex &c){ //cout<<"class +"<<endl; return Complex(this->real + c.real, this->imag + c.imag);}inli
2016-12-02 14:49:52 1048
转载 学习c++多态的几个小例子
//reference: http://blog.csdn.net/hackbuteer1/article/details/7475622#include #include#include using namespace std; class Time{public: int hour; int minute; int second;protected:priva
2016-12-02 14:43:29 2491
转载 简单的win32多线程---生产者、消费者模型
#include #include using namespace std;#define BUFSIZE 5static int SharedBuffer[BUFSIZE];static int head = 0, tail = 0;static int count = 0;static HANDLE hMutex;static HANDLE hNotFullEvent, hN
2016-12-02 14:33:11 1171
转载 win32共享内存简单实例
//win32ShareMemoryClient.cpp#include #include using namespace std; int main(){ HANDLE hMutex = NULL; HANDLE hFileMapping = NULL; LPVOID lpShareMemory = NULL; HANDLE hServerWrit
2016-12-02 14:26:34 2152
转载 win32 wmi编程获取系统信息
//GetSysInfo.h#pragma once#include class GetSysInfo{public: GetSysInfo(void); ~GetSysInfo(void);public:/********获取操作系统版本,Service pack版本、系统类型************/void GetOSVersion(CString &strOSV
2016-12-02 14:20:14 748
原创 opencv3.10光流法和前景提取法
//bgfg_segm.h#ifndef BGFG_SEGM_H#define BGFG_SEGM_H#include "opencv2/core.hpp"#include "opencv2/core/utility.hpp"using namespace cv;enum Method{ MOG, MOG2, GMG, FGD_STAT};extern void
2016-12-02 13:56:43 6224 1
转载 opencv中的图像亮度变换(图像增强)
#include using namespace cv; using namespace std; int imageAdjust(Mat &src, Mat &dst, double low_in, double high_in, double low_out, double high_out, double gamma) { if (low_in 1 && hig
2016-12-02 13:43:10 4515 6
基于深度学习的菜肴识别应用程序
2019-06-01
消除视频抖动工具vstab源码
2017-10-13
GPU多任务调度
2016-12-08
fftw-3.3.5-dll64
2016-11-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人