-
这个程序是一个Win32程序,计算Fibonacci斐波纳契数列(一种整数数列, 其中每数等于前面两数之和)。其定义是f(1) = 1,f(2) = 2,并且当
这个程序是一个Win32程序,计算Fibonacci斐波纳契数列(一种整数数列, 其中每数等于前面两数之和)。其定义是f(1) = 1,f(2) = 2,并且当n>2时, f(n) = f(n-1) + f(n-2)。源代码种给出了三种计算方法。第一种方法用递归,第二种方法用大数组,第三种方法用小数组。此外,这个程序还具备多线程特性,所以在运算时可以做其它操作。代码用到了以前创建的Win32类。测试为发现bug和内存溢出。--Calculate Fibonacci value.
- 2023-06-06 19:10:03下载
- 积分:1
-
静态背景下的行人检测
应用背景本代码应用范围是静态背景下的行人检测,通过相邻两帧的像素值差,并在给定的阈值范围中,可以实时动态的找到行人所在区域并标定下来,本代码不可用于动态的行人检测,否则出现很大偏差。关键技术采用帧差法,比较相邻两帧图像对应位置的像素值差异,并用另一个图像空间存储,在给定的阈值范围中,如果像素差异值大于阈值,则将改点的像素值设置为255,如果像素值差异值小于或者等于阈值,则将改点的像素值设置为0。设定完成后,在通过图像预处理,消除图像中噪声,通过像素扫描,找到图像感兴趣范围,并圈定。即可完成图像中行人的动态实时监测。
- 2023-01-08 03:45:04下载
- 积分:1
-
ffmpg库的源码
FFmpeg README
-------------
1) Documentation
----------------
* Read the documentation in the doc/ directory.
2) Licensing
------------
* Read the file COPYING. ffmpeg and the associated libraries EXCEPT
liba52 and libpostproc are licensed under the Lesser GNU General
Public License.
* liba52 and libpostproc are distributed under the GNU General Public
License and their compilation and use is optional in ffmpeg.
Fabrice Bellard.
- 2022-07-03 09:19:29下载
- 积分:1
-
poj3352给一个图,求出需要加最少的边使去掉任一条边,图都连通.割点的应用...
poj3352给一个图,求出需要加最少的边使去掉任一条边,图都连通.割点的应用-poj3352 to a map, obtained at least the need to remove the edges so that any one side, map are connected. cut-point application
- 2023-07-27 11:35:03下载
- 积分:1
-
快速获取3D重建切片的算法
本程序由kyungsang基姆制作。如果你有问题或问题,发送电子邮件到me.kssigari@gmail.complease试试这些测试步骤1。模拟器是用于测量投影。2。demo2是解析重建众所周知过滤backprojection3。Demo3 is the iterative reconstruction using the maximum likelihood expectation maximization (MLEM) method.nx: number of image pixels of x-directionny: number of image pixels of y-directionnz: number of image pixels of z-directionsx: real size (length) of x-axis of the image -> resolution of a pixel = sx/nxsx: real size (length) of y-axis of the image -> resolution of a pixel = sy/nysx: real size (length) of z-axis of the image -> resolution of a pixel = sz/nznu: number of detector pixels of x-direction (u)nv: number of detector pixels of z-direction (axial) (v)su: size of real (length) of detector u-direction -> resolution of a pixel = su/nusv: size of real (length) of detector v-direction -> resolution of a pixel = sv/nvDSD: distance between source to detectorDSO: distance between source to iso-center (image center).dir: rota
- 2022-07-08 11:47:05下载
- 积分:1
-
粒子群优化算法 PSO
通过启发式搜索方法,如遗传算法(Genetic Algorithm, GA)、模拟退火法(Simulated Annealing, SA)、禁忌搜索法(Tabu Search, TS)、蚁群优化算法(Ant Colony Optimization, ACO)、大爆炸算法(Big Bang-Big Crunch, BB-BC)以及粒子群优化算法(Particle swarm optimization, PSO)等,能够快速有效求解最优化问题。与其他优化算法相比,PSO因具有参数少、收敛速度快、简单易实现等突出优点而被广泛应用于多个领域,如逆合成孔径雷达(Inverse Synthetic Aperture Radar, ISAR)中机动目标参数补偿,非线性方程组多值求解等。本程序为个人原创,需要根据实际需要添加目标函数。
- 2022-11-11 23:35:04下载
- 积分:1
-
非常快的字符搜索算法。注:上传时,不知为何当开发语言选为C++BUILDER时,类别不能选择,故我都选为VC&C++,实际都是C++BUILDER...
非常快的字符搜索算法。注:上传时,不知为何当开发语言选为C++BUILDER时,类别不能选择,故我都选为VC&C++,实际都是C++BUILDER -characters very fast search algorithm. Note : uploads, I wonder why, when the C programming language elected BUILDER, the category is not an option, so I have elected to VCC, is the actual C BUILDER
- 2022-03-25 14:59:46下载
- 积分:1
-
Enigma密码算法实现的清晰的语言原则…
密码学中 enigma算法的 c语言实现
原理清晰-Enigma cryptography algorithm implementation of the principles of clear language c
- 2022-08-03 13:35:20下载
- 积分:1
-
MOGWO(灰狼算法)
MOGWO是外国教授写的,不是国内的狼群算法,本文的灰狼算法采用矩阵形式来更新灰狼算法,结果非常不错,建议大家下载看看,非常好,可以用于各种网络的优化及预测。MOGWO是外国教授写的,不是国内的狼群算法,本文的灰狼算法采用矩阵形式来更新灰狼算法,结果非常不错,建议大家下载看看,非常好,可以用于各种网络的优化及预测。MOGWO是外国教授写的,不是国内的狼群算法,本文的灰狼算法采用矩阵形式来更新灰狼算法,结果非常不错,建议大家下载看看,非常好,可以用于各种网络的优化及预测。
- 2022-08-16 05:21:57下载
- 积分:1
-
一款价值无量的曲线控件,只要在数据库导就可生成漂亮的拟合曲线...
一款价值无量的曲线控件,只要在数据库导就可生成漂亮的拟合曲线-A curve of the control is of immeasurable value, as long as guide in the database can be generated fitting curves of a beautiful
- 2022-02-03 14:49:55下载
- 积分:1