Gimp: Difference between revisions
Jump to navigation
Jump to search
Line 35: | Line 35: | ||
== How-To == |
== How-To == |
||
=== Remove Moiré effect on a photo scan === |
=== Remove Moiré effect on a photo scan === |
||
;Method 1 - blur and sharpen |
;Method 1 - blur and sharpen |
||
* Reference: [http://www.tutorialgeek.net/2011/06/old-photo-restoration-using-gimp-how-to.html] |
|||
* Apply '''Filter → Blur → Gaussian Blur''' effect. |
* Apply '''Filter → Blur → Gaussian Blur''' effect. |
||
:* Pick method '''RLE''', and adapt radius until the moiré disappear ('''4''' or '''5''' px, possibly more). |
:* Pick method '''RLE''', and adapt radius until the moiré disappear ('''4''' or '''5''' px, possibly more). |
||
Line 41: | Line 43: | ||
:* Leave options as is. |
:* Leave options as is. |
||
* Scale down the photo (like a factor 2). |
* Scale down the photo (like a factor 2). |
||
; Descreen plugin |
|||
* Reference: [http://smallbusiness.chron.com/remove-moire-patterns-descreening-gimp-36017.html] [http://www.zoyinc.com/?p=1529] |
|||
* But this produces some strange and ugly artifacts (like jpeg parasites). |
Revision as of 18:42, 6 December 2015
Basic actions
- Create squares, ellipses, circles
- This is done by stroking paths. Eg. to create a rectangle:
- If needed, create a new layer.
- Create a rectangle using the Rectangle Select Tool.
- Transform selection into path with Select → To Path.
- Stroke the path with Edit → Stroke Path.
- Instead of stroking the path, the selection can be stroked as well with Edit → Stroke Selection. 3rdd step above can be skipped in that case.
- The GIMP keeps track of all used path, so converting to path is handy to reuse previous paths. Check the dialog box Layers, Channels, Paths, Undos.
- This is done by stroking paths. Eg. to create a rectangle:
Plugins and scripts
Fourier plugin
- Download the fourier plugin.
- Install a few packages:
sudo apt-get install libfftw3-dev libgimp2.0-dev
- Build and install the plugin:
make make install
Descreen scriptfu
- Download the Descreen script.
- Copy the script into ~/.gimp-2.8/scripts.
- Restart gimp or select Scriptfu → refresh scripts. The script appears in Enhance → Descreen.
resynthesizer
Install the plugin with:
sudo apt-get install gimp-plugin-registry
Smart Separate Sharpen
- Download [Smart Separate Sharpen http://registry.gimp.org/node/24876]
- Copy the script into ~/.gimp-2.8/scripts.
How-To
Remove Moiré effect on a photo scan
- Method 1 - blur and sharpen
- Reference: [1]
- Apply Filter → Blur → Gaussian Blur effect.
- Pick method RLE, and adapt radius until the moiré disappear (4 or 5 px, possibly more).
- Apply smart separate sharpen (redux) effect
- Leave options as is.
- Scale down the photo (like a factor 2).
- Descreen plugin