#convolution #blur #iterate #graphics #convolve

loop9

Tiny helper function to visit every pixel in the image together with its neighboring pixels. Duplicates pixels on the edges.

5 releases

0.1.5 Jan 15, 2024
0.1.4 Sep 22, 2023
0.1.3 Aug 29, 2020
0.1.2 Aug 29, 2020
0.1.1 Oct 20, 2017

#463 in Images

Download history 53682/week @ 2024-08-20 51913/week @ 2024-08-27 54702/week @ 2024-09-03 62631/week @ 2024-09-10 58386/week @ 2024-09-17 68206/week @ 2024-09-24 65152/week @ 2024-10-01 67541/week @ 2024-10-08 72707/week @ 2024-10-15 69596/week @ 2024-10-22 75084/week @ 2024-10-29 77023/week @ 2024-11-05 73890/week @ 2024-11-12 72938/week @ 2024-11-19 80380/week @ 2024-11-26 66824/week @ 2024-12-03

308,583 downloads per month
Used in 82 crates (3 directly)

MIT license

8KB
155 lines

9 neighboring pixels iterator

Tiny helper function to visit every pixel in the image together with its neighboring pixels. Duplicates pixels on the edges.

Ideal for implementing small image convolutions like blur, sharpening or edge detection.

Dependencies

~66KB