AR landscape automatic observation method and system
Calibrating light edge mapping and digital image processing technology through ambient light data, combined with artificial intelligence and geometric transformation algorithms, calibrate and update AR landscape data in real time, solving the problem of lagging response to environmental changes in the existing technology, and achieving efficient and accurate AR Automatic landscape observation and display.
Patent Information
- Application Number
- CN202410903219.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing AR landscape automatic observation methods lack flexibility and adaptive capabilities when dealing with dynamic environmental changes, and rely on preset environmental parameters and slow data update frequency, resulting in insufficient performance under rapidly changing external conditions, lagging information, and affecting decision-making. timeliness and accuracy, and lacks automated and intelligent processing processes, failing to fully utilize the advantages of modern computing resources.
By calculating light edge mapping based on ambient light data, we locate and analyze the outline of AR landscape objects, use digital image processing and artificial intelligence technology to calibrate size parameters in real time, identify geographic information update points, and use geometric transformation algorithms to update the three-dimensional database to generate real-time three-dimensional AR landscapes. Model.
It achieves fast response and accurate object contour recognition in dynamic environments, improves the level of detail of landscape analysis, optimizes data timeliness, reduces manual participation, ensures the real-time and accuracy of AR display, and provides users with richer and sophisticated interactive experience.
Smart Images

