Easy and fast dust removal in Digikam+Gimp

It’s a long time I was searching for an easy and fast way to remove dust spot from my photos.
Unfortunately it seem that until now no tools like “dust removal mask” or something similar are present in the open-source/linux panorama.
But yesterday I’ve found a post explaining how to use a Gimp plugin to easy clean photos from dust spot.
It was not exactly what I was searching for but it worked really well.
The only thing to to it was to find a way to automatize the task.

After some thinking I’ve found this way:

  1. In Digikam, right-click on the photo and select “Open in Gimp”
  2. In Gimp:
  3. Add a new transparent layer (reduce opacity to see the photo’s layer)
  4. Paint on the spots with the brush (this will be our “mask”)
  5. In the layer window select the new layer and click on “Alpha to selection”
  6. In the layer window selectthe photo’s layer
  7. Ctrl+x to remove dust spot
  8. Selection->Grow selection
  9. Filters->Map->Resynthetize
  10. Save with postfix “_v1” (non destructive editing supported in Digikam)
  11. Enjoy you photo:)

This is the result:

Image before dust removal
Image after dust removal
comments powered by Disqus