AI intelligent cultural relic restoration system and method based on image feature point recognition

Through the AI ​​intelligent cultural relics restoration system based on image feature point recognition, the sliding recognition frame and the recognition unit are used to identify the defective features in the murals and perform integral operations, which solves the problem of low efficiency of mural restoration in the existing technology and achieves automated repair and high-efficiency accuracy.

CN118629043APending Publication Date: 2024-09-10XIAN JIAOTONG UNIV CITY COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410927725.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

There are differences between simulation and reality in mural restoration using existing technology, which cannot be effectively applied to real-life restoration work and relies mainly on manual labor, resulting in low efficiency.

Method used

An AI intelligent cultural relic restoration system based on image feature point recognition is used. By combining the sliding recognition frame and the recognition unit, script components and motion control logic are used to identify defective features in the murals, and integral calculations of shape, line and color features are performed to automatically identify and Divide defective areas for automatic repair.

Benefits of technology

It can identify subtle features that are invisible to the human eye, accurately identify defective areas through feature point integration operations, improve the accuracy and efficiency of repair, reduce manual review time, and realize automated repair.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629043A
    Figure CN118629043A
Patent Text Reader

Abstract

The invention relates to the technical field of cultural relic restoration, and discloses an AI intelligent cultural relic restoration system and method based on image feature point recognition, and the system comprises the steps: setting a plurality of recognition units; a carrier template is arranged, and a plurality of sliding recognition frames are arranged on the carrier template; configuring an identification library, setting identification features of the configuration identification library by using a script component, defining a constraint condition of each identification feature, and writing the constraint conditions into a motion control logic of the sliding identification frame; the identification control part is used for controlling the sliding identification frame to carry out sliding identification on an identification area matched with the carrier template through the motion control logic so as to obtain an identification feature area and obtain position information of the identification feature area; and the AI recognition model is used for recognizing defect features contained in the recognition feature region according to the recognition feature region and the position information corresponding to the recognition feature region and a corresponding loading recognition unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cultural relics restoration, and in particular to an AI intelligent cultural relics restoration system and method based on image feature point recognition. Background Art

[0002] Most of the existing murals in my country have been damaged to varying degrees, either due to corrosion over time, oxidation and discoloration due to improper protection, or broken due to human damage. However, murals are the treasures of Chinese culture. Therefore, my country has invested a lot of manpower and material resources in the restoration of murals for a long time, and the main means of restoration is through human repair. With the advancement of information technology, there are also some simulated restorations through 3D scanning, but the simulated restoration is still very different from the actual one and cannot be applied in actual restoration work. Summary of the invention

[0003] In view of this, the main purpose of the present invention is to provide an AI intelligent cultural relic restoration system and method based on image feature point recognition.

[0004] The technical solution adopted by the present invention is as follows: AI intelligent cultural relic restoration system based on image feature point recognition, including: Setting a number of identification units; Setting a carrier template, on which a plurality of sliding identification frames are set; using the association definition of the script component to associate each sliding identification frame with an identification unit, and limiting the identification area of ​​each sliding identification frame on the carrier template, and setting the position data within each identification area; A configuration recognition library is used to set the recognition features of the configuration recognition library using the script component, and the constraint conditions of each recognition feature are defined, and the constraint conditions are written into the motion control logic of the sliding recognition frame; A recognition control unit, connected to the configuration recognition library and the carrier template, for controlling the sliding recognition frame to perform sliding recognition on the recognition area matched by the carrier template through the motion control logic to obtain the recognition feature area, and obtain the position information of the recognition feature area; The AI ​​recognition model is configured to load the recognition unit to recognize the defect features contained in the recognition feature area according to the recognition feature area and the position information corresponding to the recognition feature area, and to determine whether there is a feature deviation state between the defect features contained in at least two adjacent recognition feature areas according to the position information. If so, the envelope area of ​​the defect features contained in each recognition feature area is divided, and the feature point integral operation is performed on the recognition features existing in each envelope area, and the connection trend of the envelope areas corresponding to the two adjacent recognition feature areas is determined by the integral operation; or, the cutoff position of the envelope areas corresponding to the two adjacent recognition feature areas is determined by the integral operation; and the cultural relic mural is repaired by the connection trend or the cutoff position.

[0005] Furthermore, the carrier template is used to load the photographed mural image, and adjust the specifications of the mural image according to the size of the carrier template, so that the mural image is completely attached to the carrier template.

