PIL has an ImageFilter module that has a useful selection of filters for enhancing certain characteristics of images such as sharpening features that were blurred. Ten of these filters are demonstrated in the following recipe.
Use the images
russian_doll.png from the folder
/constr/pics1. Create a folder
/constr/picsx for the resulting filtered images. Using a separate folder for the results helps prevent the folder
pics1 from becoming overcrowded with a heap of redundant images and work-in-progress. After each execution, we can delete the contents of
picsx without the fear of losing source images for the recipes.
Open the folder
/constr/picsx on your screen before you ...