-
显示图像
基于opencv ,我们可以读取各种图像文件,视频文件,还可以读取摄像头。这些功能是opencv开发包中HighGUI工具集的一部分。下面,我们就使用其中的一些功能来实现如何显示一副图像。 OpenCV的接口包括C++,C,Python的 我用MinGW编译OpenCV2.1 和 OpenCV2.2 从未成功过 前几日发现 OpenCV 2.3发布,下载了自解压程序,解压后又visual studio 2008,2010和MinGW版的 但其中的MinGW版的是官方 MinGW的,我使用的是在 http://nuwen.net/mingw.html 下载的 编译程序连接时总出错,于是下载了源码包,编译后能正常使用 先来看看最简单的图像的载入与显示,使用C++接口
- 2022-06-18 05:42:47下载
- 积分:1
-
大数相加程序
高精度整数加法
问题描述:
在计算机中,由于处理器位宽限制,只能处理有限精度的十进制整数加减法,比如在32位宽处理器计算机中,
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-02-05 11:41:19下载
- 积分:1
-
数字带通滤波器的设计过程。共3个源程序。其中,dos.cpp为带通FIR的源程序,其中的滤波器阶数n,滤波器的低频fln,滤波器的高频fhn,窗函数w,可以按照...
数字带通滤波器的设计过程。共3个源程序。其中,dos.cpp为带通FIR的源程序,其中的滤波器阶数n,滤波器的低频fln,滤波器的高频fhn,窗函数w,可以按照自己的要求改变。这里采用的是汉宁窗。主函数main.cpp实现输入与fir的h(n)的卷积,输出结果Y(n),并将其存储在y.txt中。最后,graphics.cpp从y.txt读取数据,再由语句画出波形,可以清楚地看出计算结果是否正确,并进行比较。-digital band-pass filter design process. A total of three sources. Among them, dos.cpp FIR bandpass to the source, the filter order n, the low-frequency filter FLN, the high-frequency filter fhn, window function w, in accordance with the requirements change. Here is the Hanning window. The main function main.cpp achieve the input and fir h (n) convolution, the output Y (n), and store them in y.txt China. Finally, graphics.cpp y.txt read data from and then draw waveform statement, we can clearly see whether calculations are correct, and comparisons.
- 2022-01-24 14:42:03下载
- 积分:1
-
- 2022-03-24 18:25:50下载
- 积分:1
-
遗传算法
分析了遗传算法的初始化,交叉变异等过程;通过实际例子,对遗传算法在计算目标函数值,将二进制编码转化为十进制数,计算个体的适应值几个方面的应用进行了详细分析。对初学者了解遗传算法具有很好的帮助。
- 2022-08-02 17:38:53下载
- 积分:1
-
Bresenham算法画圆的实现
通过VC++平台,利用Bresenham算法实现画圆。方便操作,实现快速画圆的方法。为初学者在学习Bresenham画圆算法的过程中提供了一个很好的实例,方便初学者掌握和运用。
- 2023-01-05 05:40:03下载
- 积分:1
-
回溯线搜索
此程序通过凸优化中的armigo规则的回溯线搜索方法来寻找函数的最佳值。对于输入,此程序是全局aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- 2022-01-26 03:26:17下载
- 积分:1
-
VC calculated arbitrary length 10
VC++ 计算任意长度10进制数位算子实用程序的源代码,很 实用-VC calculated arbitrary length 10-229 utility operator of the source code, very practical
- 2022-01-21 00:38:21下载
- 积分:1
-
ZIBEE程序
Description: This application functions as a packet error rate (PER) tester. One node is set up as transmitter and the other as receiver. The role and configuration parameters for the PER test of the node is chosen on initalisation by navigating the joystick and confirm the choices with S1. The configuration parameters are channel, burst size and tx power. Push S1 to enter the menu. Then the configuration parameters are set by pressing joystick to right or left (increase/decrease value) and confirm with S1.
- 2022-06-12 05:42:09下载
- 积分:1
-
将用RGB表示的颜色值转换为长整型表示的颜色值
将用RGB表示的颜色值转换为长整型表示的颜色值-Transform color value expressed by RGB to color value expressed by long integer
- 2022-05-25 04:55:59下载
- 积分:1