[0006] Furthermore, the sliding recognition frame is correspondingly associated with the recognition unit through the script component. When the sliding recognition frame performs a sliding scan on the mural image in the recognition area of ​​the carrier template, the sliding recognition frame synchronizes the scanned image to the recognition unit for identifying defect features; and when the recognition unit identifies the defect features, the sliding recognition frame correspondingly synchronizes the location information of the defect features to the recognition unit.

[0007] Furthermore, the identification feature includes: one or a combination of shape feature, color feature, line feature and line curvature feature.

[0008] Furthermore, the defect characteristics include: damage characteristics, smear characteristics and residual characteristics.

[0009] Furthermore, the constraints defining each recognition feature include: According to the historical mural library, the categories of shape features are set, and the categories of shape elements contained in the same shape feature and the corresponding relationship between the shape elements are set; Set the cutoff conditions for the color features, line features, and line curvature features contained in the shape elements.

[0010] Furthermore, the motion control logic includes: A boundary control value for limiting the movement of the sliding recognition frame formed by the position data of the recognition area; The motion of the sliding recognition frame is restricted by the constraint conditions and after the sliding recognition frame recognizes the recognition feature, the position of the recognition feature is synchronously recognized, framed and calibrated.

[0011] The present invention also provides an AI intelligent cultural relic restoration method based on image feature point recognition, comprising the following steps: Controlling the sliding recognition frame through motion control logic to perform sliding recognition on the recognition area matched by the carrier template to obtain the recognition feature area, and obtain the position information of the recognition feature area; According to the identification feature area and the position information corresponding to the identification feature area, the corresponding loading identification unit identifies the defect features contained in the identification feature area, and determines whether there is a feature deviation state between the defect features contained in at least two adjacent identification feature areas according to the position information; If it exists, divide the envelope area of ​​the defect features contained in each identification feature area, and perform feature point integration operation on the identification features existing in each envelope area; Determine the connection trend of the envelope area corresponding to two adjacent identification feature areas through integral operation; or determine the cutoff position of the envelope area corresponding to two adjacent identification feature areas through integral operation; and repair the cultural relic mural according to the connection trend or cutoff position.

[0012] Furthermore, a plurality of sliding identification frames are provided on the carrier template; each sliding identification frame is correspondingly associated with an identification unit by using the association definition of the script component, and the identification area of ​​each sliding identification frame on the carrier template is limited, and the position data in each identification area is set; The script component is used to set the recognition features of the recognition library, and the constraint conditions of each recognition feature are defined, and the constraint conditions are written into the motion control logic of the sliding recognition frame.

[0013] This application has the following beneficial effects: The present application identifies the shape, line and color of the envelope area of ​​the defect position, and performs feature point integration operations on the identified shapes, lines and colors. Taking color as an example, when a certain position or area is identified to have an integral statistic of the same color, the color of the area or the position is considered to be the color of the integral statistics. At this time, the area or the position can be marked, and manual repair can be performed after manual review.

[0014] Image recognition can identify subtle features that are invisible to the human eye. By performing feature point integration operations on these subtle features, we can achieve integral statistics of the subtle features. When the integral statistics reach a certain statistical value, the subtle features are considered to be features of the entire area. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The following drawings are only used to illustrate and explain the present invention, and are not used to limit the scope of the present invention, wherein: Figure 1 This is a schematic diagram of the framework of the present invention; Figure 2 is a flow chart of the method in the present invention; Figure 3 This is an illustration of the repair of an example of the present invention. DETAILED DESCRIPTION

