Sort zig-zag filter

13 July 2017 ยท 1 minute read

Today I implemented some strange filter: Sort zig-zag filter.

This filter works on gray scala images:

one

I was using these colors: #1c, #38, #54, #70, #8c, #a8, #c4, #e0, #fc.

The filter is creating array of all pixels:

three

And then it’s sorting this array:

four

On the last step filter is using zig-zag scheme to create image:

That was theory and now we will try it with the real image:

Original Gray Color
comments powered by Disqus
github