GIMP registry already has two pretty good filters that implements wavelet decompose: "Wavelet decompose" and "Wavelet Decompose Script-Fu". Despite the fact that these filters can be used to retouch images, I made his own.
The reasons for this "reinventing the wheel" are simple:
- The source layer is decomposed by only two new layers. I tried to do retouching in a large number of layers and have to admit: the more wavelet layers retouched, the more blurred result is. I have enough of the two layers.
- Only one parameter — the radius of the blur that defines the detail of High Pass.
- Decompose flows in the same image, where the source layer is and layers which already exists in the image is not destroyed.
Description of the parameters of script:
- "Keep original" — script will work with a copy of the active layer. If this checkbox is not checked, the source layer will be removed.
- "Orginal on top" — original layer will be placed on top of the new layers and will be invisible.
- "Check >128 issue" - create check layer which shows white areas on a black background that indicates errors of "GIMP wavelet decompose(grain merge) algorithm"(see http://registry.gimp.org/node/11742#comment-1726 and http://oivanenko.blogspot.com/2011/07/blog-post_26.html in Russian for details).
- "Radius" — scale of detail of High Pass layer. Actually, gaussian blur radius.
Install script as usual: copy it to the directory where GIMP will try to find their own scripts (eg, $ HOME/.gimp-2.6/scripts) and restart GIMP, if it was launched already. Script will be in "Layer" menu.
16-Nov-2011: added "Check >128 issue" functionality
P. S. Sorry for my English