[0016] In order to make the purpose, technical solution, design method and advantages of the present invention clearer, the present invention is further described in detail by specific embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0017] Example 1, reference Figure 1 , the present application provides an AI intelligent cultural relic restoration system based on image feature point recognition, comprising: setting a number of recognition units; Setting a carrier template, on which a plurality of sliding identification frames are set; using the association definition of the script component to associate each sliding identification frame with an identification unit, and limiting the identification area of ​​each sliding identification frame on the carrier template, and setting the position data within each identification area; A configuration recognition library is used to set the recognition features of the configuration recognition library using the script component, and the constraint conditions of each recognition feature are defined, and the constraint conditions are written into the motion control logic of the sliding recognition frame; A recognition control unit, connected to the configuration recognition library and the carrier template, for controlling the sliding recognition frame to perform sliding recognition on the recognition area matched by the carrier template through the motion control logic to obtain the recognition feature area, and obtain the position information of the recognition feature area; The AI ​​recognition model is configured to load the recognition unit to recognize the defect features contained in the recognition feature area according to the recognition feature area and the position information corresponding to the recognition feature area, and to determine whether there is a feature deviation state between the defect features contained in at least two adjacent recognition feature areas according to the position information. If so, the envelope area of ​​the defect features contained in each recognition feature area is divided, and the feature point integral operation is performed on the recognition features existing in each envelope area, and the connection trend of the envelope areas corresponding to the two adjacent recognition feature areas is determined by the integral operation; or, the cutoff position of the envelope areas corresponding to the two adjacent recognition feature areas is determined by the integral operation; and the cultural relic mural is repaired by the connection trend or the cutoff position.

[0018] In some embodiments, the carrier template is used to load the captured mural image, and adjust the size of the mural image according to the size of the carrier template, so that the mural image is completely attached to the carrier template. The carrier template can be a template with a set size, so that the captured mural image can be uniformly adjusted in size, so that irregular mural images can be unified in size. Of course, in order to ensure the quality of mural image recognition, the pixels of the adjusted mural image must meet the set threshold.

[0019] In the above, the carrier template and the recognition unit in the present application are both implemented in a programming manner, wherein the recognition unit adopts a recognition algorithm in the traditional sense. Since the present application adopts a programming manner, the sliding recognition frame is correspondingly associated with the recognition unit through the script component, and when the sliding recognition frame performs a sliding scan on the mural image in the recognition area of ​​the carrier template, the sliding recognition frame synchronizes the scanned image to the recognition unit for defect feature recognition; and when the recognition unit recognizes the defect feature, the sliding recognition frame synchronizes the position information of the defect feature to the recognition unit accordingly; in order to further control the sliding scanning of the mural image by the sliding recognition frame in the recognition area of ​​the carrier template, the present application also defines the motion control logic of the sliding recognition frame, wherein the boundary control value for limiting the motion of the sliding recognition frame formed by the position data of the recognition area, that is, the sliding recognition frame is limited to the recognition area for sliding scanning, wherein the boundary control value is the boundary of the recognition area, and the boundary can be limited by the position data.

[0020] In the above, the identification features include: one or more combinations of shape features, color features, line features and line curvature features. In this embodiment, since most of the murals are composed of portraits of people, landscapes and animals, they basically contain various shape features (such as headdress features and clothing features of people. The headdress features of portraits of different tasks are completely different in different dynasties and different classes, and their shape features are very significant, as are the clothing features). Of course, different headdress features and clothing features also use different color features and line features. By comparing these features, the identification features of different people can be identified. It should also be noted that through research, it is found that most of the murals in the same place use the same painting style. Therefore, the color features, line features and line curvature features are also very significant. At the same time, for line features, it is the most basic feature of the mural composition. It should be particularly noted that when the painter is making the mural, the lines are smooth. By studying the curvature features of the lines, the missing parts can be outlined.

[0021] In the above, the defect features include: damaged features, smeared features and disappearing features. Among them, damaged features can be understood as damage caused by epidermal shedding, or missing parts due to damage during splicing; or corrosion pits formed on the surface of the mural; smeared features can be understood as alterations on the original painting; disappearing features can be understood as the partial disappearance of the color and some line features and shape features on the mural due to oxidation or corrosion over the years.

[0022] In the above, the constraint conditions for defining each recognition feature include: setting the category of the shape feature according to the historical mural gallery, and setting the category of the shape elements contained under the same shape feature and the corresponding relationship between the shape elements; setting the cutoff conditions in the color features, line features and line curvature features contained in the shape elements. In the above embodiments, the shape features, color features, line features and line curvature features have been further explained. By limiting the constraint conditions of the recognition features, the movement of the sliding recognition frame can be controlled by programming. Specifically, the constraint conditions are written into the motion control logic of the sliding recognition frame. Further, the motion control logic includes: the boundary control value for restricting the movement of the sliding recognition frame formed by the position data of the recognition area; the constraint conditions for restricting the movement of the sliding recognition frame and limiting the sliding recognition frame to synchronously identify, frame and calibrate the position of the recognition feature after recognizing the recognition feature.

