Historical and cultural city graphical image standardization processing method, system, terminal and storage medium

By combining on-site investigation with graphic image processing models, the problem of time-consuming traditional manual processing has been solved, and standardized processing of graphic images of historical and cultural cities has been achieved, improving efficiency and accuracy.

CN116824404BActive Publication Date: 2025-12-05SUZHOU PLANNING & DESIGN RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310685907.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-10
Publication Date
2025-12-05
Estimated Expiration
2043-06-10

AI Technical Summary

Technical Problem

Traditional information classification and processing methods rely heavily on manual labor, which is time-consuming and makes it difficult to conduct refined management of historical and cultural heritage.

Method used

By acquiring pre-drawn graphics to be output, cropping and correcting them using the feature information of on-site aerial images, and setting output parameters in conjunction with a graphic image processing model, the resulting drawings are automatically generated, achieving standardized processing of graphic images of historical and cultural cities.

Benefits of technology

It improves the efficiency and accuracy of graphic image processing for historical and cultural cities, achieves the standardization of graphic images, and enables the rapid differentiation of buildings with different types of attributes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116824404B_ABST
    Figure CN116824404B_ABST
Patent Text Reader

Abstract

This invention discloses a method, system, terminal, and storage medium for standardized processing of graphic images of historical and cultural cities. Belonging to the field of graphic image processing, the solution includes: acquiring several pre-drawn graphics to be output; acquiring on-site aerial photographs and their first feature information, and determining the corresponding graphic to be output based on the first feature information; processing the on-site aerial photographs according to the graphic to be output to obtain the graphic to be output; acquiring a pre-constructed graphic image processing model and setting output parameters through the model; and outputting the resulting drawing based on the output parameters and the graphic to be output. This application, by setting output parameters through a graphic image processing model, can meet the needs for outputting results in multiple categories and layouts, achieving the following effects: making graphic image processing faster and more standardized, and providing a foundation for subsequent intelligent data management.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of graphic image standardization processing, and in particular to a historical and cultural city graphic image standardization processing method, system, terminal and storage medium. BACKGROUND

[0002] As the sediment of human civilization, historical culture is the foundation of the excellent culture of the Chinese nation. Historical and cultural heritage is an important part of historical and cultural cities, records important historical information in the development process of the city, and is the main carrier of historical culture. However, with the rapid economic development and rapid urbanization in recent years, the cultural heritage, historical environment and city characteristics in the city have been damaged to some extent. Therefore, at the present stage, actively collecting and mining historical and cultural heritage data and classifying and archiving can provide data support for the scientific management and protective updating of historical and cultural cities in the whole life cycle.

[0003] Historical and cultural cities have a large number of historical and cultural heritage, including historical and cultural blocks, river systems, protected units, controlled and protected buildings, historical buildings, gardens, ancient city walls, famous trees and more than 20 types of protected objects. The historical elements to be collected are rich and diverse, and the information is huge.

[0004] In the process of implementing the present application, the inventors found that the above-mentioned technology at least has the following problems: the traditional information classification processing method mainly uses manual processing, which is time-consuming and difficult to manage historical and cultural remains in detail. SUMMARY

[0005] In order to solve the problem that the traditional information classification method mainly uses manual processing, which is time-consuming and difficult to classify and manage historical and cultural remains in detail, the present application provides a historical and cultural city graphic image standardization processing method, system, terminal and storage medium.

[0006] In a first aspect, the present application provides a historical and cultural city graphic image standardization processing method, comprising the following steps:

[0007] A historical and cultural city graphic image standardization processing method, comprising the following steps:

[0008] Obtaining a plurality of pre-drawn output graphics, the output graphics at least including a type attribute for distinguishing different output graphics;

[0009] Obtaining a live aerial image and first feature information of the live aerial image, and determining the output graphics corresponding to the live aerial image according to the first feature information, the first feature information including a shooting position and a shooting direction;

