为进一步提高纹理合成误差图像计算中误差度量方法的选取的准确性,提出了误差度量方法的选取与图像灰度标准差之间内在依赖性关系.纹理合成最优块选取过程中需要计算源图像与待合成块之间的误差图像,由于边界匹配的差异选取不同误差度量,并且合成时间有明显差别.实验通过预先计算源图像的灰度标准差,设定不同的误差度量分别进行实验,实验结果表明在不同灰度标准差区间中选取相应的误差度量方法合成时间明显缩短,合成效率显著提高.
In order to further improve the accuracy in selecting the error metric measure during computing the error image of texture synthesis, we put forwards the inherent dependency relationship between error metric measure selected and gray - scale standard deviation. The error image needs to be computed between the source images and patch to be synthesized in the process of selecting the best patch, due to the differences in boundary match to selecting a different error metric, and there are significant differences in the composite time. By pre - computing the gray - scale standard deviation of the source image and different error metrics experiments respectively, the experimental works in different gray - scale standard deviation interval shorten the synthesis time obviously, and improve the synthesis efficiency greatly.