[0023] In the above, the boundary control value for limiting the movement of the sliding recognition frame is formed by the position data of the recognition area, that is, the sliding recognition frame is limited to the recognition area for sliding scanning, and the boundary control value is the boundary of the recognition area, which can be limited by the position data.

[0024] The above constraints include setting the category of shape features based on the historical mural gallery, setting the category of shape elements contained in the same shape feature and the corresponding relationship between shape elements; setting the cutoff conditions in the color features, line features and line curvature features contained in the shape elements. Therefore, when the sliding recognition library recognizes the shape feature, it will automatically complete the framing and calibration. At the same time, when the element features under the shape feature are recognized, the framing and calibration are also completed. In this way, automatic recognition, automatic framing and automatic reading of specific location data can be completed.

[0025] The present application identifies the shape, line and color of the envelope area of ​​the defect position, and performs feature point integration operations on the identified shapes, lines and colors. Taking color as an example, when a certain position or area is identified to have an integral statistic of the same color, the color of the area or the position is considered to be the color of the integral statistics. At this time, the area or the position can be marked, and manual repair can be performed after manual review.

[0026] Image recognition can identify subtle features that are invisible to the human eye. By performing feature point integration operations on these subtle features, we can achieve integral statistics of the subtle features. When the integral statistics reach a certain statistical value, the subtle features are considered to be features of the entire area.

[0027] What needs to be explained is that, taking the headdress features among the shape features as an example, in some murals, different headdress features represent different human figures. When there are obvious holes in the headdress features, the headdress feature area outside the holes is the envelope area.

[0028] It should also be noted that the feature point integral operation is based on Figure 3 For example, in Figure 3 At the marked position A, the missing parts of the lines and colors can be repaired by performing feature point integration operations on the line features and color features at A with one tenth of a millimeter as the unit of integration operations.

[0029] Example 2, reference Figure 2 The present invention also provides an AI intelligent cultural relic restoration method based on image feature point recognition, comprising the following steps: Controlling the sliding recognition frame through motion control logic to perform sliding recognition on the recognition area matched by the carrier template to obtain the recognition feature area, and obtain the position information of the recognition feature area; According to the identification feature area and the position information corresponding to the identification feature area, the corresponding loading identification unit identifies the defect features contained in the identification feature area, and determines whether there is a feature deviation state between the defect features contained in at least two adjacent identification feature areas according to the position information; If it exists, divide the envelope area of ​​the defect features contained in each identification feature area, and perform feature point integration operation on the identification features existing in each envelope area; Determine the connection trend of the envelope area corresponding to two adjacent identification feature areas through integral operation; or determine the cutoff position of the envelope area corresponding to two adjacent identification feature areas through integral operation; and repair the cultural relic mural according to the connection trend or cutoff position.

[0030] Furthermore, a plurality of sliding identification frames are provided on the carrier template; each sliding identification frame is correspondingly associated with an identification unit by using the association definition of the script component, and the identification area of ​​each sliding identification frame on the carrier template is limited, and the position data in each identification area is set; The script component is used to set the recognition features of the recognition library, and the constraint conditions of each recognition feature are defined, and the constraint conditions are written into the motion control logic of the sliding recognition frame.

[0031] The present application identifies the shape, line and color of the envelope area of ​​the defect position, and performs feature point integration operations on the identified shapes, lines and colors. Taking color as an example, when a certain position or area is identified to have an integral statistic of the same color, the color of the area or the position is considered to be the color of the integral statistics. At this time, the area or the position can be marked, and manual repair can be performed after manual review.

[0032] Image recognition can identify subtle features that are invisible to the human eye. By performing feature point integration operations on these subtle features, we can achieve integral statistics of the subtle features. When the integral statistics reach a certain statistical value, the subtle features are considered to be features of the entire area.

[0033] In this specification, example embodiments have been presented based on a selected set of details. However, one of ordinary skill in the art will appreciate that many other example embodiments including different selected sets of these details may be practiced. It is intended that the appended claims cover all possible example embodiments.

Claims

