| The inscription is one of the main forms of ancient historical events and an important carrier of ancient Chinese civilization.Given its precious and technical challenges of the and artificial restoration,in addition to a small number significant concavity of Yin and Yang inscription has manual repaired effectively,most of the flat inscription due to its particularity,there is no effective measures for the protection of repair.Therefore,it is urgent to explore new repair methods.This paper takes Houma Convenant Tablets image acquired from Shanxi Museum as research object,according to the degree of degradation of classification and research,the main work is as follows:(1)For not making full use of the color information of the image resulting in poor repair effect of virtual ancient inscriptions,a color image enhancement algorithm based on HSV space is proposed: in HSV space,using local brightness adjustment and correlation coefficient respectively to enhance brightness and saturation component,then through color synthesis acquire visual effects have promoted inscription images,which laid a foundation for subsequent text and color to repair.(2)According to the complete stroke,but has degradation slightly of the inscription,the paper proposes a virtual restoration method based on skeleton extraction and color migration.In the comparison of three kinds of commonly thinning algorithm,improved ZS refinement algorithm,extract the complete and good continuous inscription text single pixel skeleton,then morphological operation was used to remove burrs and dilate the skeleton uniformly to get the missing stroke.Finally,using the algorithms of image color migration recovery inscription image color,mean and standard were calculated for two images in color space of three channels,through a set of linear transformation makes the target image and the reference image with the same mean and standard deviation,achieves the two color distribution consistent.(3)A virtual restoration method based on the stochastic resonance(supra-threshold stochastic resonance,SSR)and bilateral filtering Canny operator is proposed for the severely degraded inscriptions on the surface.Based on the stochastic resonance algorithm restore brightness image with noise,followed by the analysis and comparison of 2 kinds of commonly used edge detection operator,proposed a improve bilateral filtering method based on Canny operator,and extract the text contour information completed,then combined with a small amount of human-computer interaction on the extraction of contour repair,get strong connectivity and complete writing outline,finally carries on the text color fill.(4)Design and implementation of the Houma Convenant Tablets virtual repair system.Use Matlab to design and develop the whole repair system,realize the virtual repair function of ancient inscriptions text and color. |