san*_*ity 2 textures image-manipulation synthesis computer-vision
I recall seeing a paper a while back for an algorithm that could automatically and seamlessly "graft" texture from parts of an image onto another part of an image.
The approach was something along the lines of the following:
You'd build up a databases of small squares of pixels (perhaps 8X8) from the parts of the picture that are present.
然后,选择一个空像素(纹理嫁接的“目标”)进行填充,然后在数据库中查找与周围像素最匹配的正方形之一。然后,您将根据找到的正方形中相应像素的颜色为空像素着色。然后,选择另一个空白像素并重复进行,直到没有剩余的空白像素为止。
当然,这只是一个模糊的描述,因为我找不到对该算法的任何引用来刷新我对细节的记忆!有人可以帮忙吗?