c/c++
耀刀
这个作者很懒,什么都没留下…
展开
-
opencv线性滤波:方框滤波,均值滤波,高斯滤波
学习浅墨大佬:教程函数调用:#include "ep_19.h"using namespace std;using namespace cv;void ep_19(){ /*方框滤波 *第一个参数,InputArray类型的src,输入图像,即源图像,填Mat类的对象即可。该函数对通道是独立处理的,且可以处理任意通道数的图片,但需要注意,待处理的图片深度应该为CV_8U, CV_16U, CV_16S, CV_32F 以及 CV_64F之一。第二个参数,OutputArray类型的dst转载 2021-03-29 17:57:36 · 239 阅读 · 0 评论 -
opencv学习记录
gitee地址:https://gitee.com/jhjyes/opencv_learing#include<opencv2\opencv.hpp>#include "ep_17.h"#include <tbb/tbb.h>#include <iostream>using namespace cv;/*ep_1:图像显示ep_2:图像腐蚀,模糊,边缘检测ep_3:视频播放,摄像头采集ep_4:彩色目标追踪ep_5:光流optical flowep原创 2021-02-21 12:47:46 · 137 阅读 · 0 评论 -
区间消去法+二次插值法求极小值,并调用matlab绘制图像(c/c++程序)
/*example.cpp*/#include<stdio.h>#include<string.h>#include<math.h>#include<engine.h>#define dataNum 100//忽略4096错误#pragma warning(disable:4996)int mat_plot(Engine* eg, double* x, double* y, int N, char* LineStyle, double Li原创 2021-02-21 11:54:32 · 1676 阅读 · 0 评论 -
powell法c/c++程序
#include <stdio.h>#include <math.h>#define m 10 /*数组长度m >= 维数n */float f(float x[]);void mjtf(int n,float x0[],float h,float s[],float a[],float b[]);void mhjfgf(int n,float a[],float b[],float flag,float x[]);void mb原创 2020-12-10 17:05:57 · 1387 阅读 · 4 评论 -
数值分析Jacobi迭代法c/c++实现
matlab还没学精通,正好好久没写代码了,借此温习温习。//Jacobi.cpp#include "Jacobi.h"#include <iostream>#include <vector>#include <stdlib.h>using namespace std;using std::vector;vector<double> matrix_A;vector<double> vector_b;Jacobi::Jacobi原创 2020-09-25 21:05:20 · 2633 阅读 · 0 评论