Efficient identification of adjacent elements in numpy matrix - YouTube

Efficient identification of adjacent elements in numpy matrix - YouTube

More to explore