-
数字图像处理增加亮点和对比度
#include#includeusing namespace cv;int main() {Mat src,dst;src = imread("D:/ps/circle.png");int rows = src.rows;int cols = src.cols;float alpht = 1.8;float bea = 50;dst = Mat::zeros(src.size(), src.type());for (int row = 0; row < rows; row++) {for (int col = 0; col < cols; col++) {int b = src.at(row, col)[0];int g = src.at(row, col)[1];int r = src.at(row, col)[2];dst.at(row, col)[0] = saturate_cast(alpht*b + bea);dst.at(row, col)[1] = saturate_cast(alpht*g + bea);dst.at(row, col)[2] = saturate_cast(alpht*r + bea);}}namedWindow("s", CV_WINDOW_AUTOSIZE);namedWindow("d", CV_WINDOW_AUTOSIZE);imshow("s", src);imshow("d", dst);waitKey(0);r
- 2022-05-14 06:46:25下载
- 积分:1
-
stm32f1 MPU6050采集
使用STM32F103+MPU6050,在战舰版上可以完美的运行,主要是IIC时序的改变,适合初学者使用,已经通过四元素处理获得了姿态角,所以如果要做四轴可以依次为参考继续编写
- 2022-06-13 08:23:10下载
- 积分:1
-
c++ MFC
以c++为基本的编程语言,利用MFC框架来开发的额对图像的处理程序,可以读取图片然后经过一系列的处理,然后把处理结果反馈给用户
- 2022-09-20 08:45:03下载
- 积分:1
-
oled
说明: 1.3寸oled SSD1106驱动的OLED显示屏(1.3 oled SSD1106 oled oled)
- 2021-04-02 16:39:08下载
- 积分:1
-
KalmanFilter-master
说明: mpu6050读取数据,利用卡尔曼滤波,使数据更加准确(Mpu6050 reading data)
- 2020-02-22 10:23:28下载
- 积分:1
-
one
基于matlab仿真,计算空调负荷。可设置房间围护结构参数以及舒适度(Calculation of air conditioning load based on MATLAB simulation)
- 2018-07-31 17:09:33下载
- 积分:1
-
斐讯R1本地升级工具包
说明: 斐讯因为停止服务了 致使斐讯r1音箱不能升级 使用这个软件就可以把斐讯r1音箱升级成最新版本3448,这个版本的音质有了很大的提升(Because the service of fisun stopped, fisun R1 speaker could not be upgraded. With this software, fisun R1 speaker can be upgraded to the latest version 3448. The sound quality of this version has been greatly improved)
- 2020-06-30 01:00:02下载
- 积分:1
-
Windows SDK 窗口程序——图标、菜单、加速键、消息框
SDk窗口程序,图标、菜单、加速键、消息框的使用, 涉及到的资源请自行加载。
- 2022-12-26 12:25:03下载
- 积分:1
-
fftverilog
关于FFT实现的Verilog代码,(FFT realize on the Verilog code,)
- 2008-02-28 14:02:22下载
- 积分:1
-
VisualC++graphic_programming
Visual C++6_0图形编程技巧与实践,文件是超星格式,够清楚的。(Visual C 6_0 graphics programming skills and practice, the document was Superstar format, clear enough.)
- 2007-03-17 14:52:16下载
- 积分:1