- 博客(15)
- 收藏
- 关注
转载 excel列转行(实用方法)
将excel中的列转换为行https://jingyan.baidu.com/article/da1091fb6b13b5027949d675.html
2019-10-12 10:50:31
2434
原创 error LNK2019: 无法解析的外部符号 "public: __thiscall ClassificationSVM::ClassificationSVM(void)" (??0Classi
在主函数中调用类中的成员函数出现此错误,可能是构造函数只声明未实现。解决方案:将构造函数实现 即:ClassificationSVM(); 改为ClassificationSVM() {}...
2019-10-12 10:15:13
509
原创 V2013中应用程序无法正常启动0xc00007b
编译、连接之后就开心的去执行了,结果无法执行,出现了应用程序无法正常启动0xc00007b的错误。可能是32bit和64bit的dll搞混了解决方案:将对应的dll文件添加到工程下面...
2019-10-11 10:32:37
273
原创 c语言读取csv文件到结构体
#include "radar_index_coor.h"#include<fstream>#include <iostream>#include <string>using namespace std;int main(){ FILE *fp; int i = 0; int j; if ((fp = fopen...
2019-09-27 16:32:47
4353
2
原创 Hu矩阵计算两个轮廓的相似度
#include <iostream>#include <string>#include <sstream>#include "cv.h"#include "cxcore.h"#include "highgui.h"using namespace std;int main(){ IplImage *srcColor = cvLoadI...
2019-09-25 15:34:14
2122
原创 python3.6用numpy方法读取csv文件到矩阵中
import numpy as np#文件读取到tmptmp = np.loadtxt(“C:\Users\Administrator\Desktop\datagnd.csv”, dtype=np.str, delimiter=",")#将tmp数据转换为数组类型的数据data = tmp[0:].astype(np.int)#加载数据部分return data...
2019-09-25 14:27:15
2347
1
原创 粒子滤波跟踪算法
#include <opencv2/core/core.hpp>#include "opencv2/imgproc/imgproc.hpp"#include <opencv2/highgui/highgui.hpp>#include <stdio.h>#include <iostream>using namespace cv;using...
2019-05-22 19:15:03
1676
原创 将图像中感兴趣区域提取出来,非感兴趣区域设置为黑色
#include <opencv2/opencv.hpp>#include <math.h>using namespace cv;Mat mask, img1, img2;//全局变量Mat g_ImageROI;Mat g_ImageROI1;Rect g_rectangle;Point g_startPoint;Mat g_srcImage;RNG...
2019-05-21 17:32:34
3421
原创 处理视频中感兴趣区域,并将非感兴趣区域设置为黑色背景
#include <opencv2/opencv.hpp>#include <math.h>using namespace cv;Mat mask, img1, img2;//全局变量Mat g_ImageROI;Mat g_ImageROI1;Rect g_rectangle;Point g_startPoint;Mat g_srcImage;RNG...
2019-05-21 17:26:12
702
原创 canny
#include <opencv2/opencv.hpp>#include <math.h>using namespace cv;//全局变量Mat g_ImageROI;Rect g_rectangle;Point g_startPoint;Mat g_srcImage;RNG g_rng(12345);bool click_flag = 0;v...
2019-05-20 22:36:25
377
原创 canny边缘检测
#include <iostream> #include <opencv2\opencv.hpp>int main() { //读取图像 cv::Mat img = cv::imread("0015.jpg"); if (!img.data) { std::cout << "Error: read ima...
2019-05-20 22:26:19
148
原创 将图片转化为视频
#include<opencv2\opencv.hpp>#include<iostream>using namespace std;using namespace cv;int main(){ // 构造一个VideoWriter VideoWriter video("test.avi", CV_FOURCC('M', 'J', 'P', '...
2019-05-20 21:56:24
1612
转载 ubuntu18.04安装opencv 3.4.1
https://www.cnblogs.com/tsfh/p/8729578.html很详细 配好了
2019-03-27 18:35:03
918
转载 kdevelop的使用
https://blog.youkuaiyun.com/qq_27806947/article/details/80119294
2019-03-26 11:17:14
208
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人