#blur #convolution #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

#553 in Images

Download history 1129/week @ 2023-12-23 2344/week @ 2023-12-30 3264/week @ 2024-01-06 2659/week @ 2024-01-13 3913/week @ 2024-01-20 2571/week @ 2024-01-27 2381/week @ 2024-02-03 3128/week @ 2024-02-10 3082/week @ 2024-02-17 2704/week @ 2024-02-24 2828/week @ 2024-03-02 10219/week @ 2024-03-09 25724/week @ 2024-03-16 39162/week @ 2024-03-23 34939/week @ 2024-03-30 29575/week @ 2024-04-06

131,537 downloads per month
Used in 21 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

~62KB