You are here

Wavelet denoise

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

The wavelet denoise plugin is a tool to reduce noise in each channel of an image separately. The default colour space to do denoising is YCbCr which has the advantage that chroma noise can be reduced without affecting image details. Denoising in CIELAB (L*a*b*) or RGB is available as an option. The user interface allows colour mode and preview channel selection. The denoising threshold can be set for each colour channel independently.

Features

  • User interface with preview is available.
  • Amount of denoising for each channel is selectable.
  • Possibility to denoise YCbCr or CIELAB channels instead of RGB exists.
  • Noise profiling is done.
  • Conversion from RGB to YCbCr and RGB to CIELAB is lossless.
  • Preview is capable of displaying one single channel only if desired.
  • Processing time is reasonably fast (around 20 seconds for a 10 Megapixel image) and independent from the amount of denoising applied.
  • User interface in multiple languages is available.

Details

The wavelet denoise plugin for The GIMP reduces noise in an image using the algorithm copied and altered from the UFRaw program [Udi Fuchs] (which inherited the algorithm from dcraw [Dave Coffin]). Instead of denoising all RGB channels at once, the plugin implementation allows to denoise the RGB channels in dividually and - even more useful - to denoise the YCbCr or CIELAB channels individually. The colour model conversions are nearly lossless as the internal calculations are done in floating point numbers and rounding errors are avoided. Because the algorithm implements a wavelet filtering it runs quite fast.

Example

This is part of a picture taken with the Nikon D80 DSLR camera at ISO 1600 in
RAW format. The face is lit by two candles and a colour temperature setting of
2500 K was used. The file was opened with the UFRaw plugin.

The goal is not to reduce all noise. The unpleasant part is the chroma noise
which appears only when shooting the camera in RAW mode at a high ISO speed. As
you can see the colour (chroma) noise is almost completely gone in the second picture and the luminance noise is slightly reduced. If you look closely at the face you will notice that the image details have not been altered much, the sharpness is almost the same.

Note that this is just the result of a uniform application of the filter on the unprocessed image. Masking the filter effect with a selection is possible which could improve the result even more.

Platforms

This plug-in runs on multiple platforms:

  • Linux

    The plugin can easily be compiled from sources but be aware that some Linux distributions provide packages:

    • Ubuntu: Install the package 'gimp-plugin-registry'.
    • ArchLinux: Install the package 'gimp-plugin-wavelet-denoise'.
    • Debian: Install the package 'gimp-plugin-registry'.
  • Windows

    There exists a pre compiled binary for the plugin here. (Thank you Francois C.!)

  • Mac OS X

    'Gimp on OS X' provides a complete Gimp distribution which includes the plugin. You can download it here. (Thanks, Simone!)

What's new in version 0.3

The most significant changes are the introduction of noise profiling and internationalization.

  • Noise profiling is done.
  • Internationalization is possible now, several translations exist.
  • New slider "Softness" (which replaces the old "Detail" slider, but is completely different from it) to control the thresholding mechanism.
  • Introduction of the CIELAB (L*a*b*) colour space.
  • Reorganisation of source files and new installation routine via Makefiles.

What's new in version 0.2

There are several changes that have been made to improve the plugin.

  • The denoising is done on linear data now. The sRGB gamma of approximately 2.
    2 is compensated.
  • The interface has been reorganized
  • A 'Detail' slider has been added which affects the thresholds dependency on
    noise frequency.
  • Tool-tips have been added.
  • The single channel preview can now be displayed in colour.
  • There is a 'Reset' button which resets the currently selected channel tempor
    arily (during the time the button is pressed).
  • Normal reset buttons have been added.
  • The size of the dialog is saved now after it is closed.
  • The default thresholds are all zero now.
  • The progress bar was fixed and tweaked.

Apart from that minor other changes have been made.

License

The plugin is distributed under the General Public License (GPL).

GIMP Version: 
Code License: 

Comments

Please, add a script-Fu support

just to let you know, in order to complete the build process I had to add the switch "-lm" to the LIBS variable in src/Makefile. Otherwise teh linker wouldn't resolve the exp() function on my sytem (Slackware 14.0). Rock on!

I used it and loved it! It's wonderful. I'd like to rate this plugin. Does anyone know how to do it?

Not possible yet, they are working on it.

Hey marcor,

I wanted to find out whether its possible to find the ideal threshold and softness values for the image so that we could make an auto version which sets the values of threshold and softness to a calculated value?

Hello,

I am a linux novice and am unable to install wavelet denoise plugin on the openSUSE platform.

I have downloaded the tar.gz version of the plugin, and when I get the following when I run make:

In file included from plugin.c:16:0:
plugin.h:21:26: fatal error: libgimp/gimp.h: No such file or directory
compilation terminated.
make[1]: *** [plugin.o] Error 1
make[1]: Leaving directory `/home/pushanthu/Downloads/wavelet-denoise-0.3.1/src'
make: *** [src] Error 2

***********************************************************

I could not find libgimp on my machine. All I could find were a bunch of files with the following names and no reference to libgimp folder.
./usr/lib/libgimp-2.0.so.0
./usr/lib/libgimpwidgets-2.0.so.0.600.11
./usr/lib/libgimpwidgets-2.0.so.0
./usr/lib/libgimpui-2.0.so.0
./usr/lib/libgimpbase-2.0.so.0

I also saw that the plugin is available for ubuntu, archlinux etc under gimp-plugin-registry. However, none seems to be available for openSUSE. Has anyone successfully installed "wavelet denoise" on openSUSE? If so, can you please provide some guidelines on how to do the install?

Thanks,
sdravida

Hi sdravida. Try installing a gimp-devel package if it exists. Good luck!

Marcor, your two plug-ins (Wavelet Denoise and Sharpen) are the most used by me during all my photo experience. I can't name more usefull plug-in than your two. Great, awesome job!

Thank you VERY much !

Hello

Is there a way to make the plugin install into directories other than default? I have gimp2.7 git compiled in /opt/gimp-2.7...

With respect,
Alexander Rabtchevich

Maybe not automatically...

  • If you type 'which gimptool-2.0' does it give you the gimp-2.7 path? The Makefile is using gimptool to copy the binary. If you have another version of Gimp installed, it may interfere here. Setting the PATH variable or changing the Makefile may help then.
  • Copy the binary by hand into the directory /opt/gimp-2.7/... Run 'make install' anyway to install the translation files.

I'm not sure whether the plugin runs with gimp-2.7 at all.

Have fun trying and report your results here please!

Pages

Subscribe to Comments for "Wavelet denoise"