Automatic dust cleaning without losing details

  • 1
  • Idea
  • Updated 6 years ago
I want to suggest an automatic dust removing feature for your programs.

The idea is simple:
1) scan the same photo twice with rotating it (in scanner) by 180° second time, or simply with moving it a little;
2) align image contours of those two scans;
3) combine scans using darker pixels of two images.

This will eliminate white spots on scanned images made by dust.
The result will look like this:
dust cleaning

As you can see, almost all dust has vanished, without losing details.

The images should be aligned in a same way as Photomerge does with panoramas, but please note that images will not match in all areas, because of roughness of paper or irregularity of scanner's movements.
Therefore, contours should be aligned in several areas of image independently.

Also please note that I have suggested this feature to other companies as well, for free of course.
And thank you for quality programs.
Photo of Valentine Solodin

Valentine Solodin

  • 2 Posts
  • 0 Reply Likes
  • thankful

Posted 6 years ago

  • 1
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 767 Reply Likes
Sometimes dust is darker, not lighter.
So your suggestion would only work on parts of the image that are dark.
And no, it couldn't automatically detect dark vs. light parts without causing a loss of detail (plus, you lost some detail in your example).
Photo of Valentine Solodin

Valentine Solodin

  • 2 Posts
  • 0 Reply Likes
Sure, dust can be black and it also can be colorful, but still, most of the time the dust makes white spots - due to being lightened by the lamp.

And some details were lost here because I didn't align images precisely.
If I would, theoretically contours will match and only dust will be removed.

By the way, it would also allow to clean glares from crumpled photos, like this:

Glares removed

Of course, this method of scanning will not remove the spots which were on the photo itself, but it will save a lot of time while cleaning and retouching.