A traditional village culture digitization protection method and system
By using drone image recognition and online database comparison, an effective set of comparisons is constructed to replace damaged images, solving the problem that existing technologies cannot effectively reflect the cultural value of traditional architecture and achieving more accurate 3D modeling protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WENLING PLANNING & DESIGN INSTITUTE CO LTD
- Filing Date
- 2025-07-11
- Publication Date
- 2026-05-19
AI Technical Summary
Existing technologies for using drones to capture images of traditional buildings for 3D modeling cannot effectively reflect the cultural value of the buildings, especially when the buildings are damaged, resulting in poor protection.
Building images are acquired by drones and input into a damage identification model for analysis. By comparing these images with images taken in the same location in a network database, the similarity ratio and conflict value of the images are determined, an effective set of comparisons is constructed, and damaged images are replaced to update the 3D model.
This improved the preservation of traditional village architecture and culture by using web crawling technology to find undisturbed images from the internet for correction and updates, ensuring that the model reflects the actual cultural value of the buildings.
Smart Images

Figure CN120876718B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of digital technology, and in particular to a method and system for the digital preservation of traditional village culture. Background Technology
[0002] Traditional villages are an important carrier of Chinese culture. Their historical buildings, street layouts, and cultural landscapes have extremely high historical, artistic, and scientific value. However, with the acceleration of urbanization, many traditional villages face the risk of disappearing or being destroyed.
[0003] Traditional methods of village preservation mainly rely on written records, photographs, and manual surveying. These methods suffer from incomplete data, low accuracy, and poor efficiency, making them unsuitable for the needs of modern cultural heritage preservation. With the development of technology, 3D modeling technology offers a new solution for cultural heritage preservation. By using drones to photograph architectural images and then inputting the acquired images into a pre-defined model, traditional buildings can be digitally stored.
[0004] Among the aforementioned technologies, when using drones to acquire images of traditional buildings, some buildings may have already been damaged. In such cases, if models are built based on the current images, the resulting models of some buildings may not be able to effectively reflect the actual cultural value of the buildings, resulting in poor preservation of traditional village architectural culture and room for improvement. Summary of the Invention
[0005] To improve the preservation of traditional village architectural culture, this application provides a method and system for the digital preservation of traditional village culture.
[0006] Firstly, this application provides a method for the digital preservation of traditional village culture, employing the following technical solution:
[0007] A method for digital preservation of traditional village culture includes:
[0008] Acquire images of buildings taken by drones and their corresponding specific shooting locations;
[0009] The building images are input into a preset damage recognition model for analysis and recognition to determine the image recognition status. When the image recognition status matches the preset damage status, the actual location of the damage is determined based on the specific shooting location and the building images.
[0010] Based on the specific shooting location, images taken from the same location are determined in a pre-set network database, and then compared with images taken from the same location and images taken of buildings to determine the proportion of image similarity.
[0011] Images taken in the same location with a similarity ratio greater than the preset baseline requirement ratio are defined as comparison images, and comparison mapping images are determined based on comparison images and the actual location of the damage.
[0012] The image conflict value is determined based on any two reference mapping images, and the two reference mapping images corresponding to the image conflict value being less than the preset baseline conflict value are grouped into the same initially empty image grouping set;
[0013] The time represented by the set is determined based on each reference mapping image in the image induction set, and the image induction set corresponding to the time represented by the set furthest from the current time point is defined as the valid reference set;
[0014] The building images are updated by replacing the images corresponding to the actual locations of the damage in the building images with images from a valid set of references, and then a 3D model is constructed based on the updated building images to build a digital building model.
[0015] Optionally, after the comparison images have been determined, the methods for digital preservation of traditional village culture also include:
[0016] The number of control images is determined by counting the images taken as reference.
[0017] Determine whether the number of comparison images exceeds the preset baseline requirement;
[0018] If the number of reference images exceeds the baseline requirement, then the reference mapping images are determined.
[0019] If the number of comparison images is not greater than the baseline requirement, the permitted shooting area will be defined based on the specific shooting location and the preset fixed nearby range.
[0020] A virtual point is randomly generated within the permitted shooting area, and a virtual shooting image is constructed based on the virtual point and the images of each building.
[0021] Based on virtual points, a corresponding virtual image is determined, and based on the virtual captured image and the corresponding virtual image, a comparison captured image is determined.
[0022] Optionally, after the corresponding virtual image is determined, methods for the digital preservation of traditional village culture also include:
[0023] The number of identical virtual images is determined by counting them.
[0024] Determine if there is a situation where the number of identical virtual numbers exceeds the preset number required to meet the demand;
[0025] If there is no situation where the number of corresponding virtual images exceeds the required number, then the corresponding virtual images are used to determine the comparison images.
[0026] If the number of identical virtual points exceeds the required number, the virtual point corresponding to the largest number of identical virtual points is defined as a common point, and the drone is controlled to move to the common point to obtain a substitute image that includes the actual location. A comparison image is then determined based on the identical virtual image and the substitute image.
[0027] Optionally, the step of determining the time represented by the set based on each reference mapping image in the image induction set includes:
[0028] Obtain the image upload time of the corresponding control image for each control mapping image;
[0029] Determine the image watermark time from the comparison images;
[0030] The image initial time is defined based on the image upload time and the image watermark time.
[0031] The initial time of the first image in the image induction set is determined as the representative time of the set.
[0032] Optionally, once the time period represented by the set is determined, methods for the digital preservation of traditional village culture also include:
[0033] The set of images corresponding to the time furthest from the current time is defined as the optional reference set;
[0034] The number of internal images is determined by counting the images in the optional set of reference maps.
[0035] Determine if the number of internal images exceeds the preset baseline trust level;
[0036] If the number of internal images is greater than the baseline trust number, then the optional control set is defined as the valid control set;
[0037] If the number of internal images is not greater than the baseline trust number, then the optional control set is re-determined from the remaining image induction set until the effective control set is determined.
[0038] Optionally, the step of replacing the image in the architectural photographs corresponding to the actual location of the damage with an image from a valid set of references includes:
[0039] One control mapping image is randomly selected from the valid control set and defined as the valid mapping image, and the remaining control mapping images are defined as comparison mapping images;
[0040] The mean conflict value is determined by calculating the mean value of the effective mapped image and the image conflict values between each compared mapped image.
[0041] The minimum mean conflict value is determined according to a preset sorting rule, and the valid mapping image corresponding to the mean conflict value is defined as the mapping image to be used. The mapping image is then used to replace the image corresponding to the actual location of the damage in the building photography image.
[0042] Secondly, this application provides a digital preservation system for traditional village culture, which adopts the following technical solution:
[0043] A digital preservation system for traditional village culture includes:
[0044] The acquisition module is used to acquire images of buildings taken by the drone and the specific shooting locations corresponding to the images of buildings;
[0045] The processing module, connected to the acquisition module, is used for information storage and processing;
[0046] The processing module inputs the building images into a preset damage recognition model for analysis and recognition to determine the image recognition status. When the image recognition status matches the preset damage status, the actual location of the damage is determined based on the specific shooting location and the building images.
[0047] The processing module determines the images captured at the same location based on the specific shooting location in the preset network database, and compares the images captured at the same location with the images captured of buildings to determine the image similarity ratio;
[0048] The processing module defines the same-position captured images with an image similarity ratio greater than the preset baseline requirement ratio as the comparison captured images, and determines the comparison mapping image based on the comparison captured images and the actual location of the damage.
[0049] The processing module determines the image conflict value based on any two reference mapping images, and groups the two reference mapping images corresponding to the image conflict value that is less than the preset baseline conflict value into the same initially empty image aggregation set;
[0050] The processing module determines the time represented by each reference mapping image in the image induction set, and defines the image induction set corresponding to the time represented by the set furthest from the current time point as the valid reference set;
[0051] The processing module updates the building images by replacing the images corresponding to the actual locations of the damage in the building images with images from the valid reference set, and then performs 3D modeling based on the updated building images to construct a digital building model.
[0052] Thirdly, this application provides a computer storage medium capable of storing corresponding programs, which has the characteristic of improving the protection effect of traditional village architectural culture, and adopts the following technical solution:
[0053] A computer-readable storage medium storing a computer program that can be loaded by a processor and executed any of the above-mentioned methods for the digital preservation of traditional village culture.
[0054] In summary, this application includes at least one of the following beneficial technical effects:
[0055] When constructing 3D models of traditional buildings, damaged buildings can be identified, and web crawling technology can be used to find images of the buildings before they were damaged on the Internet. The current images can be corrected and updated based on historical images, thereby improving the preservation of traditional village architectural culture.
[0056] During the selection of historical images, specific analysis can be performed based on the time point of image acquisition to obtain images that meet the requirements. Attached Figure Description
[0057] Figure 1 This is a flowchart of methods for the digital preservation of traditional village culture.
[0058] Figure 2 This is a flowchart of the modules for digital preservation methods of traditional village culture. Detailed Implementation
[0059] To make the purpose, technical solution, and advantages of this application clearer, the following is combined with Figures 1-2 The present application will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the application.
[0060] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.
[0061] This application discloses a method for the digital preservation of traditional village culture, referring to... Figure 1 The methodology for digital preservation of traditional village culture includes the following steps:
[0062] Step S100: Obtain the building images captured by the drone and the specific shooting locations corresponding to the building images.
[0063] The architectural images are images of buildings captured during the flight of the drone. The specific shooting location is the actual position of the drone in space when it takes the image.
[0064] Step S101: Input the building image into the preset damage recognition model for analysis and recognition to determine the image recognition status. When the image recognition status matches the preset damage status, determine the actual location of the damage based on the specific shooting location and the building image.
[0065] The damage recognition model is a pre-built model constructed by staff using deep learning technology to identify building damage. It identifies whether a building has been damaged by pre-processed images. The main components include model training and damage recognition. Model training involves collecting a large number of images of traditional village buildings containing different types of damage (such as cracks, collapses, and missing parts) to build a training dataset. The building damage recognition model is then trained using deep learning algorithms such as convolutional neural networks (CNNs). Damage recognition involves inputting the pre-processed images into the trained building damage recognition model. The model outputs information such as the type, location, and degree of damage in the image to determine whether the building has been damaged. The image recognition state indicates whether the photographed building has been damaged. The damage state is the image recognition state when the damage recognition model detects damage to the building. The actual location of the damage is the location where the damage occurs in the building, which can be determined by comparing the specific shooting location with the pixel positions in the photographed image.
[0066] Step S102: Determine the corresponding images in the preset network database based on the specific shooting location, and compare the corresponding images with the building images to determine the image similarity ratio.
[0067] The web database is a collection of architectural photos taken by tourists from platforms such as social media and travel websites, obtained through web crawling technology. Since some photos are uploaded with their location information during the shooting process, images taken at the same location can be identified based on the specific shooting location. The image similarity ratio is the degree of similarity between the images taken at the same location and the architectural images. This can be determined through feature comparison. First, algorithms such as Scale Invariant Feature Transform (SIFT) and Speed-Up Robust Feature Transform (SURF) can be used to extract feature points from tourist photos and current architectural images. Then, algorithms such as Nearest Neighbor (NN) or Random Sample Consensus (RANSAC) can be used to match the extracted feature points and calculate the similarity between the images.
[0068] Step S103: Define the same-position captured image with an image similarity ratio greater than the preset baseline requirement ratio as the comparison captured image, and determine the comparison mapping image based on the comparison captured image and the actual location of the damage.
[0069] The baseline requirement ratio is the minimum image similarity ratio that staff set when identifying two images as the same building. By defining the comparison images, images of the building in historical situations are identified to facilitate subsequent analysis. The comparison mapping image is the image in the comparison images that reflects the location of the building damage.
[0070] Step S104: Determine the image conflict value based on any two reference mapping images, and group the two reference mapping images corresponding to the image conflict value being less than the preset baseline conflict value into the same initially empty image aggregation set.
[0071] Image conflict value reflects the conflict between two reference images. This parameter indicates whether the location of the damaged building can be determined based on these two images. A higher conflict value indicates greater dissimilarity between the two images. This value is determined by calculating the similarity value of the two images and taking its reciprocal. The baseline conflict value is the minimum image conflict value set by the staff for determining a significant difference between two images. When the conflict value is less than the baseline, the two images are considered similar and can be grouped into the same image set for further analysis. The method for creating an image set includes, for example, three reference images A, B, and C. If the conflict value between images A and B is less than the baseline, the conflict value between images B and C is less than the baseline, and the conflict value between images A and C is not less than the baseline, then images A and B are grouped into the same image set. Simultaneously, images B and C are also grouped into a single image set.
[0072] Step S105: Determine the representative time of the set based on each reference mapping image in the image induction set, and define the image induction set corresponding to the set representative time that is furthest from the current time point as the valid reference set.
[0073] The set represents the time when the images in the set were taken. When the time is furthest from the current time, it means that the images in the corresponding image set are the most original images, that is, the possibility of the building being damaged at this time is low. Therefore, it is identified as a valid control set for subsequent analysis.
[0074] Step S106: Replace the images corresponding to the actual locations of the damage in the building images with the images from the valid reference set to update the building images, and perform 3D modeling based on the updated building images to construct a digital building model.
[0075] By using the reference mapping images in the effective reference set, the images corresponding to the actual locations of damage in the architectural photographs can be replaced, thus achieving the replacement of the images at the locations of damage. At this time, there may be images of the buildings when they were not damaged. Based on these images, 3D modeling can be carried out to effectively protect traditional buildings in a digital way, thereby improving the cultural protection effect of traditional village buildings.
[0076] After the images are compared and identified, the methods for digital preservation of traditional village culture also include:
[0077] Step S200: Count the number of reference images based on the captured images to determine the number of reference images.
[0078] The number of control images is the total number of control images determined.
[0079] Step S201: Determine whether the number of comparison images is greater than the preset baseline requirement.
[0080] The baseline requirement is the minimum number of reference images set by staff to determine that the data has a certain degree of reliability. The purpose of the judgment is to determine whether the currently determined reference images can identify the historical images of the damaged location.
[0081] Step S2011: If the number of reference images is greater than the baseline requirement, then determine the reference mapping images.
[0082] When the number of reference images exceeds the baseline requirement, it indicates that the damage to the building can be analyzed based on the current reference images. In this case, the reference mapping images can be determined normally.
[0083] Step S2012: If the number of comparison images is not greater than the baseline required number, then the permitted shooting area is defined according to the specific shooting location and the preset fixed nearby range.
[0084] When the number of comparison images is not greater than the baseline requirement, it indicates that the currently determined data cannot effectively analyze the building history, and therefore further analysis is required; the fixed nearby range is the location of the points that are relatively close to the center point set by the staff, and the permitted shooting area is the area where the points that are relatively close to the specific shooting location need to be located.
[0085] Step S202: Randomly generate a virtual point in the permitted shooting area, and construct a virtual shooting image based on the virtual point and the shooting images of each building.
[0086] A virtual point is a randomly generated location within the permitted shooting area. A virtual shooting image is an image obtained when a model is constructed based on the currently captured building image, and the image is taken from the virtual point towards the location of the building destruction.
[0087] Step S203: Determine the corresponding virtual image based on the virtual points, and determine the comparison image based on the virtual captured image and the corresponding virtual image.
[0088] The corresponding virtual image is an actual image taken at a virtual point in the network database. By comparing the virtual image with the corresponding virtual image, the location of the building damage can also be determined.
[0089] After the corresponding virtual images are determined, methods for the digital preservation of traditional village culture also include:
[0090] Step S300: Count the corresponding virtual images to determine the number of corresponding virtual images.
[0091] The number of co-located virtual images is the total number of co-located virtual images determined by a single virtual point.
[0092] Step S301: Determine whether there is a situation where the number of identical virtual numbers is greater than the preset number to meet the requirements.
[0093] The purpose of this judgment is to determine whether there are multiple images available for reference at a single location point, in order to facilitate subsequent analysis.
[0094] Step S3011: If there is no situation where the number of corresponding virtual images is greater than the required number, then determine the comparison image based on the determined virtual captured image and the corresponding virtual image.
[0095] When there is no situation where the number of identical virtual points exceeds the required number, it means that there are no cases where there are too many images of a single location point, and the analysis can be performed normally.
[0096] Step S3012: If there is a situation where the number of corresponding virtual points is greater than the number required, the virtual point corresponding to the largest number of corresponding virtual points is defined as a common point, and the drone is controlled to move to the common point to obtain a substitute image containing the actual position, and a comparison image is determined based on the corresponding virtual image and the substitute image.
[0097] When the number of corresponding virtual images exceeds the required number, it indicates that there are many images available for reference at a single location point. In this case, to reduce the error caused by image fitting, only the image at that location point can be used for data analysis. Commonly used points are defined to determine the location points with the largest amount of data. By controlling the drone to move to the commonly used points, it is possible to capture images of the building in the actual situation. At this time, the comparison images can be effectively determined based on the substitute captured images and the corresponding virtual images of the commonly used points, thereby improving the accuracy of data analysis.
[0098] The steps for determining the time represented by the set based on the corresponding mapping images in the image induction set include:
[0099] Step S400: Obtain the image upload time of the corresponding control image for each control mapping image.
[0100] Image upload time is the point in time when the user uploads the captured image to the corresponding online platform.
[0101] Step S401: Determine the image watermark time from the comparison image.
[0102] The image watermark time is the watermark time point recorded on the image. If there is no watermark with a time point, then the time is December 31, 9999.
[0103] Step S402: Define the earlier time as the image initial time based on the image upload time and the image watermark time.
[0104] Define the initial time of the image to determine the time point at which the image was captured, which will facilitate subsequent analysis.
[0105] Step S403: Determine the initial time of the first image in the image induction set as the representative time of the set.
[0106] The earliest image is the one whose initial time is the earliest image of the building. This can be defined as the set representing the time.
[0107] Once the timeframe for representing the collection is determined, methods for the digital preservation of traditional village culture also include:
[0108] Step S500: Define the set of images corresponding to the time furthest from the current time point as the optional reference set.
[0109] Define an optional reference set to determine the set with the earliest time points, which will facilitate subsequent analysis.
[0110] Step S501: Count the internal images in the optional set of reference images according to the reference mapping images to determine the number of internal images.
[0111] The number of internal images is the number of reference mapping images present in the optional reference set.
[0112] Step S502: Determine whether the number of internal images is greater than the preset baseline trust number.
[0113] The baseline confidence level is the minimum number of internal images required for the images in the feasible reference set set set by the staff to reflect the actual situation of the building in historical circumstances. The purpose of the judgment is to determine whether the images in the currently determined optional reference set have a good confidence level.
[0114] Step S5021: If the number of internal images is greater than the baseline trust number, then the optional control set is defined as the valid control set.
[0115] When the number of internal images exceeds the baseline trust number, it indicates that the data in this set is highly reliable. In this case, it can be defined as a valid control set for analysis.
[0116] Step S5022: If the number of internal images is not greater than the baseline trust number, then re-determine the optional control set from the remaining image induction set until the effective control set is determined.
[0117] When the number of internal images is not greater than the baseline trust number, it indicates that the amount of data in the currently determined set is small, and there may be unreliable data. Therefore, it is necessary to re-determine the optional control set to continue the analysis.
[0118] The steps of replacing the actual location of damage in architectural photographs with images from a valid set of reference images include:
[0119] Step S600: Randomly select one control mapping image from the valid control set and define it as a valid mapping image, and define the remaining control mapping images as comparison mapping images.
[0120] Define valid mapping images and comparison mapping images to distinguish different control mapping images, which facilitates subsequent analysis.
[0121] Step S601: Calculate the mean value based on the effective mapped image and the image conflict value between each compared mapped image to determine the mean conflict value.
[0122] The mean conflict value is a parameter that reflects the average conflict between the valid mapped image and the other comparative mapped images.
[0123] Step S602: Determine the minimum mean conflict value according to the preset sorting rules, define the valid mapping image corresponding to the mean conflict value as the map image to be used, and replace the image corresponding to the actual location of the damage in the building photography image with the map image to be used.
[0124] The sorting rule is a method set by the staff to sort numerical values, such as the bubble sort method. The sorting rule can determine the smallest mean conflict value, that is, the corresponding effective mapping image has the smallest deviation from the other comparison mapping images. At this time, the effective mapping image can better represent the other images in the set. Therefore, it is defined as using the mapping image to replace the image in the arrowhead image, so as to improve the possibility that the image replacement can better reflect the traditional architectural culture.
[0125] Reference Figure 2 Based on the same inventive concept, embodiments of the present invention provide a digital preservation system for traditional village culture, comprising:
[0126] The acquisition module is used to acquire images of buildings taken by the drone and the specific shooting locations corresponding to the images of buildings;
[0127] The processing module, connected to the acquisition module, is used for information storage and processing;
[0128] The processing module inputs the building images into a preset damage recognition model for analysis and recognition to determine the image recognition status. When the image recognition status matches the preset damage status, the actual location of the damage is determined based on the specific shooting location and the building images.
[0129] The processing module determines the images captured at the same location based on the specific shooting location in the preset network database, and compares the images captured at the same location with the images captured of buildings to determine the image similarity ratio;
[0130] The processing module defines the same-position captured images with an image similarity ratio greater than the preset baseline requirement ratio as the comparison captured images, and determines the comparison mapping image based on the comparison captured images and the actual location of the damage.
[0131] The processing module determines the image conflict value based on any two reference mapping images, and groups the two reference mapping images corresponding to the image conflict value that is less than the preset baseline conflict value into the same initially empty image aggregation set;
[0132] The processing module determines the time represented by each reference mapping image in the image induction set, and defines the image induction set corresponding to the time represented by the set furthest from the current time point as the valid reference set;
[0133] The processing module updates the building images by replacing the images corresponding to the actual locations of the damage in the building images with images from the valid reference set, and performs 3D modeling based on the updated building images to construct a digital building model.
[0134] The virtual image construction module constructs virtual images based on the existing image situation when the number of images does not meet the requirements.
[0135] The frequently used point determination module is used to analyze and filter virtual points to determine suitable frequently used points;
[0136] The module for determining the time represented by a set is used to determine the time represented by a set more accurately.
[0137] The effective control set determination module analyzes the number of images in the set to determine the effective control set;
[0138] The replacement image filtering module is used to filter the images that will be replaced by the current image.
[0139] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0140] This invention provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed as a method for the digital preservation of traditional village culture.
[0141] Computer storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media that can store program code.
Claims
1. A method for digital preservation of traditional village culture, characterized in that, include: Acquire images of buildings taken by drones and their corresponding specific shooting locations; The building images are input into a preset damage recognition model for analysis and recognition to determine the image recognition status. When the image recognition status matches the preset damage status, the actual location of the damage is determined based on the specific shooting location and the building images. Based on the specific shooting location, images taken from the same location are determined in a pre-set network database, and then compared with images taken from the same location and images taken of buildings to determine the proportion of image similarity. Images taken in the same location with a similarity ratio greater than the preset baseline requirement ratio are defined as comparison images, and comparison mapping images are determined based on comparison images and the actual location of the damage. The image conflict value is determined based on any two reference mapping images. When the image conflict value is less than the preset benchmark conflict value, the two corresponding reference mapping images are grouped into the same initially empty image grouping set. The image conflict value is a numerical value that reflects the conflict situation of the two reference mapping images. The similarity value is calculated for the two reference mapping images and the reciprocal is taken to determine the value. The time represented by the set is determined based on each reference mapping image in the image induction set, and the image induction set corresponding to the time represented by the set furthest from the current time point is defined as the valid reference set; The building images are updated by replacing the images corresponding to the actual locations of the damage in the building images with images from a valid set of references, and then a 3D model is constructed based on the updated building images to build a digital building model.
2. The method for digital preservation of traditional village culture according to claim 1, characterized in that, After the images are compared and identified, the methods for digital preservation of traditional village culture also include: The number of control images is determined by counting the images taken as reference. Determine whether the number of comparison images exceeds the preset baseline requirement; If the number of reference images exceeds the baseline requirement, then the reference mapping images are determined. If the number of comparison images is not greater than the baseline requirement, the permitted shooting area will be defined based on the specific shooting location and the preset fixed nearby range. A virtual point is randomly generated within the permitted shooting area, and a virtual shooting image is constructed based on the virtual point and the images of each building. Based on virtual points, a corresponding virtual image is determined, and based on the virtual captured image and the corresponding virtual image, a comparison captured image is determined.
3. The method for digital preservation of traditional village culture according to claim 2, characterized in that, After the corresponding virtual images are determined, methods for the digital preservation of traditional village culture also include: The number of identical virtual images is determined by counting them. Determine if there is a situation where the number of identical virtual numbers exceeds the preset number required to meet the demand; If there is no situation where the number of corresponding virtual images exceeds the required number, then the corresponding virtual images are used to determine the comparison images. If the number of identical virtual points exceeds the required number, the virtual point corresponding to the largest number of identical virtual points is defined as a common point, and the drone is controlled to move to the common point to obtain a substitute image that includes the actual location. A comparison image is then determined based on the identical virtual image and the substitute image.
4. The method for digital preservation of traditional village culture according to claim 1, characterized in that, The steps for determining the time represented by the set based on the corresponding mapping images in the image induction set include: Obtain the image upload time of the corresponding control image for each control mapping image; Determine the image watermark time from the comparison images; The image initial time is defined based on the image upload time and the image watermark time. The initial time of the first image in the image induction set is determined as the representative time of the set.
5. The method for digital preservation of traditional village culture according to claim 4, characterized in that, Once the timeframe for representing the collection is determined, methods for the digital preservation of traditional village culture also include: The set of images corresponding to the time furthest from the current time is defined as the optional reference set; The number of internal images is determined by counting the images in the optional set of reference maps. Determine if the number of internal images exceeds the preset baseline trust level; If the number of internal images is greater than the baseline trust number, then the optional control set is defined as the valid control set; If the number of internal images is not greater than the baseline trust number, then the optional control set is re-determined from the remaining image induction set until the effective control set is determined.
6. The method for digital preservation of traditional village culture according to claim 1, characterized in that, The steps of replacing the actual location of damage in architectural photographs with images from a valid set of reference images include: One control mapping image is randomly selected from the valid control set and defined as the valid mapping image, and the remaining control mapping images are defined as comparison mapping images; The mean conflict value is determined by calculating the mean value of the effective mapped image and the image conflict values between each compared mapped image. The minimum mean conflict value is determined according to a preset sorting rule, and the valid mapping image corresponding to the mean conflict value is defined as the mapping image to be used. The mapping image is then used to replace the image corresponding to the actual location of the damage in the building photography image.
7. A digital preservation system for traditional village culture, characterized in that, include: The acquisition module is used to acquire images of buildings taken by the drone and the specific shooting locations corresponding to the images of buildings; The processing module, connected to the acquisition module, is used for information storage and processing; The processing module inputs the building images into a preset damage recognition model for analysis and recognition to determine the image recognition status. When the image recognition status matches the preset damage status, the actual location of the damage is determined based on the specific shooting location and the building images. The processing module determines the images captured at the same location based on the specific shooting location in the preset network database, and compares the images captured at the same location with the images captured of buildings to determine the image similarity ratio; The processing module defines the same-position captured images with an image similarity ratio greater than the preset baseline requirement ratio as the comparison captured images, and determines the comparison mapping image based on the comparison captured images and the actual location of the damage. The processing module determines the image conflict value based on any two reference mapping images, and groups the two corresponding reference mapping images whose image conflict value is less than the preset benchmark conflict value into the same initially empty image aggregation set. The image conflict value is a numerical value that reflects the conflict situation of the two reference mapping images. The similarity value is calculated for the two reference mapping images and the reciprocal is determined. The processing module determines the time represented by each reference mapping image in the image induction set, and defines the image induction set corresponding to the time represented by the set furthest from the current time point as the valid reference set; The processing module updates the building images by replacing the images corresponding to the actual locations of the damage in the building images with images from the valid reference set, and then performs 3D modeling based on the updated building images to construct a digital building model.
8. A computer-readable storage medium, characterized in that, The computer program is stored and can be loaded by a processor and executed as described in any one of claims 1 to 6 for the digital preservation of traditional village culture.