How do I remove scratches from a b/w photo
I have a couple of old b/w photos. What methods are available to remove scratches?
I have a couple of old b/w photos. What methods are available to remove scratches?
First you need to detect the scratch (see e.g. the comment of JohannesZ), afterwards I'd try an inpainting methods, see e.g. http://docs.opencv.org/modules/photo/doc/inpainting.html?highlight=inpaint#inpainting -or- http://www.ipol.im/pub/art/2013/54/ . Good luck!
You should post an image if you want an exact answer...
Try to search for filtering techniques (median, bilateral, non local means) or template matching combined with inpainting.
You can also look at: http://answers.opencv.org/question/27295/how-to-detect-scratches-in-wood/
Check out my reply at https://answers.opencv.org/question/2... re the: Phase only transform. It works for me on very old B & W photos.
Asked: 2014-01-30 16:10:53 -0600
Seen: 1,192 times
Last updated: Sep 15 '20