摘要: 高斯金字塔 : PyrDown 图像变小,细节减少 拉普拉斯金字塔 : PyrUp 图像变大 , 尽量弥补细节 Resize CV_EXPORTS_W void resize( InputArray src, OutputArray dst, Size dsize, double fx = 0, d 阅读全文
posted @ 2023-04-17 09:26 冷小男 阅读(111) 评论(0) 推荐(0)
摘要: 两个函数重载: CV_EXPORTS int floodFill( InputOutputArray image, Point seedPoint, Scalar newVal, CV_OUT Rect* rect = 0, Scalar loDiff = Scalar(), Scalar upDi 阅读全文
posted @ 2023-04-17 09:20 冷小男 阅读(165) 评论(0) 推荐(0)
摘要: 作用: 开运算(先腐蚀后膨胀) : 用来消除小物体,再纤细点处分离物体,并且再光滑较大的物体的边界的同时不明显改变其面积 闭运算 (先膨胀后腐蚀):能够排除小型黑洞 形态学梯度 (膨胀 减去 腐蚀): 对二值图像进行这一操作可以把blob的边缘突出出来,我们可以用形态学梯度来保留物体的边缘轮廓 顶帽 阅读全文
posted @ 2023-04-17 09:17 冷小男 阅读(84) 评论(0) 推荐(0)
摘要: 1、 下载windows版本的opencv(默认vs已经下载) 下载链接: Releases Archive - OpenCV 2 .添加环境变量后创建一个桌面工程 环境变量: ..\opencv\build\x64\vc16\bin 随后打开 【视图】 - 【属性管理器】找到下图 如果没有这个选项 阅读全文
posted @ 2023-04-12 22:22 冷小男 阅读(125) 评论(0) 推荐(0)
摘要: 原图: CV_EXPORTS_W void dilate( InputArray src, OutputArray dst, InputArray kernel, Point anchor = Point(-1,-1), int iterations = 1, int borderType = BO 阅读全文
posted @ 2023-04-12 15:52 冷小男 阅读(412) 评论(0) 推荐(0)
摘要: CV_EXPORTS_W void boxFilter( InputArray src, OutputArray dst, int ddepth, Size ksize, Point anchor = Point(-1,-1), bool normalize = true, int borderTy 阅读全文
posted @ 2023-04-12 10:25 冷小男 阅读(88) 评论(0) 推荐(0)
摘要: Reference with full tutorial: https://blog.csdn.net/you_zai/article/details/119848662 QuickStart : vscode : https://code.visualstudio.com/download min 阅读全文
posted @ 2023-03-17 10:52 冷小男 阅读(229) 评论(0) 推荐(0)
摘要: Requirement: Pymysql (Python) mysql UI.py: # coding:utf-8 from tkinter import * import tkinter as tk from words import word import pymysql from functo 阅读全文
posted @ 2023-02-27 14:21 冷小男 阅读(40) 评论(0) 推荐(0)
摘要: Vue Quick Start with Vue-CLI import in html page: <script type="importmap"> { "imports": { "vue": "https://unpkg.com/vue@3/dist/vue.esm-browser.js" } 阅读全文
posted @ 2023-02-07 11:47 冷小男 阅读(36) 评论(0) 推荐(0)
摘要: 网络物体的同步方案 服务器 客户端 初始化服务器 初始化客户端 通知游戏开始 生成网络物体老鼠,分配nid 记录老鼠的资源路径 连接服务器 客户端1连接,创建客户端代理1, 发送客户端连接信息 客户端代理1将已存在的网络物体 的nid与资源路径发送给客户端1 (客户端代理处理网络物体的 创建和删除, 阅读全文
posted @ 2023-01-04 10:53 冷小男 阅读(218) 评论(0) 推荐(0)