会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
盖世猪猪侠
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2020年7月9日
_mm256_cvtss_f32函数
摘要: _mm256_cvtss_f32函数属于AVX指令集,头文件:#include <immintrin.h> float _mm256_cvtss_f32 (__m256 a) 使用VS2015时,_mm256_cvtss_f32函数报错,错误 C3861 “_mm256_cvtss_f32”: 找不
阅读全文
posted @ 2020-07-09 11:11 盖世猪猪侠
阅读(647)
评论(0)
推荐(0)
2020年6月28日
图像梯度计算加速
摘要: 常规方法: 1 void SobelAmplitude(Mat &sobelx, Mat &sobely, Mat &SobelXY) { 2 SobelXY = Mat::zeros(sobelx.size(), CV_32FC1); 3 for (int i = 0; i < SobelXY.r
阅读全文
posted @ 2020-06-28 17:30 盖世猪猪侠
阅读(443)
评论(0)
推荐(0)
2020年5月14日
Opencv中ORB算法如何保证尺度不变形
摘要: 在ORB算法论文中,并没有对尺度空间如何构建进行描述,但是Opencv内部构建了尺度空间,尺度空间层为8。 当然这都是小问题,不知道你们有没有发现一个问题:若A图像尺度空间第一层上有一点a,与B图像尺度空间第三层上的一点b为同一匹配点,这时该如何匹配? 或者说,该如何画出来?这两层所在尺度不同,进行
阅读全文
posted @ 2020-05-14 11:17 盖世猪猪侠
阅读(874)
评论(0)
推荐(0)
2020年3月30日
RGB图像灰度化
摘要: #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" #include <iostream> using namespace cv; using namespace std; const int BGR_TO_GRAY_AVERA
阅读全文
posted @ 2020-03-30 16:34 盖世猪猪侠
阅读(249)
评论(0)
推荐(0)
2019年9月16日
Pylon5 SDK+Qt+Opencv配置方式
摘要: INCLUDEPATH += D:\opencv2.4.13\build\include INCLUDEPATH += D:\opencv2.4.13\build\include\opencv INCLUDEPATH += D:\opencv2.4.13\build\include\opencv2
阅读全文
posted @ 2019-09-16 10:16 盖世猪猪侠
阅读(587)
评论(0)
推荐(0)
2019年8月14日
vector计算和、均值、方差
摘要: double sum = std::accumulate(std::begin(resultSet), std::end(resultSet), 0.0); double mean = sum / resultSet.size(); //均值 double accum = 0.0; std::for_each (std::begin(resultSet), st...
阅读全文
posted @ 2019-08-14 16:56 盖世猪猪侠
阅读(2915)
评论(0)
推荐(1)
2019年8月9日
十六进制数转换为十进制
摘要: /* 由于发过来的数据为16进制,故需要把16进制的数据变为10进制,然后由Mat进行保存 */ static int hex_table[] = { 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0
阅读全文
posted @ 2019-08-09 13:41 盖世猪猪侠
阅读(989)
评论(0)
推荐(0)
2019年8月6日
pcap抓取数据包并储存到.txt中
摘要: #include #include #include using namespace std; int main(int argc, char *argv[]) { /* * Step 2 - Get a file name */ string file = "C:\\users\\jared\\testfiles\\smallcapture.p...
阅读全文
posted @ 2019-08-06 20:47 盖世猪猪侠
阅读(1006)
评论(0)
推荐(0)
16进制数转换为10进制---用的数组
摘要: #include static int hex_table[] = { 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,1,2,3,4,5,6, 7,8,9,0,0,0,0,0,0, 0,10,11,12,13,14,15,0,0, ...
阅读全文
posted @ 2019-08-06 15:45 盖世猪猪侠
阅读(1045)
评论(0)
推荐(0)
2019年8月5日
winpcap-收集并统计网络流量
摘要: #define _XKEYCHECK_H #define HAVE_REMOTE #include "pcap.h" #include "remote-ext.h" #include #include #include #pragma comment(lib, "wpcap.lib") #pragma comment(lib, "Ws2_32.lib") using namespace...
阅读全文
posted @ 2019-08-05 14:43 盖世猪猪侠
阅读(913)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告