- Introduction
- Documentation
- Examples
- News
- Author
The Refocus-it GIMP plug-in, released under GNU General Public License (GPL), can be used to refocus images acquired by a defocused camera, blurred by gaussian or motion blur or any combination of these.
There are a few nice features of this plug-in, especially adaptive / static area smoothing used to remove the so called "ringing" effect introduced by edges in the image and effects introduced by noise. Mirror and periodical boundary conditions are available. Preview helps you select the best parameters.
There are a few NOT nice features of this plug-in as well, namely its memory and CPU requirements.
The algorithm is based on finding the minimum of the error function using Hopfield neural network.
No doc is available yet.
This is a snapshot of text document acquired by a defocused camera. The blur radius is about 6.5 (determined by a try / error method).
The first restored image shows result of restoration with following parameters:
- Radius: 6.50
- Gauss: 0.00
- Motion size: 0.00
- Motion angle: 0.00
- Noise: 0.00
- Iterations: 200
- Boundary: mirror boundary
Notice the amplified noise in the restored image.
The second image was restored using these parameters:
- Radius: 6.50
- Gauss: 0.00
- Motion size: 0.00
- Motion angle: 0.00
- Noise: 1000.00
- Iterations: 200
- Boundary: mirror boundary
- Smoothness: 0.0
Notice that the amplified noise has been partialy removed.
The last snapshot shows result of restoration with parameters:
- Radius: 6.50
- Gauss: 0.00
- Motion size: 0.00
- Motion angle: 0.00
- Noise: 1000.00
- Iterations: 200
- Boundary: mirror boundary
- Smoothness: 100.0
- Area size: 3
- Adaptive smoothing: yes
Notice the benefit of adaptive area smoothing. The noise has almost disapeared from the smooth areas.
- 2.1 (2024oct18) Imported refocus-it from sourceforge to github. Replaced intltool with gettext, upgraded build to autoconf 2.69, removed xmalloc and used standard malloc instead. Removed several extras such as inline and float options in anticipation of building for gimp3-plugin. This still builds for gimp2. If you need cmd-line tools, please revert to using version 2.0.0 which still contains original cmd-line build. Removed micro-version value - this leaves micro open for distros if they need/want it.
- 2.0.0 (2004jul20) refocus-it plugin for GIMP-2.0 released. This version is internationalized and includes a command-line version of refocus-it suitable for processing PNM files in batch mode. The command-line version is also easily portable to non-GNU platforms.
- 1.0.2 (2003jun19) First public release.
This plug-in was written by Lukas Kunc. Please mail your comments, questions and problems to Lukas.Kunc@seznam.cz
Note: The Original Web page content, pictures, and files were located here https://refocus-it.sourceforge.net/ for version 2.0.0