Loading

03 2021 档案

摘要:双指针应用 常见的双指针算法应用有: 去除链表倒数第N个数 Remove Nth Node From End of List 寻找链表中的环 Linked List Cycle Linked List Cycle II Find the Duplicate Number 双指针寻找环: 假设环的长度 阅读全文
posted @ 2021-03-11 22:52 minskiter 阅读(108) 评论(0) 推荐(0)
摘要:中值滤波器(Median) 对$(x,y)$的邻域(通常为$3\times3$矩阵)进行排序,然后取中值 用途: 去噪 公式: \[ f(x,y) = median[(x-1,y-1),(x-1,y-1),(x+1,y-1),(x-1,y),(x,y),(x+1,y),(x-1,y+1),(x,y+ 阅读全文
posted @ 2021-03-11 21:28 minskiter 阅读(465) 评论(0) 推荐(0)
摘要:目的 本地使用Typora(所见即所得)编写Markdown 通过命令行工具自动上传图片到博客园 必要条件 开启博客园rpc支持 项目地址 https://github.com/stulzq/dotnet-cnblogs-tool fork更新:https://github.com/minskite 阅读全文
posted @ 2021-03-10 22:24 minskiter 阅读(116) 评论(0) 推荐(0)
摘要:环境 .Net core 3.1 c# 9.0 目的 实现NPOI IROW和Object的自动转换,无需手写转换代码 原理 原始对象转换最高效,但是对每个要映射的对象都手写代码,不仅不利于阅读,同时造成大量冗余代码 通过第一次对构造转换函数并缓存,实现逼近原始手写代码的转换效率,同时又可以根据ru 阅读全文
posted @ 2021-03-03 22:03 minskiter 阅读(434) 评论(0) 推荐(1)
摘要:使用工具 opencv 4.7.1 python 3.8 辅助函数 绘制灰度直方图 def drawGrayHistogram(mat, figure: int = 1, title: str = "灰度直方图"): ''' 绘制灰度直方图 ''' plt.figure(figure) plt.hi 阅读全文
posted @ 2021-03-03 21:16 minskiter 阅读(452) 评论(0) 推荐(0)