[0010] According to the to-be-output image pattern, the on-site aerial image map is processed to obtain a to-be-output image pattern;

[0011] A pre-constructed image processing model is obtained, and an output parameter is set through the image processing model;

[0012] Based on the output parameter and in combination with the to-be-output image pattern and the to-be-output image pattern, an achievement drawing is output.

[0013] By adopting the above technical solution, first, the to-be-output image pattern is divided through on-site investigation, and the to-be-output image pattern matched with the on-site aerial image map is determined according to the first feature information of the on-site aerial image map. The on-site aerial image map is cut according to the to-be-output image pattern, the angle of the cut on-site aerial image map is adjusted, so that the corrected on-site aerial image map is consistent with the to-be-output image pattern, and the output parameter is set through the image processing model to automatically generate the achievement drawing corresponding to the to-be-output image pattern. The standardization of historical and cultural city image processing is realized, and the efficiency of historical and cultural city image processing is improved.

[0014] In a specific implementable scheme, the obtaining of the plurality of pre-delineated to-be-output image patterns specifically includes the following steps:

[0015] An original topographic map of the historical and cultural city is obtained, and the original topographic map is divided into a plurality of areas, and the buildings in the areas all belong to the object buildings;

[0016] The buildings of the same type attribute in the same area are summarized to delineate the to-be-output image pattern.

[0017] By adopting the above technical solution, the type attributes of different buildings are different, the type attributes of the buildings in each to-be-output image pattern are the same, and the buildings in each to-be-output image pattern belong to the same area. The on-site aerial image map is conveniently corrected or the image processing model is conveniently obtained, the standard is unified, and the achievement drawing obtained after processing is more standardized and normative.

[0018] In a specific implementable scheme, the processing of the on-site aerial image map according to the to-be-output image pattern specifically includes the following steps:

[0019] One of the buildings in the to-be-output image pattern is selected as a first reference;

[0020] The position of the first reference in the on-site aerial image map corresponding to the to-be-output image pattern is determined;

[0021] The position of the to-be-output image pattern in the on-site aerial image map is determined according to the position of the first reference;

[0022] The image correction model is preset, and the aerial image is cut according to the position of the to-be-output graph in the aerial image, and the cut aerial image is corrected.

[0023] According to the above technical scheme, the to-be-output graph is divided according to the type attribute of the building in the to-be-output graph, and the size of the aerial image and the shape of the building in the aerial image may have some problems due to the shooting problem when the aerial image is shot. The aerial image is cut and corrected, so that the aerial image and the to-be-output graph can be better corresponded.

[0024] In a specific embodiment, the method further comprises the following steps before the pre-built graph image processing model is obtained:

[0025] The pre-built dynamic link library is obtained, and the dynamic link library pre-stores the graph image processing model corresponding to different type attributes;

[0026] The to-be-output graph is analyzed to determine the type attribute corresponding to the building in the to-be-output graph;

[0027] According to the type attribute corresponding to the building in the to-be-output graph, the graph image processing model corresponding to the to-be-output graph is selected from the dynamic link library.

[0028] According to the above technical scheme, the dynamic link library is constructed, the corresponding graph image processing model is selected according to the type attribute, different output parameters are set for different type attributes, and the actual output result map is more rapid and accurate.

[0029] In a specific embodiment, the output parameter setting step further comprises the following steps:

[0030] According to the type attribute of the to-be-output graph, the graph category is selected;

[0031] According to the type attribute of the to-be-output graph, the corresponding historical setting file is obtained from the pre-built file storage library, and the file storage library stores a plurality of historical setting files, and each historical setting file corresponds to a type attribute;

[0032] The historical parameters are obtained based on the historical setting file.

[0033] According to the above technical scheme, the file storage library is constructed, the corresponding historical setting file is selected according to the type attribute, and the output parameter of the to-be-output graph is set according to the historical parameter of the historical setting file, which is more efficient.