1. AI intelligent cultural relic restoration system based on image feature point recognition, characterized by: include: Setting a number of identification units; Setting a carrier template, wherein a plurality of sliding identification frames are set on the carrier template; Using the association definition of the script component, each sliding identification frame is correspondingly associated with an identification unit, and the identification area of ​​each sliding identification frame on the carrier template is limited, and the position data within each identification area is set; A configuration recognition library is used to set the recognition features of the configuration recognition library using the script component, and the constraint conditions of each recognition feature are defined, and the constraint conditions are written into the motion control logic of the sliding recognition frame; A recognition control unit, connected to the configuration recognition library and the carrier template, for controlling the sliding recognition frame to perform sliding recognition on the recognition area matched by the carrier template through the motion control logic to obtain a recognition feature area, and obtain position information of the recognition feature area; The AI ​​recognition model is configured to load the recognition unit to recognize the defect features contained in the recognition feature area according to the recognition feature area and the position information corresponding to the recognition feature area, and to determine whether there is a feature deviation state between the defect features contained in at least two adjacent recognition feature areas according to the position information. If there is, the envelope area of ​​the defect features contained in each recognition feature area is divided, and the feature point integral operation is performed on the recognition features existing in each envelope area, and the connection trend of the envelope areas corresponding to the two adjacent recognition feature areas is determined by the integral operation; or, the cutoff position of the envelope areas corresponding to the two adjacent recognition feature areas is determined by the integral operation; The cultural relic mural is repaired through the connection trend or cutoff position.

2. The AI ​​intelligent cultural relic restoration system based on image feature point recognition according to claim 1 is characterized in that: The carrier template is used to load the photographed mural image, and adjust the specifications of the mural image according to the size of the carrier template, so that the mural image is completely attached to the carrier template.

3. The AI ​​intelligent cultural relic restoration system based on image feature point recognition according to claim 1 is characterized in that: The sliding recognition frame is correspondingly associated with the recognition unit through the script component. When the sliding recognition frame performs a sliding scan on the mural image in the recognition area of ​​the carrier template, the sliding recognition frame synchronizes the scanned image to the recognition unit for identifying defect features; and when the recognition unit identifies the defect features, the sliding recognition frame synchronizes the location information of the defect features to the recognition unit.

4. The AI ​​intelligent cultural relic restoration system based on image feature point recognition according to claim 1 is characterized in that: The identification features include: one or a combination of shape features, color features, line features, and line curvature features.

5. The AI ​​intelligent cultural relic restoration system based on image feature point recognition according to claim 1 is characterized in that: The defect features include: damage features, smear features and residual features.

6. The AI ​​intelligent cultural relic restoration system based on image feature point recognition according to claim 4 is characterized in that: The constraints defining each recognition feature include: According to the historical mural library, the categories of shape features are set, and the categories of shape elements contained in the same shape feature and the corresponding relationship between the shape elements are set; Set the cutoff conditions for the color features, line features, and line curvature features contained in the shape elements.

7. The AI ​​intelligent cultural relic restoration system based on image feature point recognition according to claim 1 is characterized in that: The motion control logic includes: A boundary control value for limiting the movement of the sliding recognition frame formed by the position data of the recognition area; The motion of the sliding recognition frame is restricted by the constraint conditions and after the sliding recognition frame recognizes the recognition feature, the position of the recognition feature is synchronously recognized, framed and calibrated.

8. The AI ​​intelligent cultural relic restoration method based on image feature point recognition is characterized by: The steps include: Controlling the sliding recognition frame through motion control logic to perform sliding recognition on the recognition area matched by the carrier template to obtain the recognition feature area, and obtain the position information of the recognition feature area; According to the identification feature area and the position information corresponding to the identification feature area, the corresponding loading identification unit identifies the defect features contained in the identification feature area, and determines whether there is a feature deviation state between the defect features contained in at least two adjacent identification feature areas according to the position information; If it exists, divide the envelope area of ​​the defect features contained in each identification feature area, and perform feature point integral operation on the identification features existing in each envelope area; Determine the connection trend of the envelope area corresponding to two adjacent identification feature areas by integral operation; or determine the cutoff position of the envelope area corresponding to two adjacent identification feature areas by integral operation; The cultural relic mural is repaired through the connection trend or cutoff position.

9. The AI ​​intelligent cultural relic restoration method based on image feature point recognition according to claim 8 is characterized in that: A plurality of sliding identification frames are arranged on the carrier template; each sliding identification frame is correspondingly associated with an identification unit by using the association definition of the script component, and the identification area of ​​each sliding identification frame on the carrier template is limited, and the position data in each identification area is set; The script component is used to set the recognition features of the recognition library, and the constraint conditions of each recognition feature are defined, and the constraint conditions are written into the motion control logic of the sliding recognition frame.