#blur #iterate #convolve

loop9

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

3 releases

0.1.3 Aug 29, 2020
0.1.2 Aug 29, 2020
0.1.1 Oct 20, 2017

#1 in #iterate

Download history 313/week @ 2021-04-04 339/week @ 2021-04-11 272/week @ 2021-04-18 471/week @ 2021-04-25 438/week @ 2021-05-02 186/week @ 2021-05-09 387/week @ 2021-05-16 297/week @ 2021-05-23 352/week @ 2021-05-30 476/week @ 2021-06-06 681/week @ 2021-06-13 190/week @ 2021-06-20 260/week @ 2021-06-27 558/week @ 2021-07-04 261/week @ 2021-07-11 239/week @ 2021-07-18

1,969 downloads per month
Used in 4 crates (2 directly)

MIT license

6KB
122 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