#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

#491 in Images

Download history 54016/week @ 2024-08-07 53200/week @ 2024-08-14 52394/week @ 2024-08-21 52546/week @ 2024-08-28 56224/week @ 2024-09-04 63138/week @ 2024-09-11 59366/week @ 2024-09-18 67216/week @ 2024-09-25 66024/week @ 2024-10-02 68280/week @ 2024-10-09 72650/week @ 2024-10-16 69884/week @ 2024-10-23 75454/week @ 2024-10-30 76241/week @ 2024-11-06 74010/week @ 2024-11-13 61231/week @ 2024-11-20

299,762 downloads per month
Used in 73 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