| 1 |
# 9 neighboring pixels iterator |
| 2 |
|
| 3 |
Tiny helper function to visit every pixel in the image together with its neighboring pixels. Duplicates pixels on the edges. |
| 4 |
|
| 5 |
Ideal for implementing small image convolutions like blur, sharpening or edge detection. |