[0034] In a specific embodiment, the output category includes a traditional resident category and a cultural relic building category, and the output result paper specifically includes the following steps:

[0035] According to the type attribute of the to-be-output graph, it is determined whether the to-be-output graph is a traditional resident category or a cultural relic building category.

[0036] If the to-be-output graph is a traditional resident category, the traditional resident category result paper is output based on a preset first output standard.

[0037] If the to-be-output graph is a cultural relic building category, the cultural relic building category result paper is output based on a preset second output standard.

[0038] By using the above technical solution, in order to distinguish between buildings of the traditional resident category and buildings of the cultural relic building category, the result paper is output by different output standards, so that the buildings of the traditional resident category and the buildings of the cultural relic building category can be more intuitively distinguished from the image of the entire historical and cultural city.

[0039] In a specific embodiment, the output result paper further includes the following steps:

[0040] The pre-generated first standard frame, the size of the first standard frame, and the size of the to-be-output graph are obtained.

[0041] The ratio between the size of the first standard frame and the size of the to-be-output graph is calculated to obtain a first ratio.

[0042] According to the first ratio, a magnification ratio is determined from a pre-constructed frame adjustment library, and the frame adjustment library stores a plurality of ratio intervals, and each ratio interval corresponds to a magnification ratio.

[0043] According to the magnification ratio, the size of the first standard frame is magnified to obtain an actual frame.

[0044] The to-be-output graph is output into the actual frame.

[0045] By using the above technical solution, since the sizes of the to-be-output graphs are different, when the size of the to-be-output graph is greater than the size of the first standard frame, the size of the first standard frame needs to be magnified, so that the to-be-output graph can be output into the magnified first standard frame.

[0046] In a second aspect, the application provides a historical and cultural city image standardization processing system, which adopts the following technical solution:

[0047] A historical and cultural city image standardization processing system includes:

[0048] A to-be-outputted graph storage module, configured to store a plurality of pre-delineated to-be-outputted graphs;

[0049] An information acquisition module, configured to acquire the live aerial image and first feature information of the live aerial image;

[0050] An information matching module, configured to determine the to-be-outputted graph corresponding to the live aerial image according to the first feature information;

[0051] A picture processing module, configured to cut the live aerial image according to the position of the to-be-outputted graph in the live aerial image, and correct the cut live aerial image to obtain a to-be-outputted image graph;

[0052] A parameter setting module, configured to acquire a pre-constructed graph image processing model, and set output parameters through the graph image processing model;

[0053] A drawing output module, configured to output the result drawing based on the output parameters and in combination with the to-be-outputted graph and the to-be-outputted image graph.

[0054] By adopting the above technical solution, the to-be-outputted graph is first divided through on-site investigation, and the to-be-outputted graph matched with the live aerial image is determined according to the first feature information of the live aerial image, the live aerial image is cut according to the to-be-outputted graph, the angle of the cut live aerial image is adjusted, the corrected live aerial image is consistent with the to-be-outputted graph, the output parameters are set through the graph image processing model, the result drawing corresponding to the to-be-outputted graph is automatically generated, the standardization of the historical and cultural city graph image processing is realized, and the efficiency of the historical and cultural city graph image processing is improved.

[0055] In a third aspect, the present application provides an intelligent terminal, which adopts the following technical solution:

[0056] An intelligent terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the computer program is executed by the processor, the historical and cultural city graph image standardization processing method is realized.

[0057] In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical solution:

[0058] A computer readable storage medium, characterized in that, comprising a readable storage medium and a computer program stored on the readable storage medium and running on the readable storage medium, the computer program is loaded and executed by the processor to realize the historical and cultural city graphic image standardization processing method of any one of the above.

[0059] In summary, the present application includes at least one of the following beneficial technical effects:

