Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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!