Smart Sharpening plug-in for GIMP
This plug-in implements a smart sharpening filter for the edges and a noise reduction filter for the rest of the space. It implements the following operations step by step:
- Optionally changes the saturation of the image
- Decomposes the image into LAB channels
- Uses the L channel to create a sharpening mask using the following operations:
- Detects edges
- Applies the Gaussian blur filter to detected edges
- Uses blurred edges as a mask
- Selects an area in the L channel according to the resulting mask
- Reduces noise in the space outside the selection
- Applies sharpening to the selected space
- Composes the image from LAB channels
This repository contains Makefile
for building the plug-in. It contains two options:
gimptool
builds the plugin using the gimptool utility. This method can also be used for macOS with GIMP installed from a package manager such asmacports
orhomebrew
macos
builds the plugin for macOS when GIMP is installed from the*.dmg
package. But this method still requires thegimp2-devel
package installed from a package manager such asmacports
orhomebrew
You can support this project by donating to the following Ethereum wallet:
ethereum:0x0468DcdE81b69b87ea0A546faA6c5aae2F4FE30b