随笔分类 - C++
摘要:#include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; int elementSize = 3;int maxSize = 260; int Demo_Load_Img(); /
阅读全文
摘要:#include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; //均值滤波模糊处理int demo_blur(){ char win1[] = "window1"; char win2
阅读全文
摘要:构造函数 Mat() Mat(int rows,int cols,int type) Mat(Size size,int type) Mat(int rows,int cols,int type,const Scalar &s) Mat(Size size,int type,const Scalar
阅读全文
摘要:#include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; /***opencv自带的掩膜操作API*/int test2(){ Mat img1, img2, img3; img1
阅读全文
摘要:#include <time.h> char pStrPath1[20];time_t currTime;struct tm *mt;Mat saveImg1; currTime = time(NULL);mt = localtime(&currTime);/*根据日期生成文件名*/sprintf(
阅读全文
摘要:https://pan.baidu.com/s/1o7efLdK
阅读全文
摘要:#include<iostream>#include "strmif.h"#include <initguid.h>#include<vector>#include<string> #pragma comment(lib, "setupapi.lib") using namespace std; #
阅读全文
摘要:#include <iostream>#include <opencv2/opencv.hpp>#include <math.h> using namespace std;using namespace cv; //拉普拉斯 边缘计算void TLaplacian() { Mat img1, img
阅读全文
摘要:#include <opencv2/opencv.hpp>#include <iostream> using namespace std;using namespace cv; void ChangeImgBG();Mat HandleImgData(Mat &img);/*图片背景替换知识点:分水
阅读全文
摘要:即系IFC数据并存储到关系型数据库中,目前解析的IFC文件是两亿多行,构件数量120万 参考论文:http://cpfd.cnki.com.cn/Article/CPFDTOTAL-JGCB201811001064.htm
阅读全文
摘要:光源绕一个物体旋转,按下鼠标左键时,光源位置旋转。 #include <GL/glut.h> static int spin = 0;static GLdouble x_1 = 0.0;static GLdouble y_1 = 0.0;static GLdouble z_1 = 0.0;void
阅读全文
摘要:/*******************************************************robot.cpp*基于opengl的机械手臂示例代码*s:机械臂逆时针旋转*S:机械臂顺时针旋转*e:腕部逆时针旋转*E:腕部顺时针旋转*************************
阅读全文
摘要:链接:https://pan.baidu.com/s/1dGQkk4T 密码:wu44 Visual Studio 2017配置OpenGL https://blog.csdn.net/qiangbizhi3622/article/details/79467994 https://www.cnblo
阅读全文
摘要:#include <GL\glut.h> float fEarth = 2.0f;//地球绕太阳的旋转角度float fMoon = 24.0f;//月球绕地球的旋转角度 void Init(){ glEnable(GL_DEPTH_TEST);//启用深度测试 glClearColor(0.0f,
阅读全文
摘要://#include <gl\glut.h>#include <GL\glut.h>#include <iostream> using namespace std; float rtri;float rquad; GLfloat points0[5][3] = { {0,1,0},{-1,-1,1}
阅读全文
摘要:#include <opencv2/opencv.hpp>#include<vector>#include <fstream> using namespace std;using namespace cv; int main(int argc, char* argv[]){ const char*
阅读全文

浙公网安备 33010602011771号