Patent Document ID: 10037597
Application ID: 14982775
Patent Status: 1

Claim One:
1. An image inpainting system, comprising: a camera module for acquiring a plurality of images; and an inpainting module coupled to the camera module for receiving the plurality of images from the camera module and having the plurality of images perform a noise detection where the plurality of images are segmented into noise-contained pixel images and non-noise-contained pixel images, confirming the positions of every noise pixel of the noise pixel images, finding out the offset map and geometric relationship of the pixel corresponding relationship without being subjected to the affection of noise and having the pixel corresponding relationship with minimum parallax, making use of the offset map or the geometric relationship to extract corresponding pixel that is not subjected to the affection of noise, performing inpainting and substituting the noise pixel in the plurality of images to generate at least a synthetic image without containing noise; wherein the image inpainting module is configured to make use of the offset map and inpainting image by: selecting an inpainting image pair, selecting the image having no noise and having minimum parallax to perform pairing with the noise-contained image by choosing the already-known camera's relative relationship, and this pairing is an inpainting image pair; randomly generating an offset map, generating an initial random offset map of an inpainting image pair by the use of an Independent Uniform Sampling method or any random method capable of performing randomly sampling pixel point in the reference image to generate an initial random offset map of the inpainting image pair; judging the n times iteration, judging if the inpainting images is performed first-time iteration, if not, proceed to the next Step, with n as a constant, the number of iteration is progressed until n times; judging if the inpainting image pair from the next Step perform n times of iteration, if yes, proceed to Step of inpainting the noise-contained images by a new offset map; judging if there is no not-updated patch in the inpainting image pair in the process of inpainting the current iteration, If yes, then the inpainting image pair from the previous Step has already performed the current iteration, and updating the patch and proceed back to the previous Step, if the inpainting image pair from the previous Step has no current iteration and no updating patch is performed, then proceed to the next Step; in light of the current patch, selecting the minimum value from the offset amount of the adjacent patch and the current patch to overwrite the offset amount of the current patch; in light of the current patch and in a preset radius, randomly searching for a better offset amount until the radius attenuate to 1 pixel, and proceed back to the step of judging if there is no not-updated patch in the inpainting image pair in the process of inpainting the current iteration is performed in the inpainting image pair; and inpainting the noise-contained images by a new offset map.