-
验证码识别
#include
#define W 80 //定义验证码图片的宽度
#define H 20 //定义验证码图片的宽度
#define N 2 //定义字符位数,一般是4位
#define BMP_filename "c: est.bmp"
int x,y,i,s,temp;
int YZM[W][H]={0};
int YZM_red[W][H]={0};
int YZM_green[W][H]={0};
int YZM_blue[W][H]={0};
int rec[W]={0};
int lf[N],rt[N],up[N],dw[N];
char result[N];
void shibie()
- 2022-04-20 09:09:12下载
- 积分:1
-
银行家算法
通过图形界面上数据的输入,将进程的所需的最大资源数、已分配资源数、完成进程所需的剩余资源数数据存入数组中,再根据银行家算法要求,进行进程间的运行分配,而后显示在左侧的面板上。
- 2022-12-10 11:55:03下载
- 积分:1
-
Gauss
高斯消元法(选主元)这个也是数学方法中的常用计算程序学过的人都知道的-Gauss-Emilination algorithm
- 2022-03-20 12:23:23下载
- 积分:1
-
日历程序源代码 visual basic
日历程序源代码 visual basic
- 2022-03-15 13:00:54下载
- 积分:1
-
数字识别程序
识别0~9阿拉伯数字,输入为yuv格式图片。Demo共分为两个程序,create_number和number_identification。create_number程序随机生成一个10位数,并建立YUV文件,生成的文件存放位置为../test_data/random_number.yuv。yuv为像素域的色彩空间,也就是图片解压后的结果,是常用的数字图像处理的色彩空间。number_identification程序对random_number.yuv文件里的数字进行识别,打印输出结果。
- 2022-05-27 01:56:38下载
- 积分:1
-
单片机自制示波器
基于12c5a60s2单片机和12864液晶屏显示的简易示波器,利用12内部的自带ad将输入的不同电压划分,再将液晶屏整体划分为小格阵,竖直方向对应不同的幅值,横轴对应不同的时间,上一采样点仍保留,这样就形成了清晰明显的波型图。此外还可以调节采样频率以适应不同频率的波。简易示波器的频率范围为100~1000hz,这是由于AD转换速率的限制。
- 2023-06-24 10:20:03下载
- 积分:1
-
1, one dollar three regression equations CubicMultinomialRegress.cs equation mod...
一、 一元三次回归方程 CubicMultinomialRegress.cs
方程模型为Y=a*X(3)+b*X(2)+c*X(1)+d
public override double[] buildFormula()
得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是d,c,b,a。
以后所述所有模型的系数存放均与此相同(多元线性回归方程除外)。
public override double forecast(double x)
预测函数,根据模型得到预测结果
public override double computeR2()
计算相关系数(决定系数),系数越接近1,数据越满足该模型。
-1, one dollar three regression equations CubicMultinomialRegress.cs equation model for Y = a* X (3)+ B* X (2)+ C* X (1)+ Dpublic override double [] buildFormula () get coefficient array, store order and model coefficients contrary, that is, the array is followed by the value of coefficient d, c, b, a. After all the model described in the coefficient of storage are the same (except for multiple linear regression equation). public override double forecast (double x) prediction function, according to the results of model prediction public override double computeR2 () calculated the correlation coefficient (determination coefficient), coefficient of the closer one, the dat
- 2022-01-26 07:28:21下载
- 积分:1
-
FIR数字滤波器设计,窗函数在信号处理中的作用
FIR数字滤波器设计,窗函数在信号处理中的作用-FIR digital filter design, window function in the signal processing of
- 2022-11-30 23:25:02下载
- 积分:1
-
逐点比较法直线插补算法
逐点比较法直线插补c语言程序.doc
运动 控 制 技术是现代自动控制技术的一个重要分支,它在工业生
产中发挥着越来越重要的作用。近些年来,随着微电子技术和电力电
子技术的飞速发展,运动控制系统正朝着通用化、智能化、微型化的
方向发展。以开放式运动控制结构为代表的运动控制技术将成为今后
运动控制技术发展的主流。
- 2023-08-17 01:45:02下载
- 积分:1
-
禁忌搜索法对初始解、邻域个数及禁忌列表的大小等参数有比较严格的要求, 这些参数直接影响着算法的优化能
力。文章提出了一种改进的禁忌搜索法, 它用有效空间来压...
禁忌搜索法对初始解、邻域个数及禁忌列表的大小等参数有比较严格的要求, 这些参数直接影响着算法的优化能
力。文章提出了一种改进的禁忌搜索法, 它用有效空间来压缩搜索范围, 这样可以提高搜索效率和全局搜索能力。用短期
和长期禁忌列表存储器来保证算法能搜索到全局空间的每一点, 并且不重复搜索。经过验算和分析, 证明它是一种较好的
全局启发式搜索法-Tabu search method, the initial solution, neighborhood and tabu list size of the number of parameters such as have more stringent requirements, these parameters directly affect the ability to optimize the algorithm. This paper presents an improved tabu search method, it is used effectively to compress the search space, so that can improve search efficiency and global search capabilities. Short-term and long-term memory tabu list to ensure the algorithm to search to the global space, each point, and do not repeat the search. After checking and analysis, to prove that it is a good global heuristic search method
- 2022-04-06 20:06:04下载
- 积分:1