Two-dimensional and three-dimensional integrated LED display method
By adopting a unified coordinate system and contour point set judgment method in two-dimensional and three-dimensional geographic information systems, the data consistency problem is solved, and the synchronous display and positioning of two-dimensional and three-dimensional data is realized, which improves management efficiency and data Visualization.
Patent Information
- Application Number
- CN202411102518.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-12-13
AI Technical Summary
The existing technology cannot effectively ensure the data consistency of two-dimensional and three-dimensional geographic information systems, making it difficult to achieve accurate verification of spatial information and position synchronization in the integrated display of two-dimensional and three-dimensional.
The unified coordinate system is used to divide the two-dimensional and three-dimensional maps into sub-maps, and the corner points are aligned and the center points are used to judge the display range using the contour point set to realize the mutual positioning and switching of two-dimensional and three-dimensional data to ensure the consistency of the data.
The relationship between three-dimensional maps and two-dimensional maps is realized. Through the unified coordinate system and contour point set judgment, the consistency and position display of two- and three-dimensional spatial data are ensured, and the data visualization and management efficiency is improved.
Smart Images

Figure CN119127361A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of GIS information display, and in particular to a two-dimensional and three-dimensional integrated LED display method. Background Art
[0002] The 3D GIS has good visual expression effects, but also has the disadvantages of large display area, large resource consumption and poor performance when more models need to be rendered. The 2D GIS has the advantages of simple spatial data, good performance, low resource consumption, more abstraction and more comprehensiveness, but the 2D GIS is weak in expressing specific models and details.
[0003] At present, in the practical application process of various fields, the two-dimensional GIS and three-dimensional GIS are often used independently. How to combine the two and perform two-dimensional and three-dimensional integrated display is a technical problem that people in this field need to solve urgently.
[0004] Two-dimensional and three-dimensional integration is an emerging technology that can integrate two-dimensional spatial data and three-dimensional spatial data into a unified model, so as to better visualize and analyze, realize the integrated expression of two-dimensional and three-dimensional geographic information systems, give full play to the advantages of both, learn from each other, and provide excellent geographic information services for different users and different applications, and provide data support for managers' decision-making, thereby improving management efficiency and accuracy.
[0005] In the process of merging 2D spatial data and 3D spatial data, the consistency of 2D and 3D spatial data needs to be ensured. In the process of 2D and 3D integrated display, it is necessary to realize 2D positioning 3D or 3D positioning 2D, so as to realize the verification of spatial information.
[0006] In the existing technology, the consistency of two-dimensional and three-dimensional spatial data cannot be guaranteed. Summary of the invention
[0007] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a two-dimensional and three-dimensional integrated LED display method.
[0008] In order to achieve the above object, the present invention adopts the following technical solutions:
[0009] A two-dimensional and three-dimensional integrated LED display method comprises the following steps:
[0010] Step 1: Obtain two-dimensional maps and three-dimensional maps, and process the obtained two-dimensional maps and three-dimensional maps. Two-dimensional map processing includes: layer processing, masking and blurring effects, programming and algorithm application, WMTS layer addition, data visualization and map configuration;
[0011] 3D map processing includes: data preprocessing, 3D modeling and rendering, application of BIM technology, automatic recognition and editing, and model optimization;
[0012] The two-dimensional map and the three-dimensional map adopt a unified coordinate system, and the two-dimensional map and the three-dimensional map are divided into two-dimensional sub-maps and three-dimensional sub-maps according to the area, and a mapping relationship is established between the two-dimensional sub-map and the three-dimensional sub-map;
[0013] Step 2: Input the switching command between the 2D map and the 3D map through the LED screen. The switching command includes full switching and regional switching. If the switching command is full switching, go to step 3; otherwise, go to step 4.
[0014] Step 3: Fully switch between 2D and 3D display;
[0015] Step 301: If the current LED display is a two-dimensional map, obtain the first corner point and the first center point of the two-dimensional map, align the second corner point of the three-dimensional submap with the first corner point of the two-dimensional map, align the second center point of the three-dimensional map with the first center point of the two-dimensional map, display the three-dimensional map, and hide the two-dimensional map at the same time;
[0016] If the current LED display includes both a two-dimensional sub-map and a three-dimensional sub-map, go to step 401;
[0017] Step 302: If the current LED display is a three-dimensional map, obtain a second corner point and a second center point of the three-dimensional map, align the second corner point of the three-dimensional map with the first corner point of the two-dimensional map, align the second center point of the three-dimensional map with the first center point of the two-dimensional map, display the two-dimensional map, and hide the three-dimensional map at the same time;
[0018] Step 4: Switch the display between the two-dimensional and three-dimensional parts;
[0019] Step 401: If the area to be switched currently displays a two-dimensional submap, retrieve a three-dimensional submap corresponding to the two-dimensional submap, obtain the third center point of the two-dimensional submap, and obtain the first contour point set and the fourth center point in the three-dimensional submap;
[0020] Align the third center point of the two-dimensional submap with the fourth center point of the three-dimensional submap, and determine whether the first contour point set of the three-dimensional submap coincides with the contour point set of the three-dimensional submap of the adjacent area. If so, display the three-dimensional submap and hide the two-dimensional submap;
[0021] If not, rotate the 3D submap by an angle θ until any n points in the first contour point set of the 3D submap coincide with the contour point set of the 3D submap of the adjacent area, display the 3D submap, and hide the 2D submap;
[0022] Step 402: If the area to be switched currently displays a 3D submap, retrieve the 2D submap corresponding to the 3D submap, obtain the fourth center point of the 3D submap, and obtain the second contour point set and the third center point in the 2D submap;
[0023] Align the third center point of the two-dimensional submap with the fourth center point of the three-dimensional submap, and determine whether the second contour point set of the two-dimensional submap coincides with the contour point set of the two-dimensional submap of the adjacent area. If so, display the two-dimensional submap and hide the three-dimensional submap;
[0024] If not, the 2D submap is rotated by an angle θ until any n points in the second contour point set of the 2D submap coincide with the contour point set of the 2D submap of the adjacent area, and the 2D submap is displayed while the 3D submap is hidden.
[0025] Preferably, the specific method for determining whether the first contour point set of the three-dimensional submap coincides with the contour point set of the three-dimensional submap of the adjacent area is: randomly selecting n points from the first contour point set, and if the n points fall into the contour point set of the three-dimensional submap of the adjacent area, then it is considered to coincide;
[0026] The specific method for determining whether the second contour point set of the two-dimensional submap coincides with the contour point set of the two-dimensional submap of the adjacent area is: randomly selecting n points from the second contour point set, and if the n points fall into the contour point set of the two-dimensional submap of the adjacent area, then they are considered to coincide; the n is ≥ 3.
[0027] Preferably, in step 1, the mapping relationship includes a two-dimensional sub-map, a three-dimensional sub-map and a sub-map symbol, wherein the sub-map symbol includes a two-dimensional sub-map symbol and a three-dimensional sub-map symbol.
[0028] Preferably, the two-dimensional sub-map symbol includes keywords and / or symbolic icons, and the three-dimensional sub-map symbol includes keywords and / or symbolic icons.
[0029] Preferably, the first corner point of the two-dimensional map includes the upper left corner of the two-dimensional map and the lower right corner of the two-dimensional map, and the second corner point of the three-dimensional map includes the upper left corner of the three-dimensional map and the lower right corner of the three-dimensional map.
[0030] Preferably, the first corner point of the two-dimensional map is extracted using a CornerNet model, and the second corner point of the three-dimensional map is extracted using a CornerNet model.
[0031] Preferably, the first contour point set in the three-dimensional submap is extracted by Replicant deformable convolution, and the second contour point set in the two-dimensional submap is extracted by Replicant deformable convolution.
[0032] Preferably, the fourth center point of the three-dimensional submap is the projection center point of projecting all points, lines and surfaces in the three-dimensional submap onto the two-dimensional plane, and the second center point of the three-dimensional map is the projection center point of projecting all points, lines and surfaces in the three-dimensional map onto the two-dimensional plane.
[0033] Preferably, in the step 1, data preprocessing: before performing three-dimensional map processing, it is usually necessary to preprocess the original data, including the conversion and processing of terrain data; 3D modeling and rendering: using professional 3D modeling software, such as 3ds Max or BlueDer, to model and render terrain data; including the creation of terrain models, the production of texture maps, and the optimization of models; application of BIM technology: BIM technology also plays an important role in three-dimensional map processing. Through the online preview of BIM files by floor, the map can be edited using the BIM online editor, including the modification and deletion of converted BIM components; automatic recognition and editing: including the editing of BIM components and the drawing of navigation lines; model optimization: automatically simplifying the model function, which can be automatically optimized according to the complexity of the map to improve the display performance.
[0034] Preferably, in the step 1, layer processing: by copying the layer and adjusting its opacity and color, the visual effect of the map can be adjusted; mask and blur effect: by copying the layer and applying Alpha inversion mask and blur effect, such as directional blur, the three-dimensional sense and detail expression of the map can be enhanced; programming and algorithm application: using programming languages such as Matlab, the two-dimensional map can be reconstructed by the particle filter algorithm, which involves reading robot control commands and sensor data, using the particle filter algorithm to infer the robot position, and determining the final position and the complete map by weighted averaging all particles; WMTS layer addition: in the map application, map data can be added or managed by configuring the WMTS layer, which involves setting the layer format, resolution, matrix set name, style and other parameters, and then adding the WMTS layer to the map to achieve the positioning of the map and the adjustment of the zoom level; data visualization and map configuration: in the data visualization tool, the map can be configured in detail, including the setting of the area name, font style, font size adjustment, and text processing.
[0035] In the present invention, the beneficial effects of the two-dimensional and three-dimensional integrated LED display method are as follows:
[0036] 1. The invention has a simple structure, reasonable design, and is easy to implement and operate.
[0037] 2. The present invention aligns the second corner point of the three-dimensional map with the first corner point of the two-dimensional map, and aligns the second center point of the three-dimensional map with the first center point of the two-dimensional map, thereby realizing the association between the three-dimensional map and the two-dimensional map. The two-dimensional map is loaded into the three-dimensional map, thereby realizing an intuitive description of the real world by the LED display. The two-dimensional map and the three-dimensional map use a unified coordinate system, and there is no need to convert the coordinates, thereby realizing the mutual positioning function of locating the three-dimensional model by the two-dimensional data and locating the two-dimensional data by the three-dimensional model.
[0038] 3. The present invention uses contour point sets and center points to determine the display range of two-dimensional spatial data and three-dimensional spatial data, and uses contour point sets and center points as linkage media to achieve two- and three-dimensional synchronous display of positions, two- and three-dimensional mutual positioning, two- and three-dimensional linkage, and verification of two- and three-dimensional spatial data switching. It can provide powerful auxiliary functions for users to inspect the surrounding conditions of the project, accurately locate the position of the measured area, and visualize the current land use status.
[0039] 4. In the present invention, the two-dimensional sub-map corresponds to the two-dimensional spatial sub-data, and the three-dimensional sub-map corresponds to the three-dimensional spatial sub-data. The three-dimensional spatial sub-data and the two-dimensional spatial sub-data are stored in the same database and associated with each other, thereby ensuring the consistency of the two-dimensional and three-dimensional spatial data.
[0040] In summary, the present invention has a simple structure and a reasonable design. It uses corner points and center points to realize the association between three-dimensional maps and two-dimensional maps, uses contour point sets and center points to determine the display range of two-dimensional spatial data and three-dimensional spatial data, realizes two- and three-dimensional synchronous display of positions, two- and three-dimensional mutual positioning, realizes verification of two- and three-dimensional spatial data switching, and ensures the consistency of two- and three-dimensional spatial data. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 The figure is a flow chart of the method of the present invention.
[0042] Figure 2 This is a flow chart of the method for switching between two-dimensional and three-dimensional display according to the present invention. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0044] Embodiment 1
[0045] like Figure 1 As shown, a two-dimensional and three-dimensional integrated LED display method of the present invention comprises the following steps:
[0046] Step 1: Obtain a two-dimensional map and a three-dimensional map. The two-dimensional map and the three-dimensional map use a unified coordinate system, divide the two-dimensional map and the three-dimensional map into two-dimensional sub-maps and three-dimensional sub-maps according to regions, and establish a mapping relationship between the two-dimensional sub-map and the three-dimensional sub-map.
[0047] It should be noted that the two-dimensional map corresponds to two-dimensional spatial data, and the three-dimensional map corresponds to three-dimensional spatial data. The three-dimensional spatial data and the two-dimensional spatial data are stored and associated in the same database to ensure the consistency of the two-dimensional and three-dimensional spatial data.
[0048] The two-dimensional sub-map corresponds to the two-dimensional spatial sub-data, and the three-dimensional sub-map corresponds to the three-dimensional spatial sub-data. The three-dimensional spatial sub-data and the two-dimensional spatial sub-data are stored and associated in the same database to ensure the consistency of the two-dimensional and three-dimensional spatial data.
[0049] In this embodiment, the mapping relationship in step 1 includes a two-dimensional sub-map, a three-dimensional sub-map, and a sub-map symbol, wherein the sub-map symbol includes a two-dimensional sub-map symbol and a three-dimensional sub-map symbol.
[0050] In this embodiment, the two-dimensional sub-map symbol includes a keyword and / or a symbolic icon, and the three-dimensional sub-map symbol includes a keyword and / or a symbolic icon.
[0051] It should be noted that the 2D sub-map symbols include keywords and / or symbolic icons, and the 3D sub-map symbols include keywords and / or symbolic icons. For example, the 2D sub-map symbols include 2D ** district, 2D ** park, 2D ** tower, etc. The 3D sub-map symbols include 3D ** district, 3D ** park, 3D ** tower, etc.
[0052] When the user clicks on a 2D sub-map symbol or a 3D sub-map symbol, the corresponding 2D sub-map and 3D sub-map will be displayed, thereby providing the user with a more convenient switching operation.
[0053] Step 2: Get the switching instruction between the 2D map and the 3D map. The switching instruction includes full switching and regional switching. If the switching instruction is full switching, go to step 3; otherwise, go to step 4.
[0054] In actual use, after initialization, the LED displays the entire two-dimensional map of the measured area, and the user inputs the switching command through the LED screen. The switching command includes full switching and regional switching. Full switching means that if the current LED screen includes a two-dimensional sub-map, the LED screen will be completely switched to a three-dimensional map. If the current LED screen is a three-dimensional map, the LED screen will be completely switched to a two-dimensional map.
[0055] like Figure 2 As shown, step three, two-dimensional and three-dimensional full switching display;
[0056] Step 301: If the current LED display is a two-dimensional map, obtain the first corner point and the first center point of the two-dimensional map, align the second corner point of the three-dimensional submap with the first corner point of the two-dimensional map, align the second center point of the three-dimensional map with the first center point of the two-dimensional map, display the three-dimensional map, and hide the two-dimensional map at the same time;
[0057] If the current LED display includes a two-dimensional sub-map, go to step 401;
[0058] Step 302: If the current LED display is a three-dimensional map, obtain the second corner point and the second center point of the three-dimensional map, align the second corner point of the three-dimensional map with the first corner point of the two-dimensional map, align the second center point of the three-dimensional map with the first center point of the two-dimensional map, display the two-dimensional map, and hide the three-dimensional map at the same time.
[0059] In actual use, the second corner point of the three-dimensional map is aligned with the first corner point of the two-dimensional map, and the second center point of the three-dimensional map is aligned with the first center point of the two-dimensional map, thereby realizing the association between the three-dimensional map and the two-dimensional map. The two-dimensional map is loaded into the three-dimensional map, and the LED display can intuitively describe the real world. The two-dimensional map and the three-dimensional map use a unified coordinate system, and there is no need to convert the coordinates, thereby realizing the mutual positioning function of locating the three-dimensional model by the two-dimensional data and locating the two-dimensional data by the three-dimensional model.
[0060] It should be noted that, in this embodiment, the first corner point of the two-dimensional map includes the upper left corner and the lower right corner of the two-dimensional map, and the second corner point of the three-dimensional map includes the upper left corner and the lower right corner of the three-dimensional map.
[0061] In this embodiment, the first corner point of the two-dimensional map is extracted using the CornerNet model, and the second corner point of the three-dimensional map is extracted using the CornerNet model.
[0062] Step 4: Switch the display between the two-dimensional and three-dimensional parts;
[0063] Step 401: If the area to be switched currently displays a two-dimensional submap, retrieve a three-dimensional submap corresponding to the two-dimensional submap, obtain the third center point of the two-dimensional submap, and obtain the first contour point set and the fourth center point in the three-dimensional submap;
[0064] Align the third center point of the two-dimensional submap with the fourth center point of the three-dimensional submap, and determine whether the first contour point set of the three-dimensional submap coincides with the contour point set of the three-dimensional submap of the adjacent area. If so, display the three-dimensional submap and hide the two-dimensional submap;
[0065] If not, the 3D submap is rotated by an angle θ until any n points in the first contour point set of the 3D submap coincide with the contour point set of the 3D submap of the adjacent area, and the 3D submap is displayed while the 2D submap is hidden.
[0066] In this embodiment, the contour point set and the center point determine the display range of the two-dimensional spatial data and the three-dimensional spatial data, and use the contour point set and the center point as the linkage medium to realize the two-dimensional and three-dimensional synchronous display of the position, the two-dimensional and three-dimensional mutual positioning, the two-dimensional and three-dimensional linkage, and the verification of the switching of two-dimensional and three-dimensional spatial data. It can provide powerful auxiliary functions for users to inspect the surrounding conditions of the project, accurately locate the position of the measured area, and visualize the current land use status.
[0067] In this embodiment, the first contour point set in the three-dimensional submap is extracted by Replicant deformable convolution, and the second contour point set in the two-dimensional submap is extracted by Replicant deformable convolution.
[0068] In this embodiment, the fourth center point of the three-dimensional submap is the projection center point of projecting all points, lines, and surfaces in the three-dimensional submap onto the two-dimensional plane, and the second center point of the three-dimensional map is the projection center point of projecting all points, lines, and surfaces in the three-dimensional map onto the two-dimensional plane.
[0069] In actual use, the stereo model of the three-dimensional spatial data is projected onto the two-dimensional map, and the projection center point of the three-dimensional submap on the two-dimensional map is used as the fourth center point of the three-dimensional submap, and the projection center point of the three-dimensional map on the two-dimensional map is used as the second center point of the three-dimensional map. This simplifies the process of solving the coordinates of the center point of the three-dimensional spatial data, reduces the amount of calculation, and improves efficiency.
[0070] It should be noted that the specific method for determining whether the first contour point set of the three-dimensional submap coincides with the contour point set of the three-dimensional submap of the adjacent area is: randomly select n points from the first contour point set, and if the n points fall into the contour point set of the three-dimensional submap of the adjacent area, then it is considered to coincide. n≥3.
[0071] Step 402: If the area to be switched currently displays a 3D submap, retrieve the 2D submap corresponding to the 3D submap, obtain the fourth center point of the 3D submap, and obtain the second contour point set and the third center point in the 2D submap;
[0072] In actual use, the third center point of the two-dimensional submap is aligned with the fourth center point of the three-dimensional submap, and it is determined whether the second contour point set of the two-dimensional submap coincides with the contour point set of the two-dimensional submap of the adjacent area. If so, the two-dimensional submap is displayed and the three-dimensional submap is hidden;
[0073] If not, the 2D submap is rotated by an angle θ until any n points in the second contour point set of the 2D submap coincide with the contour point set of the 2D submap of the adjacent area, and the 2D submap is displayed while the 3D submap is hidden.
[0074] It should be noted that the specific method for determining whether the second contour point set of the two-dimensional submap coincides with the contour point set of the two-dimensional submap of the adjacent area is: randomly select n points from the second contour point set, and if the n points fall into the contour point set of the two-dimensional submap of the adjacent area, then they are considered to coincide. n≥3.
[0075] Embodiment 2
[0076] A two-dimensional and three-dimensional integrated LED display method comprises the following steps:
[0077] Step 1: Obtain two-dimensional maps and three-dimensional maps, and process the obtained two-dimensional maps and three-dimensional maps. Two-dimensional map processing includes: layer processing, masking and blurring effects, programming and algorithm application, WMTS layer addition, data visualization and map configuration;
[0078] 3D map processing includes: data preprocessing, 3D modeling and rendering, application of BIM technology, automatic recognition and editing, and model optimization;
[0079] The two-dimensional map and the three-dimensional map adopt a unified coordinate system, and the two-dimensional map and the three-dimensional map are divided into two-dimensional sub-maps and three-dimensional sub-maps according to the area, and a mapping relationship is established between the two-dimensional sub-map and the three-dimensional sub-map;
[0080] Step 2: Input the switching command between the 2D map and the 3D map through the LED screen. The switching command includes full switching and regional switching. If the switching command is full switching, go to step 3; otherwise, go to step 4.
[0081] Step 3: Fully switch between 2D and 3D display;
[0082] Step 301: If the current LED display is a two-dimensional map, obtain the first corner point and the first center point of the two-dimensional map, align the second corner point of the three-dimensional submap with the first corner point of the two-dimensional map, align the second center point of the three-dimensional map with the first center point of the two-dimensional map, display the three-dimensional map, and hide the two-dimensional map at the same time;
[0083] If the current LED display includes both a two-dimensional sub-map and a three-dimensional sub-map, go to step 401;
[0084] Step 302: If the current LED display is a three-dimensional map, obtain a second corner point and a second center point of the three-dimensional map, align the second corner point of the three-dimensional map with the first corner point of the two-dimensional map, align the second center point of the three-dimensional map with the first center point of the two-dimensional map, display the two-dimensional map, and hide the three-dimensional map at the same time;
[0085] Step 4: Switch the display between the two-dimensional and three-dimensional parts;
[0086] Step 401: If the area to be switched currently displays a two-dimensional submap, retrieve a three-dimensional submap corresponding to the two-dimensional submap, obtain the third center point of the two-dimensional submap, and obtain the first contour point set and the fourth center point in the three-dimensional submap;
[0087] Align the third center point of the two-dimensional submap with the fourth center point of the three-dimensional submap, and determine whether the first contour point set of the three-dimensional submap coincides with the contour point set of the three-dimensional submap of the adjacent area. If so, display the three-dimensional submap and hide the two-dimensional submap;
[0088] If not, rotate the 3D submap by an angle θ until any n points in the first contour point set of the 3D submap coincide with the contour point set of the 3D submap of the adjacent area, display the 3D submap, and hide the 2D submap;
[0089] Step 402: If the area to be switched currently displays a 3D submap, retrieve the 2D submap corresponding to the 3D submap, obtain the fourth center point of the 3D submap, and obtain the second contour point set and the third center point in the 2D submap;
[0090] Align the third center point of the two-dimensional submap with the fourth center point of the three-dimensional submap, and determine whether the second contour point set of the two-dimensional submap coincides with the contour point set of the two-dimensional submap of the adjacent area. If so, display the two-dimensional submap and hide the three-dimensional submap;
[0091] If not, the 2D submap is rotated by an angle θ until any n points in the second contour point set of the 2D submap coincide with the contour point set of the 2D submap of the adjacent area, and the 2D submap is displayed while the 3D submap is hidden.
[0092] In this embodiment, the specific method for determining whether the first contour point set of the three-dimensional submap coincides with the contour point set of the three-dimensional submap of the adjacent area is: randomly selecting n points from the first contour point set, and if the n points fall into the contour point set of the three-dimensional submap of the adjacent area, it is considered to coincide;
[0093] The specific method for determining whether the second contour point set of the two-dimensional submap coincides with the contour point set of the two-dimensional submap of the adjacent area is: randomly select n points from the second contour point set, and if the n points fall into the contour point set of the two-dimensional submap of the adjacent area, then they are considered to coincide; n≥3.
[0094] In this embodiment, in step 1, the mapping relationship includes a two-dimensional sub-map, a three-dimensional sub-map, and a sub-map symbol, wherein the sub-map symbol includes a two-dimensional sub-map symbol and a three-dimensional sub-map symbol.
[0095] In this embodiment, the two-dimensional sub-map symbol includes a keyword and / or a symbolic icon, and the three-dimensional sub-map symbol includes a keyword and / or a symbolic icon.
[0096] In this embodiment, the first corner point of the two-dimensional map includes the upper left corner and the lower right corner of the two-dimensional map, and the second corner point of the three-dimensional map includes the upper left corner and the lower right corner of the three-dimensional map.
[0097] In this embodiment, the first corner point of the two-dimensional map is extracted using the CornerNet model, and the second corner point of the three-dimensional map is extracted using the CornerNet model.
[0098] In this embodiment, the first contour point set in the three-dimensional submap is extracted by Replicant deformable convolution, and the second contour point set in the two-dimensional submap is extracted by Replicant deformable convolution.
[0099] In this embodiment, the fourth center point of the three-dimensional submap is the projection center point of projecting all points, lines, and surfaces in the three-dimensional submap onto the two-dimensional plane, and the second center point of the three-dimensional map is the projection center point of projecting all points, lines, and surfaces in the three-dimensional map onto the two-dimensional plane.
[0100] In this embodiment, in step one, data preprocessing: before three-dimensional map processing, it is usually necessary to preprocess the original data, including the conversion and processing of terrain data; 3D modeling and rendering: using professional 3D modeling software, such as 3ds Max or BlueDer, to model and render terrain data; including the creation of terrain models, the production of texture maps and the optimization of models; application of BIM technology: BIM technology also plays an important role in three-dimensional map processing. Through the online preview of BIM files by floor, the map can be edited using the BIM online editor, including the modification and deletion of converted BIM components; automatic recognition and editing: including the editing of BIM components and the drawing of navigation lines; model optimization: automatically simplifying the model function, which can be automatically optimized according to the complexity of the map to improve the display performance.
[0101] In this embodiment, in step 1, layer processing: by copying the layer and adjusting its opacity and color, the visual effect of the map can be adjusted; mask and blur effect: by copying the layer and applying Alpha inversion mask and blur effect, such as directional blur, the three-dimensional sense and detail expression of the map can be enhanced; programming and algorithm application: using programming languages such as Matlab, the two-dimensional map can be reconstructed by the particle filter algorithm. This method involves reading robot control commands and sensor data, using the particle filter algorithm to infer the robot position, and determining the final position and the complete map by weighted averaging all particles; WMTS layer addition: in the map application, map data can be added or managed by configuring the WMTS layer, which involves setting the layer format, resolution, matrix set name, style and other parameters, and then adding the WMTS layer to the map to achieve the positioning and zoom level adjustment of the map; data visualization and map configuration: in the data visualization tool, the map can be configured in detail, including the setting of area names, font style, font size adjustment, and text processing.
[0102] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A two-dimensional and three-dimensional integrated LED display method, characterized in that: The following steps are involved: Step 1: Obtain two-dimensional maps and three-dimensional maps, and process the obtained two-dimensional maps and three-dimensional maps. Two-dimensional map processing includes: layer processing, masking and blurring effects, programming and algorithm application, WMTS layer addition, data visualization and map configuration; 3D map processing includes: data preprocessing, 3D modeling and rendering, application of BIM technology, automatic recognition and editing, and model optimization; The two-dimensional map and the three-dimensional map adopt a unified coordinate system, and the two-dimensional map and the three-dimensional map are divided into two-dimensional sub-maps and three-dimensional sub-maps according to the area, and a mapping relationship is established between the two-dimensional sub-map and the three-dimensional sub-map; Step 2: Input the switching command between the 2D map and the 3D map through the LED screen. The switching command includes full switching and regional switching. If the switching command is full switching, go to step 3; otherwise, go to step 4. Step 3: Fully switch between 2D and 3D display; Step 301: If the current LED display is a two-dimensional map, obtain the first corner point and the first center point of the two-dimensional map, align the second corner point of the three-dimensional submap with the first corner point of the two-dimensional map, align the second center point of the three-dimensional map with the first center point of the two-dimensional map, display the three-dimensional map, and hide the two-dimensional map at the same time; If the current LED display includes both a two-dimensional sub-map and a three-dimensional sub-map, go to step 401; Step 302: If the current LED display is a three-dimensional map, obtain a second corner point and a second center point of the three-dimensional map, align the second corner point of the three-dimensional map with the first corner point of the two-dimensional map, align the second center point of the three-dimensional map with the first center point of the two-dimensional map, display the two-dimensional map, and hide the three-dimensional map at the same time; Step 4: Switch the display between the two-dimensional and three-dimensional parts; Step 401: If the area to be switched currently displays a two-dimensional submap, retrieve a three-dimensional submap corresponding to the two-dimensional submap, obtain the third center point of the two-dimensional submap, and obtain the first contour point set and the fourth center point in the three-dimensional submap; Align the third center point of the two-dimensional submap with the fourth center point of the three-dimensional submap, and determine whether the first contour point set of the three-dimensional submap coincides with the contour point set of the three-dimensional submap of the adjacent area. If so, display the three-dimensional submap and hide the two-dimensional submap; If not, rotate the 3D submap by an angle θ until any n points in the first contour point set of the 3D submap coincide with the contour point set of the 3D submap of the adjacent area, display the 3D submap, and hide the 2D submap; Step 402: If the area to be switched currently displays a 3D submap, retrieve the 2D submap corresponding to the 3D submap, obtain the fourth center point of the 3D submap, and obtain the second contour point set and the third center point in the 2D submap; Align the third center point of the two-dimensional submap with the fourth center point of the three-dimensional submap, and determine whether the second contour point set of the two-dimensional submap coincides with the contour point set of the two-dimensional submap of the adjacent area. If so, display the two-dimensional submap and hide the three-dimensional submap; If not, the 2D submap is rotated by an angle θ until any n points in the second contour point set of the 2D submap coincide with the contour point set of the 2D submap of the adjacent area, and the 2D submap is displayed while the 3D submap is hidden.
2. The two-dimensional and three-dimensional integrated LED display method according to claim 1, characterized in that: The specific method for judging whether the first contour point set of the three-dimensional submap coincides with the contour point set of the three-dimensional submap of the adjacent area is as follows: randomly selecting n points from the first contour point set, and if the n points fall into the contour point set of the three-dimensional submap of the adjacent area, it is considered to coincide; The specific method for determining whether the second contour point set of the two-dimensional submap coincides with the contour point set of the two-dimensional submap of the adjacent area is: randomly selecting n points from the second contour point set, and if the n points fall into the contour point set of the two-dimensional submap of the adjacent area, then they are considered to coincide; the n is ≥ 3.
3. The two-dimensional and three-dimensional integrated LED display method according to claim 2, characterized in that: In the step 1, the mapping relationship includes a two-dimensional sub-map, a three-dimensional sub-map and a sub-map symbol, wherein the sub-map symbol includes a two-dimensional sub-map symbol and a three-dimensional sub-map symbol.
4. The two-dimensional and three-dimensional integrated LED display method according to claim 3, characterized in that: The two-dimensional sub-map symbol includes keywords and / or symbolic icons, and the three-dimensional sub-map symbol includes keywords and / or symbolic icons.
5. The two-dimensional and three-dimensional integrated LED display method according to claim 4, characterized in that: The first corner point of the two-dimensional map includes the upper left corner of the two-dimensional map and the lower right corner of the two-dimensional map, and the second corner point of the three-dimensional map includes the upper left corner of the three-dimensional map and the lower right corner of the three-dimensional map.
6. The two-dimensional and three-dimensional integrated LED display method according to claim 5, characterized in that: The first corner point of the two-dimensional map is extracted using the CornerNet model, and the second corner point of the three-dimensional map is extracted using the CornerNet model.
7. The two-dimensional and three-dimensional integrated LED display method according to claim 6, characterized in that: The first contour point set in the three-dimensional submap is extracted by Reppoint deformable convolution, and the second contour point set in the two-dimensional submap is extracted by Reppoint deformable convolution.
8. The two-dimensional and three-dimensional integrated LED display method according to claim 7, characterized in that: The fourth center point of the three-dimensional submap is the projection center point of projecting all points, lines and surfaces in the three-dimensional submap onto the two-dimensional plane, and the second center point of the three-dimensional map is the projection center point of projecting all points, lines and surfaces in the three-dimensional map onto the two-dimensional plane.
9. The two-dimensional and three-dimensional integrated LED display method according to claim 8, characterized in that: In the step 1, data preprocessing: before performing 3D map processing, it is usually necessary to preprocess the original data, including the conversion and processing of terrain data; 3D modeling and rendering: using professional 3D modeling software, such as 3ds Max or Blender, to model and render terrain data; including the creation of terrain models, the production of texture maps, and the optimization of models; application of BIM technology: BIM technology also plays an important role in 3D map processing. Through the online preview of BIM files by floor, the map can be edited using the BIM online editor, including the modification and deletion of converted BIM components; automatic recognition and editing: including the editing of BIM components and the drawing of navigation lines; model optimization: automatic simplification of model functions, which can be automatically optimized according to the complexity of the map to improve the display performance.
10. The two-dimensional and three-dimensional integrated LED display method according to claim 9, characterized in that: In the step 1, layer processing: by copying the layer and adjusting its opacity and color, the visual effect of the map can be adjusted; mask and blur effect: by copying the layer and applying Alpha inversion mask and blur effect, such as directional blur, the three-dimensional sense and detail expression of the map can be enhanced; programming and algorithm application: using programming languages such as Matlab, the two-dimensional map can be reconstructed by the particle filter algorithm, which involves reading the robot control command and sensor data, using the particle filter algorithm to infer the robot position, and determining the final position and the complete map by weighted averaging all particles; WMTS layer addition: in the map application, the map data can be added or managed by configuring the WMTS layer, which involves setting the layer format, resolution, matrix set name, style and other parameters, and then adding the WMTS layer to the map to adjust the map positioning and zoom level; data visualization and map configuration: in the data visualization tool, the map can be configured in detail, including the setting of the area name, font style, font size adjustment, and text processing.