[0060] 1. First, the output graph is divided by field investigation, and the output graph matching the field aerial image is determined according to the first characteristic information of the field aerial image, the field aerial image is cut according to the output graph, the angle of the cut field aerial image is adjusted, so that the corrected field aerial image is consistent with the output graph, and the output parameter is set through the graphic image processing model, the result map corresponding to the output graph is automatically generated, the standardization of historical and cultural city graphic image processing is realized, and the efficiency of historical and cultural city graphic image processing is improved.

[0061] 2. By constructing a dynamic link library, corresponding graphic image processing models can be selected according to type attributes, different output parameters can be set for different type attributes, so that the actual output result map is more rapid and accurate.

[0062] 3. Because the size of the output graph is different, when the size of the output graph is larger than the size of the first standard frame, the size of the first standard frame needs to be enlarged, so that the output graph can be output to the enlarged first standard frame. BRIEF DESCRIPTION OF DRAWINGS

[0063] Figure 1 It is the overall structure schematic diagram of a historical and cultural city image standardization processing system in the embodiment of the present application.

[0064] Figure 2 It is the overall flow schematic diagram of a historical and cultural city graphic image standardization processing method in the embodiment of the present application.

[0065] Figure 3 It is the flow schematic diagram of the output graph division in the embodiment of the present application.

[0066] Figure 4 It is the flow schematic diagram of correcting the field aerial image in the embodiment of the present application.

[0067] Figure 5 It is the flow schematic diagram of selecting the graphic image processing model in the embodiment of the present application.

[0068] Figure 6 It is the flow schematic diagram of setting the output parameter in the embodiment of the present application.

[0069] Figure 7 is a flowchart of the frame adjustment in the embodiment of the present application.

[0070] Explanation of reference signs:

[0071] 1, a to-be-output graphics storage module; 2, an information acquisition module; 3, an information matching module; 4, a picture processing module; 5, a parameter setting module; 6, a drawing output module. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings.

[0073] One embodiment of the present application discloses a historical and cultural city image standardization processing system, referring to Figure 1 The system comprises a to-be-output graphics storage module 1, an information acquisition module 2, an information matching module 3, a picture processing module 4, a parameter setting module 5 and a drawing output module 6, specifically:

[0074] The to-be-output graphics storage module is used for storing a plurality of pre-delineated to-be-output graphics;

[0075] In the embodiment of the present application, the types of buildings in the same to-be-output graphics are the same, and the type attributes include traditional resident group class, traditional resident building monomer class, historical building class, historical building body class, historical courtyard class, historical courtyard body building class, other building class and other building body building class.

[0076] The information acquisition module 2 is used for acquiring the first feature information of the on-site aerial image and the on-site aerial image;

[0077] The first feature information includes the shooting position and the shooting direction, and according to the shooting position and the shooting direction, the on-site aerial image can be adjusted subsequently.

[0078] The information matching module 3 is used for determining the to-be-output graphics corresponding to the on-site aerial image according to the first feature information;

[0079] Specifically, the shooting position and the shooting direction of the on-site aerial image are acquired, and the to-be-output graphics corresponding to the on-site aerial image is determined according to the shooting position and the shooting direction of the on-site aerial image.

[0080] The picture processing module 4 is used for determining the position of the to-be-output graphics in the on-site aerial image, and combining the position of the to-be-output graphics in the on-site aerial image, the on-site aerial image is cut, and the cut on-site aerial image is corrected to obtain a to-be-output image;

[0081] The parameter setting module 5 is configured to acquire a pre-constructed graphic image processing model according to the type attribute of the building in the to-be-output graphic, and set the output parameter through the graphic image processing model.

[0082] The drawing output module 6 is configured to output the result drawing based on the output parameter and in combination with the to-be-output graphic and the to-be-output image graphic.

[0083] With reference to Figure 2 In another embodiment of the present application, a graphic image standardization processing method for a historic and cultural city is provided, comprising the following steps:

[0084] S10, acquiring a plurality of pre-delineated to-be-output graphics;

