You are here

Wavelet sharpen

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

The wavelet sharpen plugin enhances apparent sharpness of an image by increasing contrast in high frequency space. The amount of unsharpness of the original image can be taken into account by adjusting the sharpening radius. As an option you can choose to sharpen the luminance (YCbCr) channel of the image only.

Features

  • Graphical user interface
  • Preview image
  • Option to sharpen luminance channel only
  • Selectable sharpen radius
  • Lossless image conversions

Description

The wavelet decomposition of an image results in multiple images with different frequency content. When amplifying the high frequency parts the recomposed image appears to be sharper than the original one. That way the frequency which should be amplified most can also be selected and a given unsharpness in the original image can be taken into account.

This GIMP plugin allows to perform this wavelet decomposition and allows the user to adjust the amount of sharpening and the radius of unsharpness in the original image. As an option you can sharpen the luminance channel of the YCbCr converted image only which reduces colour artifacts to appear (especially in noisy images). The sharpness of the colour contrast is not critical to the human eye.

Example

This picture was taken with the Nikon D80 and the Nikkor AF 50mm 1:1.8 lens fully open. Because the image is slightly out of focus and due to the wide apperture and aliasing the image is not quite sharp.


License

The plugin is distributed under the General Public License (GPL) version 2 and newer.

AttachmentSize
wavelet-sharpen-0.1.2.tar.gz17.72 KB
GIMP Version: 
Code License: 

Comments

ends up with error
/bin/ld: wavelet.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'
/bin/ld: note: 'exp@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [wavelet-sharpen] Error 1
make[1]: Leaving directory `/home/roman/Software/wavelet-sharpen-0.1.2/src'
make: *** [src] Error 2

See few replies below. You need to edit the srcfile/Makefile

I absolutely cannot install this.
I would be very grateful if somebody could tell me, step by step, what to do?

Once you download the file onto your computer, in terminal, cd to the wavelet-sharpen-0.1.2 folder, type "sudo make", it will run the makefile and return to prompt, then type "sudo make install". It will compile and leave a wavelet sharpen plugin in your src folder. Check the permissions on the file to make sure it's executable then move it to your /home/user/.gimp-2.6/plug-ins folder. You might need to access your drive with administrative rights in order to move the plug-in, which can be accomplished using "gksu nautilus" in terminal. (Just one method).

must install

libgimp2.0-dev

package first.

Also note that
sudo make userinstall
will install for all users. Use this instead of
sudo make install

Well, after initial flaws with built I checked requisities and built script, however it didn't appear in the menu. I further looked where wavelet-sharpen is and found out its been installed under /usr/lib/gimp/2.0/plug-ins/ instead of /usr/lib64/... where gimp was looking for plugins for fedora16 x86_64 installation. I had to add correct plugin path and everything is working now. Great sharpening plugin. I'd used NL filter before I got this....

Attempting to build in Fedora 13, I got the following error:

/usr/bin/ld: wavelet.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'
/usr/bin/ld: note: 'exp@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

To build in Fedora 13, you need to edit the makefile in the src folder to explicitly link libm.so.6. Change line 16 to read:
(CC) $(CFLAGS) -o $@ $^ -lm $(LIBS)

The explanation can be found here:
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange

Works fine. Are there any references to the theory behind the code?

Same solution worked for fedora17 x86_64 distro plus needed to add plugin directory path /usr/lib/gimp/2.0/plug-ins for this plugin to be loaded, since default path for gimp plugins is /usr/lib64/gimp/2.0/plug-ins

Where do I add this directory path to? SRC/Makefile?
I worked a way around it, by getting into Nautilis and copying it to the correct folder. But I would like a complete answer/solution. This is so myself and others that are in the same predicament can learn from it, knowing that we will have a complete answer. Unlike the normal situation that other users expect people to know Linux inside out.

TIA.

When you use gimp.app from gimp.lisanet.de wavelet sharpen is already part of the package (thank you lisanet! :)
you find in under filter > enhance > wavelet sharpen

Pages

Subscribe to Comments for "Wavelet sharpen"