文章目录 1. 邻域概念 1.1 6-18-26邻域(空间) 1.2 6-18-26-32-56-80-92-116-124(空间) 1.3 4-8(平面上的邻域) 1.4 python代码表示 2. 连通性/连通度 2.1 点连通度 2.2 边连通度 2.3 面连通度 2.4 书本知识 1. 邻域概念 1.1 6-18-26邻域(空间) 参考: 6-neighborhoods, 18-neighborhoods and 26-neighborhoods in a cubic lattice. 1.2 6-18-26-32-56-80-92-116-124(空间) 参考: Pixel connectivity