[0085] In the to-be-output graphics, the type attributes of all the buildings in the same to-be-output graphic are the same, and the type attributes of the buildings in different to-be-output graphics are the same. Figure 3 Specifically, the pre-delineation of the to-be-output graphic comprises the following steps:

[0086] A10, acquiring an original topographic map of the historic and cultural city, and dividing the original topographic map into a plurality of sections;

[0087] In the historic and cultural city, a plurality of buildings with different type attributes are included, the adjacent buildings are divided into the same section, and the buildings in the section all belong to the object buildings, and the determination standard of the object buildings is the determination standard of the historic and cultural city formulated by the state.

[0088] A20, the buildings with the same type attribute in the same section are summarized to delineate the to-be-output graphic.

[0089] In one embodiment of the present application, in order to distinguish the buildings with different type attributes when the on-site aerial image is generated, it is necessary to ensure that the type attributes of the buildings in the same to-be-output graphic are the same.

[0090] S20, acquiring the on-site aerial image and the first feature information of the on-site aerial image, and determining the to-be-output graphic corresponding to the on-site aerial image according to the first feature information;

[0091] S30, correcting the on-site aerial image according to the to-be-output graphic to obtain a to-be-output image graphic;

[0092] In the implementation, the image of the entire historic and cultural city is generated, and the on-site aerial images corresponding to all the to-be-output graphics need to be integrated. Due to the uncertainty of shooting, it is difficult for the actually shot on-site aerial image to completely match the to-be-output graphic, and therefore the on-site aerial image needs to be corrected. Figure 4 Specifically, the correction comprises the following steps:

[0093] B10, selecting one building in the to-be-output graph as a first reference;

[0094] It should be noted that the type attribute of the selected one building in the to-be-output graph is consistent with the type attribute corresponding to the to-be-output graph.

[0095] B20, determining the position of the first reference in the on-site aerial image corresponding to the to-be-output graph;

[0096] In implementation, the target region in the on-site aerial image is determined by comparing the position of the first reference in the to-be-output graph and the position of the first reference in the on-site aerial image. It should be noted that the target region is the region where all buildings in the on-site aerial image have the type attribute consistent with the type attribute corresponding to the to-be-output graph.

[0097] B30, determining the position of the to-be-output graph in the on-site aerial image according to the position of the first reference;

[0098] B40, cutting the on-site aerial image by using a pre-set image correction model and combining the position of the to-be-output graph in the on-site aerial image, and correcting the cut on-site aerial image.

[0099] In the embodiment of the present application, the image correction model is PhotoShop. Since the sizes of the to-be-output graphs are inconsistent, the matching degree of the on-site aerial image and the corresponding to-be-output graph is not necessarily good. Therefore, the position of the to-be-output graph in the on-site aerial image is determined, so that the on-site aerial image is cut by using PhotoShop. In addition, due to the shooting angle, the size and clarity of the buildings in the on-site aerial image may be inconsistent. At this time, the on-site aerial image is corrected by using the deformation software in PhotoShop.

[0100] S40, obtaining a pre-constructed graph image processing model, and setting an output parameter by using the graph image processing model;

[0101] In an embodiment of the present application, in order to realize the standardized output of the historical and cultural city image, different graph image processing models are selected according to the type attributes corresponding to different type attributes of the to-be-output graph, and the graph image processing model is set according to the type attribute of the to-be-output graph. Figure 5 , and specifically includes the following steps:

[0102] C10, obtaining a pre-constructed dynamic link library;

[0103] In the dynamic link library, the graph image processing models corresponding to different type attributes are pre-stored.

[0104] C20, analyze the to-be-output graph to determine a type attribute corresponding to a building in the to-be-output graph;

[0105] C30, select a graph image processing model corresponding to the to-be-output graph from a dynamic link library according to the type attribute corresponding to the building in the to-be-output graph.

[0106] In implementation, each graph processing model corresponds to a set of output parameters, and different output parameters are set to distinguish to-be-output graphs of different type attributes.

