Introduction - If you have any usage issues, please Google them yourself
(Based on MFC) read a defect image, set the threshold for different images to obtain the Mask, repair image through of OpenCV cvInpaint function, short time to repair, the repair is good. (Including test image)