digiKam Film Grain tool re-written…
Since a very long time, my TODO list included a complete review of digiKam Film Grain tool. Based on an old Gimp Guru tutorial, this tool lacks a lots of features as the capability to manage colors and luminosity noise, graininess size, and photo-electronic noise rendering.
I have always been impressionned by PowerRetouche photoshop plugin. This company make great tools for photographers, but of course, all are closed source and non-free. PowerRetouche collection has a Film Grain simulator has you can see in screen-shot below.
Few week ago, following this entry in KDE bugzilla, Julien Narboux has started to brain about Image Editor Film Grain tool. The first stage has been to remove old code and implement a new one working on HSL color space to apply noise on luminosity channel. He has added the capability to adjust graininess on Shadows, or MidTone, or highlight, as PowerRetouche tool.
But i have still not happy with this implementation, especially about to use HSL color space. If we want to simulate CCD sensor noise, playing with luminosity channel been not enough. So, i started to implement YCbCr color space conversion in digiKam core pixels access class, and adjust noise generator to be able to play with Chrominance channels. The result is a tool which can reproduce all noise provided by a digital camera, as you can see below.
For each Channel, you can apply and mix noise as you want. You can also change the graininess size, as with PowerRetouche, and use two different noise generators : one based on Gaussian distribution, and another one on Poisson. This last one is more realistic to render film graininess, but take more time to compute.
If you want to process Film Grain tool in batch, no problem, digiKam Batch Queue Manager is there for you. You will save a lot of time in your work-flow...
Finally, this new version of Film Grain tool will be available for digiKam 1.2.0, which will be released in few days. I hope that you will enjoy this tool… Note the huge difference between digiKam 0.9 and 1.x : it doesn’t look like a professional photo software now ?