-
c++ 部分模糊图像 模糊度计算
资源描述
首先正确安装配置opencv
程序功能为:jpg图像模糊度计算
示例图片 1.jpg 是500*460真彩色图片
运行时间大约两分钟
图像清晰呈黑色
图像模糊部分呈白色
a,b,c 输出为三个不同尺度计算的模糊图结果
- 2022-08-23 13:23:32下载
- 积分:1
-
粒子群优化算法 (PSO) c
粒子群优化算法 (PSO) c粒子群优化 (PSO) 算法 [1,2] 在 C 可执行"插入"代码作为一个小型图书馆。粒子群优化算法用于涉及全局随机优化的连续函数 (称为目标函数) 的问题。粒子群优化算法也可用于离散优化问题,但在此库的当前版本中未实施这种行为。使用只是在代码中包括 pso.h 和 pso.c。您需要有 GNU 科学图书馆和各自的发展 (即标题) 文件,以在您的应用程序中包含 pso.c。你的 Makefile 中将添加到您的 LDFLAGS 的-lgsland lgslcblas。为了使用 pso_solve(),您需要:最小化目标函数 (见在 pso.h 中定义类型 pso_obj_fun_t),一个具有正确初始化的 pso_results_t 对象 (malloc 会) gbest 缓冲区。这是将存储发现最好的位置,以及最小的误差 (存储在成员错误)。一个具有正确初始化的值 (使用 pso_set_default_settings() 进行快速和肮脏的初始化) 的 pso_settings_t 对象功能邻域拓扑粒子群优化算法用于确定每个 particle 附近吸引子提供了三种不同的策略:全球的拓扑结构 (PSO_NHOOD_GLOBAL),每个粒子由每一另一种粒子群通知环形的拓扑 (PSO_NHOOD_RING) 在那里存在着固定的环型拓扑结构和每个粒子由其邻近的微粒通知
- 2022-04-22 20:27:57下载
- 积分:1
-
语音编解码代码库_C语言
详细说明:基于DSP的用C语言实现语音编码解码,能完成基本的语音编码解码功能
C language voice codecs based on DSP,that can complete basic voice codec functions
- 2022-01-22 02:45:44下载
- 积分:1
-
二进制题
这是一道警示题:题目要求:输入11001
111
10011
输出1101
11
1011
长度不超过6位 最好采用数据结构写
- 2022-02-05 15:20:22下载
- 积分:1
-
an index based on the fire damage assessment software, no classified data, the g...
一个基于指数法的火力毁伤评估软件,没有涉密数据,代码一般-an index based on the fire damage assessment software, no classified data, the general code
- 2022-10-04 23:55:03下载
- 积分:1
-
单一的
用单链表编写一元多项式的乘法算法-single-chain preparation of a polynomial multiplication algorithm
- 2022-10-22 17:55:03下载
- 积分:1
-
简单的试探法走迷宫
简单的试探法走迷宫--The simple trial method that walks the labyrinth
- 2022-06-17 08:26:25下载
- 积分:1
-
这是一个简单的演示如何评价文本的数学表达式
This a simple demo of how to evaluate mathematical expressions in text
format, including provision for variables and functions. The code consists of
three simple classes: 1) Calc - which does the main calculations, 2) Stack -
which is used to push and pop intermediate operators and numbers and 3)
Symbol Table. The symbol table is a collection of calc symbols, a type structure
consisting of various elements, including the expression name, function name,
and the final value of the expression The evaluation procedure is done in three
steps: 1) simplify the expression by removing all the elements within () and
storing them in subexpressions within the symbol table. 2) Each of these sub
expressions are then converted to RPN format (Reverse polar notation) and
evaluated 3) Finally, the main expression is converted to RPN and evaluated-This is a simple demo of how to evaluate mathematical expressions in text
format, including provision for variables and functi
- 2022-02-20 06:26:41下载
- 积分:1
-
GPS定位中的时间转换小工具,年纪日,gps周
应用背景进行公历与GPS周和天的计算,以及年积日的相互转换关键技术GPS周和天与公历日期的时间换算,可以由公历时间求得GPS时间,也可由GPS时间求得公历时间,还可计算年积日与公历时间和GPS时间的转换,三者之间都可进行任意换算,可以作为平时学习和工作的小工具,解决了在数据处理时的小麻烦
- 2022-03-23 19:13:27下载
- 积分:1
-
装配生产线调度m行和N站
装配生产线调度m行和N站
- 2023-08-12 18:30:02下载
- 积分:1