A simple and effective image inpainting method is proposed in this paper, which is proved to be suitable for different kinds of target regions with shapes from little scraps to large unseemly objects in a wide range of images. It is an important improvement upon the traditional image inpainting techniques. By introducing a new bijeetive-mapping term into the matching cost function, the artificial repetition problem in the final inpainting image is practically solved. In addition, by adopting an inpainting error map, not only the target pixels are refined gradually during the inpainting process but also the overlapped target patches are combined more seamlessly than previous method. Finally, the inpainting time is dramatically decreased by using a new acceleration method in the matching process.
Environment matting and compositing is a technique to extract a foreground object, including color, opacity, reflec- tive and refractive properties, from a real-world scene, and synthesize new images by placing it into new environments. The description of the captured object is named environment matte. Recent matting and compositing techniques can produce quite realistic images for objects with complex optical properties. This paper presents an approximate method to transform the matte by simulating variation of the foreground object’s refractive index. Our algorithms can deal with achromatous-and-transparent ob- jects and the experimental results are visually acceptable. Our idea and method can be applied to produce some special video effects, which could be very useful in film making, compared with the extreme difficulty of physically changing an object’s refractive index.