Figure CN118447196B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional image technology, and in particular to an AR landscape automatic observation method and system. Background Art
[0002] In the field of three-dimensional image technology, the automatic observation method of AR landscape involves computer vision and image processing technology. It uses advanced algorithms to process and parse image data captured from the real world, and displays it in layers with pre-set virtual image objects or information, thereby creating a mixed reality visual experience. It is widely used in navigation, urban planning, entertainment, education and other fields, providing users with a new way to interact with the environment.
[0003] Among them, the AR landscape automatic observation method is a technical method that uses augmented reality technology to automatically analyze and present the real-world landscape. The purpose is to improve the automation level and efficiency of observation and enhance the user's understanding and interaction with the surrounding environment by embedding virtual data in the user's visual scene. For example, in architectural planning or tourism applications, users can see a three-dimensional preview of future construction projects in the real world or the restoration of historical scenes, thereby providing richer information and enhanced experience.
[0004] Existing AR landscape automatic observation methods lack sufficient flexibility and adaptability when dealing with dynamic environmental changes. They rely on preset environmental parameters and a slow data update frequency, which limits their effectiveness under rapidly changing external conditions. The lack of real-time data processing capabilities leads to information lags in applications such as navigation and urban planning, thereby affecting the timeliness and accuracy of decision-making. Traditional AR landscape automatic observation methods require cumbersome manual intervention when resizing and updating landscape elements, which not only increases the complexity of operations but also increases the probability of errors. The reliance on manual input and updates significantly reduces efficiency and reliability, especially when large-scale data needs to be processed. There is a lack of automated and intelligent processing processes. Existing technologies fail to fully utilize the advantages of modern computing resources and fail to achieve efficient data circulation and utilization. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose an AR landscape automatic observation method and system.
[0006] In order to achieve the above object, the present invention adopts the following technical solution, an AR landscape automatic observation method, comprising the following steps:
[0007] S1: Based on the ambient light data around the AR landscape, the edge intensity map of the AR landscape objects is calculated by comparing the color and light intensity, and the light edge map is generated;
[0008] S2: Based on the light edge mapping, locate the object contour of the AR landscape, analyze the characteristics of mountains, buildings and roads in the AR landscape, and obtain an AR landscape contour feature mapping;
[0009] S3: Based on the AR landscape contour feature mapping, using digital image processing technology, observing the real-time size parameters of the AR landscape objects, calibrating the size error in the AR landscape image, adjusting it to a proportional size, and obtaining AR landscape size calibration data;
[0010] S4: Based on the AR landscape size calibration data, the AR landscape size data is compared with the historical AR landscape size data, and the real-time changes of the AR landscape are automatically observed by using artificial intelligence to obtain updated deviation data;
[0011] S5: Based on the update deviation data, analyze and identify differentiated geographic deviation points, calibrate landscape information points that need to be changed and added, and obtain geographic information update points;
[0012] S6: Based on the geographic information update point, a geometric transformation algorithm is used to update the three-dimensional AR landscape database, adjust the AR landscape elements in the database, and render the landscape hierarchy in the three-dimensional model to generate a three-dimensional AR landscape model.
[0013] As a further solution of the present invention, the light edge mapping includes a light intensity difference map, a color gradient map and a combination result, the AR landscape contour feature mapping includes an image data set of terrain contours, building contours and road contours, the AR landscape size calibration data includes a size ratio map with calibrated parameters and real-world proportions, the update deviation data includes records of size changes, position movements and landscape elements, the geographic information update points include the locations of mountains, buildings and roads that need to be updated and added, and the three-dimensional AR landscape model includes calibrated landscape elements, multi-level landscapes and visual displays of landscape features.
[0014] As a further solution of the present invention, based on the ambient light data around the AR landscape, the edge intensity map of the AR landscape object is calculated by comparing the color and light intensity, and the steps of generating the light edge map are specifically as follows:
[0015] S101: Based on the ambient light data around the AR landscape, measure the intensity and color of the light in differentiated time periods, record data at multiple time points, analyze the law of light changes, and obtain an ambient light change trend graph;
[0016] S102: Based on the ambient light change trend graph, identify changes in light reflection intensity, mark key change points, and locate potential object edge positions to obtain an edge initialization marking graph;
[0017] S103: Based on the edge initialization marking map, the edges marked in the edge initialization marking map are processed to adjust the recognition of the edges, optimize the edge line representation in the image, and generate a light edge map.
[0018] As a further solution of the present invention, based on the light edge mapping, the object contour of the AR landscape is located, the mountain, building and road features in the AR landscape are analyzed, and the steps of obtaining the AR landscape contour feature mapping are specifically as follows:
[0019] S201: Based on the light edge mapping, measuring the edge intensity in the edge initialization mark image, locating the edges of the geographic shape and the man-made structure through edge intensity map analysis, and obtaining an object boundary map;
[0020] S202: Based on the object boundary map, distinguish the AR landscapes of natural and man-made structures, classify the mountain, building and road elements, draw and identify the difference between each type of element, and obtain a category contour line map;
[0021] S203: Based on the category contour map, integrate the analysis data, define visual representation parameters for each landscape, including color and texture, analyze the views of geographic and man-made features, and generate an AR landscape contour feature map.
[0022] As a further solution of the present invention, based on the AR landscape contour feature mapping, using digital image processing technology, observing the real-time size parameters of the AR landscape object, calibrating the size error in the AR landscape image, adjusting it to a proportional size, and obtaining the AR landscape size calibration data are specifically as follows:
[0023] S301: Based on the AR landscape contour feature mapping, real-time size parameters associated with the AR landscape object are collected, and if the mapping data deviates from the real-time observation data, the size of the AR landscape object is re-measured to generate updated size parameter data;
[0024] S302: Based on the updated size parameter data, a Kalman filter algorithm is used to compare and analyze the image size of each AR landscape object. If the detected size error exceeds a preset threshold, the error is adjusted according to the proportional size to generate size calibration intermediate data;
[0025] The Kalman filter algorithm is based on the formula
[0026] ;
[0027] in, is the state estimate updated according to the real-time observations, is the predicted state based on the previous moment, is the real-time observation value, is the Kalman gain, is the observation model, Adjust parameters for innovative noise, is the dynamic adjustment coefficient, is the environment-dependent parameter;
[0028] S303: Based on the size calibration intermediate data, the adjusted proportional size data is applied to the AR landscape model, and the size of the landscape object is matched with the real-time measurement value to obtain AR landscape size calibration data.
[0029] As a further solution of the present invention, based on the AR landscape size calibration data, the AR landscape size data is compared with the historical AR landscape size data, and artificial intelligence is used to automatically observe the real-time changes of the AR landscape, and the steps of obtaining the updated deviation data are specifically as follows:
[0030] S401: Analyze historical size information of the AR landscape position based on the AR landscape size calibration data, record size parameters including data of landscape elements through numerical comparison, and obtain historical and real-time size comparison records;
[0031] S402: Based on the historical and real-time size comparison records, perform a difference analysis between the historical and real-time sizes, determine size changes in the region, including the establishment of new buildings and the demolition of old buildings, mark the changed size areas, and generate size change analysis results;
[0032] S403: Based on the size change analysis results, artificial intelligence is used to automatically observe and record the size changes of the identified areas, measure the positions of the changed areas and the values of the size changes, and update them into the AR landscape model to generate updated deviation data.
[0033] As a further solution of the present invention, based on the update deviation data, the steps of analyzing and identifying differentiated geographic deviation points, calibrating landscape information points that need to be changed and added, and obtaining geographic information update points are specifically as follows:
[0034] S501: Based on the updated deviation data, analyzing the size and position changes of the AR landscape record, classifying and recording the changes of each landscape element, recording the size changes and spatial movements of various objects, and obtaining the changed geographic coordinate records;
[0035] S502: Based on the changed geographic coordinate records, analyze and record key locations where the geographic coordinates have changed, including areas where natural terrain has changed, classify and mark the update requirements of the location changes, and generate classification marks for the changed locations;
[0036] S503: Based on the classification mark of the changed location, analyze the adjusted and newly added landscape information points, including new building outlines, road extensions and adjustments, and terrain reshaping, assign geographic coordinates and descriptions to each point, and generate geographic information update points.
[0037] As a further solution of the present invention, based on the geographic information update point, a geometric transformation algorithm is used to update the three-dimensional AR landscape database, adjust the AR landscape elements in the database, and render the landscape hierarchy in the three-dimensional model. The steps of generating the three-dimensional AR landscape model are specifically as follows:
[0038] S601: Based on the geographic information update point, select the associated geographic coordinates in the three-dimensional AR landscape database. If the coordinates exist in the database, compare the attribute difference between the geographic information update point and the coordinates in the database, update the geographic attribute information of the AR landscape element according to the attribute difference, and generate a geographic information matching result;
[0039] S602: Based on the geographic information matching result, the micro-model structure of the AR landscape element in the database is detected. If the structure is marked as outdated and does not conform to the new attribute information, the layout of the micro-model is adjusted using the new attribute parameters, including modifying the texture, size and position of the micro-model, and generating a micro-model adjustment result.
[0040] S603: Based on the micro-model adjustment result, the adjusted micro-model is rendered, light and shadow and texture rendering is performed, the visual effect of the micro-model is enhanced to match the AR display requirements, and a three-dimensional AR landscape model is obtained.
[0041] An AR landscape automatic observation system, the AR landscape automatic observation system is used to execute the above-mentioned AR landscape automatic observation method, the system comprises:
[0042] The environment monitoring module records the changes of light over time based on the ambient light data around the AR landscape, identifies and marks the areas where light changes, locates objects, and obtains light edge mapping;
[0043] The size capture module measures the sizes of multiple objects in the AR landscape in real time based on the light edge mapping, locates the outlines of the objects by analyzing the object sizes, and generates an AR landscape outline feature map;
[0044] The error analysis module compares the AR landscape contour feature map with the historical size data of the AR landscape object, identifies and calculates the size error, calibrates the size that needs to be adjusted, and obtains the AR landscape size calibration data;
[0045] The data synchronization module updates the size and position information in the three-dimensional AR landscape database based on the AR landscape size calibration data, automatically observes and records the size changes in the differentiated areas, and generates updated deviation data;
[0046] The micro-model rendering module analyzes and records the key locations of geographic coordinate changes based on the updated deviation data, updates the geographic location information of the AR landscape elements, and obtains a three-dimensional AR landscape model by rendering the micro-model of the AR landscape and updating the visual hierarchy of the landscape to match the real-time data.
[0047] Compared with the prior art, the advantages and positive effects of the present invention are:
[0048] In the present invention, by using digital image processing technology and calculating edge intensity maps using ambient light data, the precise edges of objects can be captured in real time, the recognition process of object contours can be improved, and light changes can be responded to faster and more accurately in dynamic environments. The edge data is used to map the detailed contours of objects, improving the level of detail of landscape analysis, making the visual performance of elements such as mountains, buildings and roads more vivid. The AR landscape dimension data is accurately calibrated using geometric transformation technology, and the intelligent comparison with historical data not only optimizes the timeliness of the data, but also reduces manual participation by automatically updating deviation data, accelerates the data processing process, ensures the real-time and accuracy of AR display, provides users with a richer and more sophisticated interactive experience, updates the three-dimensional database and optimizes the rendering process, makes the AR model more realistic in visual effects, and seamlessly connects with the user's actual visual experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a schematic diagram of the workflow of the present invention;
[0050] Figure 2 This is a detailed flow chart of S1 of the present invention;
[0051] Figure 3 This is a detailed flow chart of S2 of the present invention;
[0052] Figure 4 This is a detailed flow chart of S3 of the present invention;
[0053] Figure 5 This is a detailed flow chart of S4 of the present invention;
[0054] Figure 6 This is a detailed flow chart of S5 of the present invention;
[0055] Figure 7 This is a detailed flow chart of S6 of the present invention;
[0056] Figure 8 It is a system flow chart of the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0058] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.
[0059] Embodiment 1
[0060] See also Figure 1 The present invention provides a technical solution, an AR landscape automatic observation method, comprising the following steps:
[0061] S1: Based on the ambient light data around the AR landscape, including the color and intensity of the light, the edge of the AR landscape object is measured, the edge intensity is calculated according to the light data, the light is compared and analyzed, and a light edge map is generated;
[0062] S2: Based on the light edge mapping, locate the object contours of the AR landscape, analyze the characteristics of mountains, buildings and roads in the AR landscape, identify and classify the contour information of each geographical feature, and obtain the AR landscape contour feature mapping;
[0063] S3: Based on the AR landscape contour feature mapping, digital image processing technology is used to observe the real-time size parameters of AR landscape objects, calibrate the size error in the AR landscape image, adjust it to the proportional size, and obtain the AR landscape size calibration data;
[0064] S4: Based on the AR landscape size calibration data, compare it with the historical AR landscape size data, use artificial intelligence to automatically observe the real-time changes of the AR landscape, monitor and record the real-time changes in size, and obtain updated deviation data;
[0065] S5: Based on the updated deviation data, analyze and identify differentiated geographic deviation points, calibrate the landscape information points that need to be changed and added, locate and mark the deviation points, and obtain the geographic information update points;
[0066] S6: Based on the geographic information update points, a geometric transformation algorithm is used to update the 3D AR landscape database, adjust the AR landscape elements in the database, and render the landscape hierarchy in the 3D model to generate a 3D AR landscape model.
[0067] Light edge mapping includes light intensity difference maps, color gradient maps and combined results. AR landscape contour feature mapping includes image data sets of terrain contours, building contours and road contours. AR landscape size calibration data includes a size ratio map with calibrated parameters and real-world proportions. Update deviation data includes records of size changes, position movements and landscape elements. Geographic information update points include the locations of mountains, buildings and roads that need to be updated and added. The three-dimensional AR landscape model includes calibrated landscape elements, multi-level landscapes and visual displays of landscape features.
[0068] See also Figure 2 Based on the ambient light data around the AR landscape, the edge intensity map of the AR landscape object is calculated by comparing the color and light intensity. The steps for generating the light edge map are as follows:
[0069] S101: Based on the ambient light data around the AR landscape, the intensity and color of the light are measured in differentiated time periods, the data at multiple time points are recorded, the law of light change is analyzed, and the execution process of obtaining the ambient light change trend graph is as follows;
[0070] Sub-step S101 uses a linear regression analysis method based on the ambient light data around the AR landscape, and uses Python's Scikit-learn library to perform time-series prediction of light intensity and color. By setting the time point as the independent variable and the light reading as the dependent variable, the least squares method is used to fit the relationship between time and light intensity and color. For the data in each time period, the Numpy library is used to convert the data format and the Pandas library is used to create a time-indexed DataFrame. The plot function in the Matplotlib library is used to draw a time series graph to reflect the light changes at different time points. The linear model is used to predict the light changes at future time points to generate an ambient light change trend graph.
[0071] S102: Based on the ambient light change trend graph, identify the change in light reflection intensity, mark the key change points, and locate the potential edge position of the object to obtain the edge initialization mark graph. The execution process is as follows;
[0072] In sub-step S102, based on the trend graph of ambient light changes, the Sobel algorithm is used for edge detection. The image is converted to grayscale using Python's OpenCV library and the Sobel operator is applied to calculate the gradients in the X and Y directions. The gradients are combined to determine the edge of the light reflection intensity. The kernel size of the Sobel operator is set to 3 and the step size is set to 1 to accurately capture the edge details in the image. The threshold segmentation method is used to binarize the image by setting the threshold to a fixed value, thereby clearly marking key points with large changes. The key points are regarded as potential object edge locations, and an edge initialization marking map is generated.
[0073] S103: Based on the edge initialization mark map, the edges marked in the edge initialization mark map are processed, the recognition of the edges is adjusted, the edge line representation in the image is optimized, and the execution flow of generating the light edge mapping is as follows;
[0074] In sub-step S103, based on the edge initialization marker map, Gaussian blur technology is used to optimize the image edge, and the GaussianBlur function in the OpenCV library is used for edge smoothing. The size of the Gaussian kernel is set to 5x5, and the standard deviation is set to 1.5, which helps to maintain edge clarity while reducing image noise. The parameters of the Canny edge detection algorithm are further adjusted, with the low threshold set to 50 and the high threshold set to 150. Through parameter adjustment, the representation of edge lines is optimized to make them more distinct in the image. BilateralFilter is used for bilateral filtering to refine the edge representation and generate a light edge map.
[0075] See also Figure 3 Based on the light edge mapping, the object contours of the AR landscape are located, and the features of mountains, buildings and roads in the AR landscape are analyzed. The specific steps for obtaining the AR landscape contour feature mapping are as follows:
[0076] S201: Based on the light edge mapping, the edge strength in the edge initialization mark image is measured, and the edges of the geographic shapes and man-made structures are located through edge strength map analysis to obtain the object boundary map. The execution process is as follows;
[0077] Substep S201 is based on ray edge mapping and uses image processing technology to measure the edge strength in the edge initialization marker image. Using Python's OpenCV library, a 5x5 Gaussian kernel is applied to smooth the image through the GaussianBlur method to reduce noise interference. The Canny algorithm is used for edge detection, and the double thresholds are set to 100 and 200 respectively to accurately capture significant edges. The Hough transform is used to extract linear edges in the image, which is executed by setting the threshold to 50, the minimum line length to 100, and the maximum line gap to 10. Through the edge lines, the edges of geographic shapes and man-made structures are analyzed and located to generate an object boundary map.
[0078] S202: Based on the object boundary map, the AR landscape of natural and man-made structures is distinguished, the mountain, building and road elements are classified, and the difference between each type of element is drawn and identified to obtain the category contour line map. The execution process is as follows;
[0079] In sub-step S202, based on the object boundary map, the AR landscape of natural and man-made structures is distinguished. A deep learning method is adopted, and a convolutional neural network model is constructed using the TensorFlow framework and the Keras library. The model includes three convolutional layers, each followed by a maximum pooling layer for extracting image features. The classifier part consists of two fully connected layers, using the ReLU activation function. The output layer uses the Softmax activation function for multi-class classification. The goal of the classification model is to distinguish between mountains, buildings, and road elements in the image. The model training uses cross entropy as the loss function, and the optimizer selects Adam. After the model is trained with the training data set, it is applied to the object boundary map to identify and label elements of different categories and generate a category contour line map.
[0080] S203: Based on the category contour line map, the analysis data is integrated, the visual representation parameters are defined for each landscape, including color and texture, the views of the geographic and man-made features are analyzed, and the execution flow of generating the AR landscape contour feature map is as follows;
[0081] Sub-step S203 integrates and analyzes data based on the category contour map. In this stage, image segmentation technology is used to refine the boundaries of different landscape categories. The k-means clustering algorithm in the OpenCV library is used to perform color segmentation on the image. The number of clusters is set to 3, corresponding to the visual features of natural landscapes, buildings, and roads, respectively. Visual representation parameters, including color and texture, are defined for each category. The color range of each category is determined using the color histogram comparison method. Texture parameters are obtained through grayscale co-occurrence matrix analysis. Detailed views of geographic and man-made features are analyzed to generate AR landscape contour feature maps.
[0082] See also Figure 4 Based on the AR landscape contour feature mapping, digital image processing technology is used to observe the real-time size parameters of AR landscape objects, calibrate the size error in the AR landscape image, adjust it to the proportional size, and obtain the AR landscape size calibration data in the following steps:
[0083] S301: Based on the AR landscape contour feature mapping, real-time size parameters associated with the AR landscape object are collected. If the mapping data deviates from the real-time observation data, the size of the AR landscape object is re-measured to generate updated size parameter data. The execution process is as follows;
[0084] The S301 sub-step is based on AR landscape contour feature mapping, uses real-time data monitoring technology to collect real-time size parameters of AR landscape objects, uses a laser rangefinder to accurately measure the object size, and transmits real-time monitoring data to the central processing unit via a wireless network. The Python NumPy library is used for data analysis. If a deviation is found between the mapping data and the real-time observation data, a re-measurement mechanism is triggered, and the size of the AR landscape object is measured again using three-dimensional scanning technology. The re-measurement process includes comparing the original size data and the new measurement data, calculating the difference between the two, confirming that the deviation exceeds the preset allowable range, and generating updated size parameter data.
[0085] S302: Based on the updated size parameter data, the Kalman filter algorithm is used to compare and analyze the image size of each AR landscape object. If the detected size error exceeds the preset threshold, the error is adjusted according to the proportional size. The execution process of generating size calibration intermediate data is as follows;
[0086] In sub-step S302, based on the updated size parameter data, the image size of each AR landscape object is compared and analyzed, and image processing technology is used, including the function of the OpenCV library, to standardize the image size, and then a pixel comparison method is used to detect the size error. If the detected size error exceeds a preset threshold, that is, the error threshold is set to a pixel difference of 5%, an image scaling technology is used to adjust it according to the error ratio. By setting the image scaling factor, such as setting the image scaling factor to the ratio of the original size to the measured size, a scaling operation is performed to calibrate the image size, and generate intermediate size calibration data.
[0087] The Kalman filter algorithm follows the formula
[0088] ;
[0089] in, is the state estimate updated according to the real-time observations, is the predicted state based on the previous moment, is the real-time observation value, is the Kalman gain, is the observation model, Adjust parameters for innovative noise, is the dynamic adjustment coefficient, is the environment-dependent parameter;
[0090] The execution flow is as follows:
[0091] Update state estimate based on previous state and real-time observations , introducing innovative noise adjustment parameters , increase the model's adaptability to unforeseen noise and calculate the dynamic adjustment coefficient , automatically adjusted according to changes in environmental data, used to optimize prediction accuracy, environment-dependent parameters Adjust error estimates based on real-time data collected in actual application scenarios to improve the system's response speed to environmental changes and generate calibrated dimensional parameter values.
[0092] S303: Based on the intermediate size calibration data, the adjusted scale size data is applied to the AR landscape model, the size of the landscape object is matched with the real-time measurement value, and the execution process of obtaining the AR landscape size calibration data is as follows;
[0093] Sub-step S303 applies the adjusted scale dimension data to the AR landscape model based on the dimension calibration intermediate data, which involves updating the dimension parameters of the AR model and adjusting the dimensions of the landscape objects to match the real-time measurements using 3D modeling software, such as Autodesk 3ds Max. The update operation includes modifying the scale properties of the model to ensure that the 3D dimensions of each object are consistent with the latest calibration data, verifying the accuracy of the dimensions through a rendering process, ensuring that all landscape objects visually match the actual measured dimensions, and generating AR landscape dimension calibration data.
[0094] See also Figure 5 Based on the AR landscape size calibration data, the AR landscape size data is compared with the historical AR landscape size data. The steps of automatically observing the real-time changes of the AR landscape and obtaining the updated deviation data are as follows:
[0095] S401: Based on the AR landscape size calibration data, the historical size information of the AR landscape position is analyzed, and the size parameters, including the data of the landscape elements, are recorded through numerical comparison, and the execution process of obtaining the historical and real-time size comparison records is as follows;
[0096] In sub-step S401, based on the AR landscape dimension calibration data, historical data analysis technology is used to analyze the historical dimension information of the AR landscape location, and a database management system such as MySQL is used to store historical and real-time dimension data. The SQL query language is used to merge the historical and real-time data tables through the JOIN operation, and the length, width and height data of the landscape elements are numerically compared. The data is processed and analyzed through the Python Pandas library, the dimension parameters at each time point are recorded, and a visual chart of the dimension changes is generated through the Matplotlib library to obtain a comparison record of historical and real-time dimensions.
[0097] S402: Based on the historical and real-time size comparison records, the difference analysis between the historical and real-time sizes is performed to determine the size changes of the region, including the establishment of new buildings and the demolition of old buildings, and the changed size areas are marked. The execution process of generating the size change analysis results is as follows;
[0098] Sub-step S402 performs a difference analysis of historical and real-time dimensions based on the historical and real-time dimension comparison records, using statistical analysis methods, including using Python's SciPy library to perform statistical tests, such as t-test to determine the significance of dimension changes, analyzing and revealing the trend of regional dimension changes, including the establishment of new buildings and the demolition of old buildings, using the OpenCV library for image processing, marking the dimension areas with significant changes, identifying the building dimensions that have changed significantly by setting thresholds, and generating dimension change analysis results.
[0099] S403: Based on the size change analysis results, artificial intelligence is used to automatically observe and record the size changes of the identified areas, measure the location of the changed areas and the value of the size changes, and update them to the AR landscape model. The execution process of generating updated deviation data is as follows;
[0100] Based on the size change analysis results, sub-step S403 uses artificial intelligence technology to automatically observe and record the size changes of the identified areas, adopts machine learning models, such as neural network models built using Python's TensorFlow library, to automatically identify the patterns and trends of size changes, measures the location of the changed area and the value of the size change, integrates and updates the measurement results into the AR landscape model, uses 3D modeling tools such as Blender to adjust the model size to match the new data, ensures the real-time accuracy of the model, and generates updated deviation data.
[0101] See also Figure 6 , based on the updated deviation data, analyze and identify the differentiated geographic deviation points, calibrate the landscape information points that need to be changed and added, and obtain the steps of the geographic information update points as follows:
[0102] S501: Based on the updated deviation data, the size and position changes of the AR landscape record are analyzed, the changes of each landscape element are classified and recorded, and the size changes and spatial movements of various objects are recorded to obtain the execution process of the changed geographic coordinate record is as follows;
[0103] Based on the updated deviation data, sub-step S501 uses geographic information system (GIS) technology to analyze the size and position changes of AR landscape records. Using ArcGIS software, the updated deviation data, including the size and position information of each landscape element, is imported. Through spatial analysis tools, the changes of each landscape element are classified and recorded, including the use of spatial query functions to analyze the geographic location and size changes of landscape elements, and record the size changes and spatial movements of various objects including buildings, roads and natural landscapes. By setting query parameters, objects with significant changes are screened out to obtain records of changed geographic coordinates.
[0104] S502: Based on the changed geographic coordinate records, analyze and record the key locations where the geographic coordinates have changed, including areas where the natural terrain has changed, classify and mark the update requirements of the location changes, and generate the execution process of the changed location classification mark as follows;
[0105] Based on the records of changed geographic coordinates, sub-step S502 uses geographic information analysis technology, including the advanced analysis functions of QGIS software, to analyze and record key locations of geographic coordinate changes, and uses digital elevation models (DEMs) to perform terrain analysis on natural terrain change areas to identify terrain changes caused by landslides or river erosion. At the same time, attribute query and spatial filtering techniques are used to classify and mark update requirements for location changes, including new building areas, road adjustment areas, and eroded terrain, and generate classification tags for changed locations.
[0106] S503: Based on the classification mark of the changed location, the adjusted and newly added landscape information points are analyzed, including new building outlines, road extensions and adjustments, and terrain reshaping, and geographic coordinates and descriptions are assigned to each point. The execution process of generating geographic information update points is as follows;
[0107] Sub-step S503 classifies and marks the changed locations, uses urban planning and geographic modeling technology, analyzes the adjusted and newly added landscape information points, uses AutoCAD Civil 3D for three-dimensional geographic modeling, designs and models new building outlines, road extensions and adjustments, and terrain reshaping, and assigns precise geographic coordinates and detailed descriptions to each updated point, including building height, road width, and terrain features, to ensure that all updated information points are accurately reflected in the AR landscape model and to generate geographic information update points.
[0108] See also Figure 7 , based on the geographic information update point, the geometric transformation algorithm is used to update the 3D AR landscape database, adjust the AR landscape elements in the database, and render the landscape hierarchy in the 3D model. The specific steps for generating the 3D AR landscape model are:
[0109] S601: Based on the geographic information update point, select the associated geographic coordinates in the 3D AR landscape database. If the coordinates exist in the database, compare the attribute differences between the geographic information update point and the coordinates in the database, and update the geographic attribute information of the AR landscape element according to the attribute differences. The execution process of generating the geographic information matching result is as follows;
[0110] In sub-step S601, based on the geographic information update point, the database query technology is used to select the associated geographic coordinates in the three-dimensional AR landscape database, and the query is executed through the SQL query language, connected to the PostgreSQL database storing the geographic information, and the SELECT statement and INNER JOIN operation are used to compare the coordinates of the geographic information update point with the coordinates stored in the database. If the coordinate exists in the database, the difference query (EXCEPT) is used to find out the attribute differences, such as the height of the coordinate point and the type of area used. According to the attribute differences, the geographic attribute information of the AR landscape element is updated through the UPDATE statement, such as updating the number of floors and floor area of the building, to generate a geographic information matching result.
[0111] S602: Based on the geographic information matching result, the micro-model structure of the AR landscape element in the database is detected. If the structure is marked as outdated and does not conform to the new attribute information, the layout of the micro-model is adjusted using the new attribute parameters, including modifying the texture, size and position of the micro-model. The execution process of generating the micro-model adjustment result is as follows;
[0112] Based on the geographic information matching results, sub-step S602 detects the micro-model structure of the AR landscape elements in the database, uses Python scripts in combination with SQL query language to identify micro-model structures marked as outdated, and compares the creation date of the micro-model with the most recent update date. If it is found that it does not conform to the new attribute information, the layout of the micro-model is adjusted using the Blender API according to the new attribute parameters, such as the new height and area of the building, including modifying the texture, size and position of the micro-model. This is executed by adjusting the texture mapping and size scaling parameters in Blender to generate the micro-model adjustment result.
[0113] S603: Based on the micro-model adjustment result, the adjusted micro-model is rendered, light and shadow and texture rendering are performed, and the visual effect of the micro-model is enhanced to match the AR display requirements. The execution process of obtaining the three-dimensional AR landscape model is as follows;
[0114] Sub-step S603 renders the adjusted micro-model based on the micro-model adjustment result, uses advanced rendering technology, such as the light and shadow and texture rendering functions of the Unity engine, imports the adjusted micro-model into the Unity environment, sets the ambient light parameters and material properties, such as light intensity, light color, and material reflectivity and texture details, executes the rendering process, and obtains a three-dimensional AR landscape model by setting the visual effect of the micro-model to match the AR display requirements.
[0115] See also Figure 8 , an AR landscape automatic observation system, the AR landscape automatic observation system is used to execute the above-mentioned AR landscape automatic observation method, the system comprises:
[0116] The environment monitoring module records the changes of light over time based on the ambient light data around the AR landscape, identifies and marks the areas where light changes, locates objects, and obtains light edge mapping;
[0117] The size capture module measures the sizes of multiple objects in the AR landscape in real time based on light edge mapping, locates the outline of the object by analyzing the size of the object, and generates an AR landscape outline feature map;
[0118] The error analysis module compares the AR landscape contour feature mapping with the historical size data of the AR landscape object, identifies and calculates the size error, calibrates the size that needs to be adjusted, and obtains the AR landscape size calibration data;
[0119] The data synchronization module updates the size and position information in the 3D AR landscape database based on the AR landscape size calibration data, automatically observes and records the size changes in differentiated areas, and generates updated deviation data;
[0120] The micro-model rendering module analyzes and records the key locations of geographic coordinate changes based on the updated deviation data, updates the geographic location information of AR landscape elements, and obtains a three-dimensional AR landscape model by rendering the micro-model of the AR landscape and updating the visual hierarchy of the landscape to match the real-time data.
[0121] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. An AR landscape automatic observation method, It is characterized in that The following steps are involved: Based on the ambient light data around the AR landscape, the edge intensity map of the AR landscape objects is calculated by comparing the color and light intensity, and the light edge map is generated; Based on the light edge mapping, the object contours of the AR landscape are located, and the features of mountains, buildings and roads in the AR landscape are analyzed to obtain an AR landscape contour feature mapping; Based on the AR landscape contour feature mapping, using digital image processing technology, observing the real-time size parameters of the AR landscape objects, calibrating the size error in the AR landscape image, adjusting it to a proportional size, and obtaining AR landscape size calibration data; Based on the AR landscape size calibration data, the AR landscape size data is compared with the historical AR landscape size data, and the real-time changes of the AR landscape are automatically observed by using artificial intelligence to obtain updated deviation data; Based on the update deviation data, analyze and identify differentiated geographic deviation points, calibrate landscape information points that need to be changed and added, and obtain geographic information update points; Based on the geographic information update point, a geometric transformation algorithm is adopted to update the three-dimensional AR landscape database, adjust the AR landscape elements in the database, and render the landscape hierarchy in the three-dimensional model to generate a three-dimensional AR landscape model.
2. The AR landscape automatic observation method according to claim 1, It is characterized in that The light edge mapping includes a light intensity difference map, a color gradient map and a combination result; the AR landscape contour feature mapping includes an image data set of terrain contours, building contours and road contours; the AR landscape size calibration data includes a size ratio map with calibrated parameters and real-world proportions; the update deviation data includes records of size changes, position movements and landscape elements; the geographic information update points include the locations of mountains, buildings and roads that need to be updated and added; and the three-dimensional AR landscape model includes calibrated landscape elements, multi-level landscapes and visual displays of landscape features.
3. The AR landscape automatic observation method according to claim 1, It is characterized in that Based on the ambient light data around the AR landscape, the edge intensity map of the AR landscape object is calculated by comparing the color and light intensity. The steps to generate the light edge map are as follows: Based on the ambient light data around the AR landscape, the intensity and color of the light are measured in differentiated time periods, the data at multiple time points are recorded, the law of light changes is analyzed, and a trend chart of ambient light changes is obtained; Based on the ambient light change trend graph, identify changes in light reflection intensity, mark key change points, and locate potential object edge positions to obtain an edge initialization marking graph; Based on the edge initialization marking map, the edges marked in the edge initialization marking map are processed, the recognition of the edges is adjusted, the edge line representation in the image is optimized, and the light edge mapping is generated.
4. The AR landscape automatic observation method according to claim 1, It is characterized in that Based on the light edge mapping, the object contours of the AR landscape are located, the features of mountains, buildings and roads in the AR landscape are analyzed, and the steps of obtaining the AR landscape contour feature mapping are specifically as follows: Based on the light edge mapping, edge strength in the edge initialization marker image is measured, and edges of geographic shapes and man-made structures are located through edge strength map analysis to obtain an object boundary map; Based on the object boundary map, the AR landscape of natural and man-made structures is distinguished, the mountain, building and road elements are classified, and the difference of each type of element is drawn and identified to obtain a category contour line map; Based on the category contour map, the analytical data is integrated to define visual representation parameters for each landscape, including color and texture, analyze the views of geographical and man-made features, and generate AR landscape contour feature maps.
5. The AR landscape automatic observation method according to claim 1, It is characterized in that Based on the AR landscape contour feature mapping, the steps of observing the real-time size parameters of the AR landscape objects by using digital image processing technology, calibrating the size error in the AR landscape image, adjusting the size to a proportional size, and obtaining the AR landscape size calibration data are specifically as follows: Based on the AR landscape contour feature mapping, real-time size parameters associated with the AR landscape object are collected, and if the mapping data deviates from the real-time observation data, the size of the AR landscape object is re-measured to generate updated size parameter data; Based on the updated size parameter data, a Kalman filter algorithm is used to compare and analyze the image size of each AR landscape object. If the detected size error exceeds a preset threshold, the error is adjusted according to the proportional size to generate size calibration intermediate data. The Kalman filter algorithm is based on the formula ; in, is the state estimate updated according to the real-time observations, is the predicted state based on the previous moment, is the real-time observation value, is the Kalman gain, is the observation model, Adjust parameters for innovative noise, is the dynamic adjustment coefficient, is the environment-dependent parameter; Based on the size calibration intermediate data, the adjusted proportional size data is applied to the AR landscape model, and the size of the landscape object is matched with the real-time measurement value to obtain the AR landscape size calibration data.
6. The AR landscape automatic observation method according to claim 1, It is characterized in that Based on the AR landscape size calibration data, the AR landscape size data is compared with the historical AR landscape size data, and the real-time changes of the AR landscape are automatically observed by artificial intelligence to obtain the updated deviation data in the following steps: Based on the AR landscape dimension calibration data, historical dimension information of the AR landscape location is analyzed, and dimension parameters, including data of landscape elements, are recorded through numerical comparison to obtain historical and real-time dimension comparison records; Based on the historical and real-time size comparison records, a difference analysis between the historical and real-time sizes is performed to determine size changes in the region, including the establishment of new buildings and the demolition of old buildings, and the changed size areas are marked to generate size change analysis results; Based on the size change analysis results, artificial intelligence is used to automatically observe and record the size changes of the identified areas, measure the location of the changed areas and the value of the size changes, and update them to the AR landscape model to generate updated deviation data.
7. The AR landscape automatic observation method according to claim 1, It is characterized in that Based on the update deviation data, the steps of analyzing and identifying differentiated geographic deviation points, calibrating landscape information points that need to be changed and added, and obtaining geographic information update points are specifically as follows: Based on the updated deviation data, the size and position changes of the AR landscape records are analyzed, the changes of each landscape element are classified and recorded, the size changes and spatial movements of various objects are recorded, and the change geographic coordinate records are obtained; Based on the changed geographic coordinate records, analyzing and recording key locations where the geographic coordinates have changed, including areas where natural terrain has changed, classifying and marking the update requirements for location changes, and generating classification marks for the changed locations; Based on the classification marks of the changed locations, the adjusted and newly added landscape information points are analyzed, including new building outlines, road extensions and adjustments, and terrain reshaping, and geographic coordinates and descriptions are assigned to each point to generate geographic information update points.
8. The AR landscape automatic observation method according to claim 1, It is characterized in that Based on the geographic information update point, a geometric transformation algorithm is used to update the three-dimensional AR landscape database, adjust the AR landscape elements in the database, and render the landscape hierarchy in the three-dimensional model. The steps of generating the three-dimensional AR landscape model are specifically as follows: Based on the geographic information update point, the associated geographic coordinates in the three-dimensional AR landscape database are selected. If the coordinates exist in the database, the attribute differences between the geographic information update point and the coordinates in the database are compared, and the geographic attribute information of the AR landscape element is updated according to the attribute differences to generate a geographic information matching result; Based on the geographic information matching result, the micro-model structure of the AR landscape element in the database is detected, and if the structure is marked as outdated and does not conform to the new attribute information, the layout of the micro-model is adjusted using the new attribute parameters, including modifying the texture, size and position of the micro-model, and generating a micro-model adjustment result; Based on the micro-model adjustment result, the adjusted micro-model is rendered, and light and shadow and texture rendering are performed to enhance the visual effect of the micro-model to match the AR display requirements, and obtain a three-dimensional AR landscape model.
9. An AR landscape automatic observation system, It is characterized in that According to the AR landscape automatic observation method according to any one of claims 1 to 8, the system comprises: The environment monitoring module records the changes of light over time based on the ambient light data around the AR landscape, identifies and marks the areas where light changes, locates objects, and obtains light edge mapping; The size capture module measures the sizes of multiple objects in the AR landscape in real time based on the light edge mapping, locates the outlines of the objects by analyzing the object sizes, and generates an AR landscape outline feature map; The error analysis module compares the AR landscape contour feature map with the historical size data of the AR landscape object, identifies and calculates the size error, calibrates the size that needs to be adjusted, and obtains the AR landscape size calibration data; The data synchronization module updates the size and position information in the three-dimensional AR landscape database based on the AR landscape size calibration data, automatically observes and records the size changes in the differentiated areas, and generates updated deviation data; The micro-model rendering module analyzes and records the key locations of geographic coordinate changes based on the updated deviation data, updates the geographic location information of the AR landscape elements, and obtains a three-dimensional AR landscape model by rendering the micro-model of the AR landscape and updating the visual hierarchy of the landscape to match the real-time data.
Citation Information
Patent Citations
Quick three-dimensional virtual scene constructing method
CN104835202A
Method and device for displaying virtual object based on illumination intensity
CN113552942A
