摘要:
双指针应用 常见的双指针算法应用有: 去除链表倒数第N个数 Remove Nth Node From End of List 寻找链表中的环 Linked List Cycle Linked List Cycle II Find the Duplicate Number 双指针寻找环: 假设环的长度 阅读全文
摘要:
中值滤波器(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+ 阅读全文