[0107] In another embodiment of the present application, the parameters can also be set according to historical data, as described in Figure 6 , and the steps include:

[0108] D10, select a graph category according to the type attribute of the to-be-output graph;

[0109] D20, obtain a corresponding historical setting file from a pre-constructed file storage according to the type attribute of the to-be-output graph;

[0110] The file storage stores a plurality of historical setting files, and each historical setting file corresponds to a type attribute.

[0111] D30, obtain historical parameters based on the historical setting file.

[0112] It should be noted that the historical setting files in the file storage are periodically updated.

[0113] S50, output the result drawing based on the output parameters and in combination with the to-be-output graph and the to-be-output image graph.

[0114] The graph category includes a traditional resident category and a cultural relic building category, the traditional resident category includes traditional residents and other buildings, and the cultural relic building category includes historical elements and historical buildings in cultural relic buildings. After the result drawing is output according to the output parameters, the output result drawing is modified according to the graph category of the to-be-output graph, and the steps include:

[0115] According to the type attribute of the to-be-output graph, it is determined whether the to-be-output graph is a traditional resident category or a cultural relic building category;

[0116] If the to-be-output graph is a traditional resident category, a traditional resident category result drawing is output based on a preset first output standard;

[0117] If the to-be-output graph is a cultural relic building category, a cultural relic building category result drawing is output based on a preset second output standard.

[0118] In an embodiment of the present application, the output result drawing is exported by CAD software, when the to-be-output graph is a traditional resident type, the line color is unified, the building description text is newly added, and the font size is set to 1.2; when the to-be-output graph is a cultural relic building type, the original element expression form and number of the building are retained, and the scale size is set to 0.5.

[0119] In implementation, in order to store the output result drawing into the preset graph frame, the following steps are specifically included: Figure 7

[0120] E10, a pre-generated first standard graph frame, a size of the first standard graph frame, and a size of the to-be-output graph are acquired;

[0121] E20, a ratio between the size of the first standard graph frame and the size of the to-be-output graph is calculated to obtain a first ratio value;

[0122] E30, according to the first ratio value, a magnification ratio is determined from a pre-constructed graph frame adjustment library;

[0123] The graph frame adjustment library stores a plurality of ratio value intervals, and each ratio value interval corresponds to a magnification ratio.

[0124] E40, the size of the first standard graph frame is magnified according to the magnification ratio to obtain an actual graph frame;

[0125] E50, the to-be-output graph is output into the actual graph frame.

[0126] Specifically, the content of the result drawing includes a graph name, a to-be-output graph area, a position schematic diagram area, an image graph area, and a legend area, the to-be-output graph area includes a graph frame and a to-be-output graph located in the graph frame, the position schematic diagram area includes a position schematic diagram, a scale, and a compass, the image graph area includes a field aerial image graph, and the legend area includes an explanation of different types of attribute reference marks.

[0127] It should be noted that, since the content of the result drawing is limited, the size of the first standard graph library can not be changed according to the magnification ratio, but the effect of outputting the to-be-output graph into the actual graph frame can be achieved by changing the scale in the result drawing.

[0128] Based on the same inventive concept, another embodiment of the present application further discloses a computer readable storage medium, the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set can be loaded and executed by a processor to implement the steps of the historical and cultural city graph image standardization processing method provided by the above method embodiment.

[0129] ​The computer readable storage medium includes, for example, a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0130] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0131] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways, for example, the above-described device embodiments are only schematic, for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed mutual units can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.

[0132] The units described as separate components can or can not be physically separated, and the components displayed as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. According to actual needs, part or all of the units can be selected to achieve the purpose of the embodiment scheme.

[0133] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The above integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0134] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the method described in various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and various media that can store program codes.

[0135] The above embodiments are only used to introduce the technical solutions of the present application in detail, but the above embodiment descriptions are only used to help understand the method and core idea of the present application, and should not be understood as a limitation of the present application. Those skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application.

Claims

