hp
toc

J-Filters II

2015-09-13, post № 64

programming, Pygame, Python, #blur, #color depth, #filter, #image, #image manipulation, #img, #J-Filter, #mix-up

Playing around with pygame and image manipulation, I created another set of filters. My previous filters can be found here.

For demonstration purposes I used an image from my post Stacking Stones.

j-filters-ii_original.jpg

This is a simple blur filter. It takes the average of pixel attached to one another.

j-filters-ii_blur.png

This filter changes the color depth. A usual image has color values from 𝟢 to 𝟤𝟧𝟧 on red, green and blue. The filter changes those values to 𝟢 to 𝟪.

j-filters-ii_color-depth.png

Mix-up repositions the pixels from their original position. So it creates a mixed-up image.

j-filters-ii_mix-up.png
Source code: j-filters-ii_blur.py
Source code: j-filters-ii_color-depth.py
Source code: j-filters-ii_mix-up.py
Jonathan Frech's blog; built 2024/12/19 23:13:08 CET