会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
18
下一页
2023年5月17日
C++用代码验证“一切函数皆可傅里叶”
摘要: #include <stdio.h> #include <math.h> #define pi 3.1415926 #define rows 3 #define colums 5 typedef struct { float re;// really float im;// imaginary }c
阅读全文
posted @ 2023-05-17 13:58 阿坦
阅读(78)
评论(0)
推荐(0)
2023年5月13日
C++傅里叶变换
摘要: #include <stdio.h> #include <math.h> #define pi 3.1415926 #define rows 3 #define colums 5 typedef struct { float re;// really float im;// imaginary }c
阅读全文
posted @ 2023-05-13 10:51 阿坦
阅读(397)
评论(0)
推荐(0)
2023年4月28日
拟合多项式
摘要: C++代码示例如下 #include <iostream> #include <vector> #include<cmath> #include <ctime>//eigen核心部分 #include <Eigen/Core>//稠密矩阵的代数运算(逆、特征值等) #include <Eigen/D
阅读全文
posted @ 2023-04-28 14:05 阿坦
阅读(158)
评论(0)
推荐(0)
2023年4月23日
C/C++清空数组的两种方法
摘要: //第一种方法是使用循环将所有元素设置为0。 for(int i = 0; i < sizeof(arr)/sizeof(arr[0]); i++){ arr[i] = 0; } //第二种方法是使用cstring库中的memset函数将所有元素设置为0 memset(arr, 0, sizeof(
阅读全文
posted @ 2023-04-23 11:16 阿坦
阅读(2143)
评论(0)
推荐(0)
2023年4月21日
FloatCDAB的十六进制与浮点数的相互转换
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> /// <summary> /// 浮点数转换成十六进制数组CDAB /// </summary> /// <param name="Modbus_HoldReg">返回四位十六进制
阅读全文
posted @ 2023-04-21 15:05 阿坦
阅读(1002)
评论(0)
推荐(0)
2023年3月6日
opencv sharp MatToBitmapSource
摘要: private BitmapSource MatToBitmapSource(Mat mat, ref byte[] gray) { PixelFormat pf = PixelFormats.Gray8; int rawStride = (mat.Width * pf.BitsPerPixel +
阅读全文
posted @ 2023-03-06 13:27 阿坦
阅读(97)
评论(0)
推荐(0)
2023年2月27日
OpenCvSharp裁剪图像、寻找圆心
摘要: 裁剪图像 OpenCvSharp.Rect rect = new OpenCvSharp.Rect(4800, 2100, 400, 900);//设置范围 OpenCvSharp.Mat cropped_image = new OpenCvSharp.Mat(Img, rect);//裁剪图像 裁
阅读全文
posted @ 2023-02-27 16:12 阿坦
阅读(794)
评论(0)
推荐(0)
2023年2月17日
WPF将超大图像分割成多个小图像使用多任务Task并行处理显示
摘要: using Microsoft.Win32; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Syste
阅读全文
posted @ 2023-02-17 11:43 阿坦
阅读(126)
评论(0)
推荐(0)
2023年1月11日
WPF使用WriteableBitmap更新图像
摘要: <Window x:Class="WpfApp2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/200
阅读全文
posted @ 2023-01-11 14:53 阿坦
阅读(568)
评论(0)
推荐(2)
2023年1月4日
三极管推挽
摘要:
阅读全文
posted @ 2023-01-04 13:30 阿坦
阅读(46)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
18
下一页
公告