1. A method for standardizing the processing of graphic images of historical and cultural cities, characterized in that, Includes the following steps: Obtain several pre-drawn graphics to be output, wherein the graphics to be output include at least a type attribute used to distinguish different graphics to be output; Acquire on-site aerial imagery and its first feature information, and determine the corresponding output graphic based on the first feature information, wherein the first feature information includes the shooting position and shooting direction; The aerial imagery of the scene is processed according to the image to be output to obtain the image to be output. Obtain a pre-built graphics and image processing model, and set the output parameters through the graphics and image processing model; Based on the output parameters and combined with the image and graphic to be output, output the resulting drawing; The process of obtaining several pre-drawn graphics to be output specifically includes the following steps: Obtain the original topographic map of the historical and cultural city and divide the original topographic map into several areas. The buildings in the areas are all object buildings, which are buildings of the historical and cultural city. Collect and sketch buildings of the same type and attribute within the same area to create a graphic to be output; The process of processing the on-site aerial image based on the graphic to be output specifically includes the following steps: Select one of the buildings in the output drawing as the first reference object; Determine the position of the first reference object in the on-site aerial image corresponding to the graphic to be output; The position of the graphic to be output in the on-site aerial image is determined based on the position of the first reference object; By using a pre-set image correction model and combining it with the position of the graphic to be output in the on-site aerial image, the on-site aerial image is cropped and then corrected. The steps for setting the output parameters also include the following: Select the output category based on the type attribute of the graphic to be output; Based on the type attribute of the graphic to be output, the corresponding historical settings file is obtained from the pre-built file repository. The file repository stores a number of historical settings files, and each historical settings file corresponds to a type attribute. Historical parameters are obtained based on historical settings files.

2. The method for standardizing the graphic image processing of historical and cultural cities according to claim 1, characterized in that, Before obtaining the pre-built graphics and image processing model, the specific steps include: Obtain a pre-built dynamic link library, which pre-stores graphics and image processing models corresponding to different types of attributes; Analyze the graphic to be output and determine the type attributes of the buildings in the graphic. Based on the type attributes of the buildings in the output graphic, select the corresponding graphic image processing model from the dynamic link library.

3. The method for standardizing the graphic image processing of historical and cultural cities according to claim 1, characterized in that, The output drawing categories include traditional residential buildings and historical buildings. The specific steps for outputting the drawings are as follows: Based on the type attribute of the graphic to be output, determine whether the graphic is a traditional residential building or a cultural relic building. If the output graphic is of the traditional residential type, then the output graphic of the traditional residential type will be generated based on the preset first output standard. If the graphic to be output is a cultural relic or architectural design, then the resulting drawings of the cultural relic or architectural design will be output based on the preset second output standard.

4. The method for standardizing the graphic image processing of historical and cultural cities according to claim 3, characterized in that, The output drawings are followed by the following steps: Obtain the pre-generated first standard drawing frame, the dimensions of the first standard drawing frame, and the dimensions of the graphic to be output; Calculate the ratio between the size of the first standard drawing frame and the size of the graphic to be output to obtain the first ratio; Based on the first ratio, the magnification ratio is determined from a pre-constructed frame adjustment library, which stores several ratio intervals, each of which corresponds to a magnification ratio. The dimensions of the first standard drawing frame are enlarged according to the magnification ratio to obtain the actual drawing frame; Output the graphic to be output into the actual drawing frame.

5. A smart terminal, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements a method for standardizing the processing of graphic images of historical and cultural cities as described in any one of claims 1 to 4.

6. A computer-readable storage medium, characterized in that, It includes a readable storage medium and a computer program stored on the readable storage medium and running thereon, the computer program being loaded and executed by a processor to implement a method for standardizing the graphic images of historical and cultural cities as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Unmanned aerial vehicle mobile space information management system and method based on multi-source spatial data

    CN108804675A

  • Method for synthesizing road design drawing and aerial photography live-action special effect

    CN111047712A