CN116958467A - Three-dimensional space real-time presentation method and system for multi-source heterogeneous geological information - Google Patents

Three-dimensional space real-time presentation method and system for multi-source heterogeneous geological information Download PDF

Info

Publication number
CN116958467A
CN116958467A CN202310797483.1A CN202310797483A CN116958467A CN 116958467 A CN116958467 A CN 116958467A CN 202310797483 A CN202310797483 A CN 202310797483A CN 116958467 A CN116958467 A CN 116958467A
Authority
CN
China
Prior art keywords
source heterogeneous
heterogeneous geological
corner
coordinates
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310797483.1A
Other languages
Chinese (zh)
Inventor
林寿洪
贾长顺
赖晓丹
康旭
张锦章
官荣柱
薛兆龙
吴松
豆孝芳
郑有业
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Geosciences Beijing
Zijin Mining Group Co Ltd
Original Assignee
China University of Geosciences Beijing
Zijin Mining Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China University of Geosciences Beijing, Zijin Mining Group Co Ltd filed Critical China University of Geosciences Beijing
Priority to CN202310797483.1A priority Critical patent/CN116958467A/en
Publication of CN116958467A publication Critical patent/CN116958467A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/30Assessment of water resources

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The application discloses a three-dimensional space real-time presentation method of multi-source heterogeneous geological information, which comprises the following steps: s1, performing perspective transformation and cutting on an original multi-source heterogeneous geological image, so that four corners of a drawing area of the original multi-source heterogeneous geological image are sequentially corresponding to four corners of the multi-source heterogeneous geological image to be superimposed, and forming a map of the multi-source heterogeneous geological image to be superimposed; s2, converting four-corner pixel coordinates of the multi-source heterogeneous geological image into a rectangular coordinate system of a three-dimensional engine to obtain converted four-corner world coordinates; and S3, calculating UV coordinates of pixels to be displayed in a mapping area of the multi-source heterogeneous geological image to be superimposed according to the converted four-corner world coordinates and a tile material expansion mode provided by a specific three-dimensional digital earth system, sampling the mapping according to the UV coordinates, and outputting a sampling result. The multi-source heterogeneous geological image can be directly mapped onto the three-dimensional tile terrain without splitting, and the multi-source heterogeneous geological image keeps continuity regardless of the distance and the angle between a rendering camera and a target position and is not influenced by tile level switching.

Description

Three-dimensional space real-time presentation method and system for multi-source heterogeneous geological information
Technical Field
The application relates to geographic information display software, in particular to a three-dimensional space real-time presentation method and system of multi-source heterogeneous geological information.
Background
In geological exploration, a geographic information software system is generally used for presenting a drawing and analyzing data, and the most common main are MapGIS 6.7 and ArcGIS.
MapGIS 6.7 is an older piece of software, but is most widely used in the geological exploration industry. The software mainly comprises the production and reading of geographic vector data of a two-dimensional space region, and the most basic element types in the drawing are points, lines and planes. The system has a certain degree of support for image information, but is limited by an old architecture, and has poor functions and performances. MapGIS does not support the drawing and reading of three-dimensional data basically, and a user can only work on a two-dimensional plane, so that important topographic information in geological survey can only be represented in the form of contour lines. When the analysis is needed to be performed by integrating satellite pictures and three-dimensional terrains, the data are usually needed to be exported from the MapGIS and then performed in other software.
ArcGIS is a comprehensive geographic information system that can be used to collect, organize, manage, analyze, communicate, and distribute geographic information. In geological exploration work, arcGIS is often used as an auxiliary tool to make some planar drawings that MapGIS cannot make. It is similar to MapGIS and mainly uses two-dimensional vector data, and the most basic element types in the drawing are points, lines and planes. Compared with MapGIS, the system has a certain three-dimensional capability, but is not mainly. Therefore ArcGIS is not the best choice when comprehensive satellite pictures, three-dimensional terrain are needed for survey analysis.
In the exploration practice, the most commonly used three-dimensional geographic information systems are google earth and ovine maps. Both types of software are three-dimensional digital earth systems based on tile map technology.
Google earth is a virtual earth software developed by google corporation that lays out satellite photo, aerial photo, and geographic information systems onto a three-dimensional model of the earth.
Compared with MapGIS, arcGIS and other software, the Google Earth map making function is simpler. In practice, the data produced in the MapGIS and ArcGIS are usually exported and then poured into Google Earth for comprehensive analysis by combining with satellite diagrams and three-dimensional topography. In order to be able to display data on google earth, the data in MapGIS, arcGIS typically requires complex transformations and some information is lost in the transformations. To simplify the conversion process and preserve the more complete picture information, it is usually better to derive as a picture, but google earth, while supporting picture coverage, does not support coordinate correction and therefore cannot place the picture file in the correct spatial position.
The ovine map is a piece of software similar to google earth, but supports a wider variety of satellite map data sources and a wider variety of data import formats, and is used more widely than google maps in practice. The oviposition map can render the imported vector data to tiles of different levels and perform superposition mixing with other data of the position. However, the ovi map supports only the import of vector data, but not image data. Since the owe is based on the superposition and mixing of the images in the tile space, the efficiency is low because all data are subjected to complex cutting and rendering processes after being reintroduced. In practical use, when the view is moved and zoomed, the overlapped geological data is also affected by tile level switching, so that geological map discontinuity is caused, and analysis is affected.
Disclosure of Invention
The application mainly aims to accurately superimpose a complete multi-source heterogeneous geological image on three-dimensional digital earth based on a tile map, realize data importing compatibility of the multi-source heterogeneous geological image, and eliminate discontinuous three-dimensional space superposition method and system of the multi-source heterogeneous geological image caused by tile level switching.
The technical scheme adopted by the application is as follows:
the three-dimensional space real-time presentation method for multi-source heterogeneous geological information comprises the following steps:
s1, performing perspective transformation and cutting on an original multi-source heterogeneous geological image, so that four corners of a drawing area of the original multi-source heterogeneous geological image are sequentially corresponding to four corners of the multi-source heterogeneous geological image to be superimposed, and forming a map IMG1 of the multi-source heterogeneous geological image to be superimposed;
s2, converting four-corner pixel coordinates of the multi-source heterogeneous geological image into a rectangular coordinate system of a three-dimensional engine by using a conversion interface provided by a three-dimensional digital earth system to obtain converted four-corner world coordinates;
and S3, calculating UV coordinates of pixels to be displayed in a mapping area of the multi-source heterogeneous geological image to be overlapped according to the converted four-corner world coordinates and a tile material expansion mode provided by a specific three-dimensional digital earth system, sampling the mapping IMG1 according to the UV coordinates, and outputting a sampling result.
In step S3, the world coordinates of the pixels to be displayed and the converted world coordinates of the four corners are substituted into the inverse bilinear interpolation algorithm to obtain the UV coordinates of each pixel.
In connection with the above technical solution, step S2 further includes the steps of: four-corner world coordinates are transmitted into the shader in a unified variable mode.
With the above technical solution, step S1 specifically includes: and carrying out rectangle correction on a drawing area of the original multi-source heterogeneous geological image, enabling an upper left corner, an upper right corner, a lower right corner and a lower left corner of the drawing area to correspond to the upper left corner, the upper right corner, the lower right corner and the lower left corner of the multi-source heterogeneous geological image part in the original multi-source heterogeneous geological image one by one, and then cutting off pixels outside the drawing area.
By adopting the technical scheme, the three-dimensional space superposition method is completed in the GPU.
The application also provides a three-dimensional space real-time presentation system of the multi-source heterogeneous geological information, which comprises:
the mapping creation module is used for performing perspective transformation and cutting on the original multi-source heterogeneous geological image, so that four corners of a drawing area of the original multi-source heterogeneous geological image are sequentially corresponding to four corners of the multi-source heterogeneous geological image to be overlapped, and a mapping IMG1 of the multi-source heterogeneous geological image to be overlapped is formed;
the angular point coordinate conversion module is used for converting four-corner pixel coordinates of the multi-source heterogeneous geological image into a rectangular coordinate system of the three-dimensional engine by using a conversion interface provided by the three-dimensional digital earth system to obtain converted four-corner world coordinates;
and the rendering module is used for calculating UV coordinates of pixels to be displayed in a mapping area of the multi-source heterogeneous geological image to be overlapped according to the converted four-corner world coordinates and a tile material expansion mode provided by a specific three-dimensional digital earth system, sampling the mapping IMG1 according to the UV coordinates and outputting a sampling result.
By adopting the technical scheme, the rendering module specifically substitutes the world coordinates of the pixels to be displayed and the converted four-corner world coordinates into the inverse bilinear interpolation algorithm to obtain the UV coordinates of each pixel.
According to the technical scheme, the map creation module specifically carries out rectangular correction on the drawing area of the original multi-source heterogeneous geological image, the upper left corner, the upper right corner, the lower right corner and the lower left corner of the drawing area are in one-to-one correspondence with the upper left corner, the upper right corner, the lower right corner and the lower left corner of the multi-source heterogeneous geological image part in the original multi-source heterogeneous geological image, and then pixels outside the drawing area are cut off.
By adopting the technical scheme, the corner coordinate conversion module is also used for transmitting the four-corner world coordinates into the GPU shader in a unified variable mode.
The application also provides a computer storage medium, in which a computer program executable by a processor is stored, and the computer program executes the three-dimensional space real-time presentation method of the multi-source heterogeneous geological information.
The application has the beneficial effects that: according to the application, when the multi-source heterogeneous geological image is rendered to the screen buffer, the multi-source heterogeneous geological image is used as a complete map to be overlapped and mixed with other tiled or non-tiled images, instead of overlapping and mixing each tile after tiling the multi-source heterogeneous geological image before rendering, so that the continuity of the multi-source heterogeneous geological image is ensured.
Furthermore, the superposition method is completed in the GPU, and the coordinate conversion calculation enables the space coordinates of the multi-source heterogeneous geological image to correspond to the correct tile positions, so that the response speed of superposition mixing is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a three-dimensional spatial real-time rendering method of multi-source heterogeneous geological information according to an embodiment of the present application;
FIG. 2 is a schematic diagram of perspective transformation and cropping of an original multi-source heterogeneous geologic image in accordance with an embodiment of the application;
FIG. 3 is a schematic diagram of a three-dimensional spatial real-time rendering method for multi-source heterogeneous geological information using a GPU shader according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a process of superimposing a geologic map onto the three-dimensional earth of Cesium For Unreal in accordance with an embodiment of the application;
fig. 5 is a schematic diagram of an embodiment of the present application that superimposes cinnological region onto the three-dimensional topography of Cesium.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In order to achieve maximum data import compatibility, eliminate discontinuity of multi-source heterogeneous geological images caused by tile level switching and keep good performance, the multi-source heterogeneous geological images are generally regional images instead of global images, and superposition and mixing can be performed in the following manner: when rendered to the screen buffer, the multi-source heterogeneous geological image should be overlaid and mixed as a complete map with other tiled or non-tiled images. Instead of tiling the multi-source heterogeneous geological image before rendering and then superposing and mixing with each tile, the continuity of the multi-source heterogeneous geological image is ensured.
The biggest problem faced by the method idea is how to align the multi-source heterogeneous geological image with tiles (such as satellite images and terrain models) so as to ensure that the geological image is superimposed on the correct geographic coordinates. According to the thought of the Orvex map, as the multi-source heterogeneous geological image is split into independent tiles, all the maps in each tile space can be completely overlapped, and can be directly mixed in the same UV coordinate space without any coordinate conversion. However, the UV space of a complete multi-source heterogeneous geological image can be fixed by a distance corresponding to one space, and the space distance corresponding to different tile data can be large or small, so that the UV coordinate of the multi-source heterogeneous geological image has no necessary corresponding relation.
In addition, the method can complete coordinate conversion calculation in the GPU so that the space coordinates of the multi-source heterogeneous geological image correspond to the correct tile positions, and can ensure the response speed of superposition and mixing.
Example 1
As shown in fig. 1, the three-dimensional space real-time presentation method of multi-source heterogeneous geological information according to the embodiment of the application comprises the following steps:
s1, performing perspective transformation and cutting on an original multi-source heterogeneous geological image, so that four corners of a drawing area of the original multi-source heterogeneous geological image are sequentially corresponding to four corners of the multi-source heterogeneous geological image to be superimposed, and forming a map IMG1 of the multi-source heterogeneous geological image to be superimposed;
s2, converting four-corner pixel coordinates of the multi-source heterogeneous geological image into a rectangular coordinate system of a three-dimensional engine by using a conversion interface provided by a three-dimensional digital earth system to obtain converted four-corner world coordinates;
and S3, calculating UV coordinates of pixels to be displayed in a mapping area of the multi-source heterogeneous geological image to be overlapped according to the converted four-corner world coordinates and a tile material expansion mode provided by a specific three-dimensional digital earth system, sampling the mapping IMG1 according to the UV coordinates, and outputting a sampling result.
The step S1 is mainly to process the original multi-source heterogeneous geological image, so that the multi-source heterogeneous geological image which is useful for superposition is extracted to form a map. The portion of the multi-source heterogeneous geological image in the original multi-source heterogeneous geological image may be only a part of the whole image and may be deformed, which requires perspective transformation and cropping of the multi-source heterogeneous geological image, as shown in fig. 2 (since the contrast difference between the multi-source heterogeneous geological image before and after the processing is not obvious, the picture shot by using a "HELLO" word is taken as the contrast diagram before and after the processing). The drawing area of the original multi-source heterogeneous geological image is visible to be a convex quadrangle, after perspective transformation and cutting are carried out on the multi-source heterogeneous geological image, the upper left corner, the upper right corner, the lower right corner and the lower left corner of the drawing area are sequentially corresponding to the upper left corner, the upper right corner, the lower right corner and the lower left corner of the image, an adjusted image to be superimposed is formed, and then the image to be superimposed is loaded into a display memory as a map.
Further, step S3 specifically substitutes the world coordinates of the pixels to be displayed and the converted four-corner world coordinates into an inverse bilinear interpolation algorithm to obtain the UV coordinates of each pixel.
The mapping method for real-time rendering mainly comprises the steps of obtaining the color of each pixel point through sampling on the mapping through the UV coordinates of the pixel point and outputting the color of the pixel point to achieve mapping. Thus, attaching a geologic map to the surface requires knowledge of the UV coordinates of each location on the surface. Traditionally this UV coordinate is specified when modeling, but the model of the present application is a dynamically generated map tile, and the UV coordinate cannot be specified, so the UV coordinate can be calculated by calculation.
The area to be mapped is a quadrilateral area, the world coordinates of four corners of the quadrilateral are already known (the world coordinates refer to the coordinates in the three-dimensional engine and can be converted by the geographic coordinates of the quadrilateral area), so that the world coordinates of each pixel in the frame buffer are also known (the general visualization engine provides the world coordinates of the pixel in the pixel shader or the texture system, and the world coordinates can be calculated by the MVP matrix if not provided). It is sufficient to calculate the UV coordinates of each pixel with respect to this quadrilateral area. The map can be sampled and colored according to the UV coordinates.
After the method is used, the multi-source heterogeneous geological image can be directly mapped onto the three-dimensional tile terrain without splitting, and the multi-source heterogeneous geological image keeps continuity regardless of the distance and angle between the rendering camera and the target position and is not influenced by tile level switching.
The image superposition of the application can be completed in the GPU, the calculation speed is extremely high, and the performance is far higher than that of the image superposition based on tiles in the CPU.
Example 2
This embodiment is based on embodiment 1. The embodiment can accurately superimpose a complete multi-source heterogeneous geological image onto the tile map-based three-dimensional digital earth. This embodiment is implemented in particular in a GPU.
As shown in fig. 3, the three-dimensional space real-time rendering method of multi-source heterogeneous geological information of this embodiment includes the following steps:
1. and performing perspective transformation and cutting on the multi-source heterogeneous geological image to enable the upper left corner, the upper right corner, the lower right corner and the lower left corner of the drawing area to sequentially correspond to the upper left corner, the upper right corner, the lower right corner and the lower left corner of the image, so as to form an image IMG1. And loading the IMG1 as a map into a video memory.
2. The user inputs the geographic coordinates of the left upper corner, the right lower corner and the left lower corner of the multi-source heterogeneous geological image into a computer, converts the geographic coordinates into a rectangular coordinate system of a three-dimensional engine by using a conversion interface provided by a three-dimensional digital earth system, sequentially comprises P0, P1, P2 and P3, and transmits the geographic coordinates into a shader of the next step in a form of a Uniform variable.
3. And rendering the IMG1 map to a screen based on a tile material expansion mode provided by a specific three-dimensional digital earth system. The texture calculation should be accomplished using a fragment shader or any equivalent shader, and the mapping method is as follows:
(a) Substituting the world coordinates of the current pixel in the frame buffer and P0, P1, P2 and P3 into a reverse bilinear interpolation algorithm to obtain the UV coordinates ST of the pixel in the multi-source heterogeneous geological image mapping area.
(b) The IMG1 map is sampled using ST as UV coordinates, and the sampling result is output.
The inverse bilinear interpolation algorithm in step 3 is a disclosed interpolation algorithm that implements the c++ code as follows:
where Vector2D is a two-dimensional Vector, cross product is a Vector cross product, and operator is a Vector dot product. The world coordinates of the pixel point are substituted into the parameter P, and P0, P1, P2, and P3 in the above steps are substituted into the parameter a, b, c, d. At this time, the multi-source heterogeneous geological image in the rendering result is accurately overlapped with the tiles of the three-dimensional digital earth in a geographic coordinate system.
Example 3
This embodiment is based on embodiment 1 and embodiment 2. This example takes the cinnological region as an example, and the geologic map is superimposed onto the three-dimensional earth of Cesium For Unreal using the present method. The geologic map image format is JPEG, and the image resolution is 5945 x 4578.
The three-dimensional space real-time presentation method of the multi-source heterogeneous geological information comprises the following steps:
1. the pixel coordinates of the upper left corner, the upper right corner, the lower right corner and the lower left corner of the drawing area of the geological map are obtained in a user interaction mode in sequence:
a.X=105,Y=117
b.X=5824,Y=100
c.X=5842,Y=4462
d.X=116,Y=4482
2. since the drawing area is non-rectangular, and the computer image must be rectangular, in order for the drawing area to completely fill the image, the drawing area must first be rectangular corrected and then pixels outside the drawing area cut out. The function code handled by OpenCV using Python language is as follows:
where the parameter image should be substituted into the geological map image read using OpenCV and the quad should be substituted into the list of coordinates for the upper left, upper right, lower left in the previous step.
3. And loading the corrected and cut image in the previous step into a video memory to be used as a mapping TEX1.
4. The Orgin of CesiumGeoreference (scene origin) is set at lon=87.375, lat= 29.583332, i.e. the center coordinates of the drawing area, to minimize errors caused by coordinate projection.
5. The WGS84 coordinate system for the upper left, upper right, lower left of the geologic map drawing region is geo-referenced using a transform longitude latitutuyenhight ToUnreal of Cesium:
a.Lon=87.25,Lat=29.666666666666668
b.Lon=87.5,Lat=29.666666666666668
c.Lon=87.5,Lat=29.5
d.Lon=87.25,Lat=29.5
and sequentially converting the three-dimensional coordinates into rectangular coordinates of a three-dimensional engine, and sequentially marking as P0, P1, P2 and P3.
6. The material connection is created by using P0, P1, P2, P3 as dynamic material parameters to be transferred into the material, as shown in FIG. 4:
7. the above materials were applied to CesiumWorldterrain.
Running the above procedure, the geological map is superimposed on the correct position.
Example 4
The three-dimensional space real-time presentation system of the multi-source heterogeneous geological information is mainly used for realizing the method embodiment, and comprises the following steps:
the mapping creation module is used for performing perspective transformation and cutting on the original multi-source heterogeneous geological image, so that four corners of a drawing area of the original multi-source heterogeneous geological image are sequentially corresponding to four corners of the multi-source heterogeneous geological image to be overlapped, and a mapping IMG1 of the multi-source heterogeneous geological image to be overlapped is formed;
the angular point coordinate conversion module is used for converting four-corner pixel coordinates of the multi-source heterogeneous geological image into a rectangular coordinate system of the three-dimensional engine by using a conversion interface provided by the three-dimensional digital earth system to obtain converted four-corner world coordinates;
and the rendering module is used for calculating UV coordinates of pixels to be displayed in a mapping area of the multi-source heterogeneous geological image to be overlapped according to the converted four-corner world coordinates and a tile material expansion mode provided by a specific three-dimensional digital earth system, sampling the mapping IMG1 according to the UV coordinates and outputting a sampling result.
Further, the rendering module specifically substitutes world coordinates of the pixels to be displayed and the converted four-corner world coordinates into a reverse bilinear interpolation algorithm to obtain UV coordinates of each pixel.
Further, the map creation module specifically performs rectangle correction on a drawing area of the original multi-source heterogeneous geological image, corresponds an upper left corner, an upper right corner, a lower right corner and a lower left corner of the drawing area to an upper left corner, an upper right corner, a lower right corner and a lower left corner of a multi-source heterogeneous geological image part in the original multi-source heterogeneous geological image one by one, and cuts out pixels outside the drawing area.
Further, the corner coordinate conversion module is further configured to transfer the world coordinates of the four corners into the GPU shader in a unified variable manner.
The modules in the system are mainly used for implementing the steps of each specific method embodiment, and are not described in detail herein.
Example 5
The present application also provides a computer readable storage medium such as a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored that when executed by a processor performs a corresponding function. The computer readable storage medium of the present embodiment, when executed by a processor, implements the three-dimensional spatial real-time rendering method of multi-source heterogeneous geological information of the method embodiment.
Applicants have written using the method of the present application ZScape software that can superimpose a geologic map onto the three-dimensional topography of Cesium (with sensitive information of the map hidden) using the method embodiments described above, as shown at 5.
The sources of data in geological survey work are often diverse, such as satellite pictures in image format, geological maps in vector format, etc. (so-called multisources). While data from different sources typically uses different data formats, such as geological mineral maps are typically MAPGIS format, and the anomaly map for the localization may be MAPGIS or SURFER format (i.e., heterogeneous). These different sources of data are often not unified into an internal overlaid presentation of a single piece of software. However, in general, whatever the format, depending on what software, the image can be converted into an image in a certain projection manner. By utilizing the method, data with different sources and different formats can be unified into a two-dimensional map, and the two-dimensional map is overlapped in a three-dimensional space by the method of the patent. Whatever the format of the original data and what the coordinate system is, the alignment and superposition can be accurately performed after the processing of the method.
In summary, through the embodiments, the multi-source heterogeneous geological image is directly mapped onto the three-dimensional tile terrain without splitting, the continuity of the transformed multi-source heterogeneous geological image to be superimposed is maintained no matter what the picture to be rendered is, the influence of tile level switching is avoided, and the purpose of freely placing the appointed geological picture on a correct spatial position is achieved.
It should be noted that each step/component described in the present application may be split into more steps/components, or two or more steps/components or part of operations of the steps/components may be combined into new steps/components, according to the implementation needs, to achieve the object of the present application.
The sequence numbers of the steps in the above embodiments do not mean the execution sequence, and the execution sequence of the processes should be determined according to the functions and internal logic, and should not limit the implementation process of the embodiments of the present application.
It will be understood that modifications and variations will be apparent to those skilled in the art from the foregoing description, and it is intended that all such modifications and variations be included within the scope of the following claims.

Claims (10)

1. A three-dimensional space real-time presentation method of multi-source heterogeneous geological information is characterized by comprising the following steps:
s1, performing perspective transformation and cutting on an original multi-source heterogeneous geological image, so that four corners of a drawing area of the original multi-source heterogeneous geological image are sequentially corresponding to four corners of the multi-source heterogeneous geological image to be superimposed, and forming a map IMG1 of the multi-source heterogeneous geological image to be superimposed;
s2, converting four-corner pixel coordinates of the multi-source heterogeneous geological image into a rectangular coordinate system of a three-dimensional engine by using a conversion interface provided by a three-dimensional digital earth system to obtain converted four-corner world coordinates;
and S3, calculating UV coordinates of pixels to be displayed in a mapping area of the multi-source heterogeneous geological image to be overlapped according to the converted four-corner world coordinates and a tile material expansion mode provided by a specific three-dimensional digital earth system, sampling the mapping IMG1 according to the UV coordinates, and outputting a sampling result.
2. The three-dimensional space real-time rendering method of multi-source heterogeneous geological information according to claim 1, wherein step S3 specifically substitutes the world coordinates of the pixels to be displayed and the converted four-corner world coordinates into an inverse bilinear interpolation algorithm to obtain the UV coordinates of each pixel.
3. The three-dimensional space real-time rendering method of multi-source heterogeneous geological information according to claim 1, wherein the step S2 further comprises the steps of: four-corner world coordinates are transmitted into the shader in a unified variable mode.
4. The three-dimensional space real-time presentation method of multi-source heterogeneous geological information according to claim 1, wherein the step S1 is specifically: and carrying out rectangle correction on a drawing area of the original multi-source heterogeneous geological image, enabling an upper left corner, an upper right corner, a lower right corner and a lower left corner of the drawing area to correspond to the upper left corner, the upper right corner, the lower right corner and the lower left corner of the multi-source heterogeneous geological image part in the original multi-source heterogeneous geological image one by one, and then cutting off pixels outside the drawing area.
5. The method for three-dimensional spatial real-time rendering of multi-source heterogeneous geological information of claim 1, wherein the method for three-dimensional spatial superposition is performed in a GPU.
6. A three-dimensional spatial real-time presentation system of multi-source heterogeneous geological information, comprising:
the mapping creation module is used for performing perspective transformation and cutting on the original multi-source heterogeneous geological image, so that four corners of a drawing area of the original multi-source heterogeneous geological image are sequentially corresponding to four corners of the multi-source heterogeneous geological image to be overlapped, and a mapping IMG1 of the multi-source heterogeneous geological image to be overlapped is formed;
the angular point coordinate conversion module is used for converting four-corner pixel coordinates of the multi-source heterogeneous geological image into a rectangular coordinate system of the three-dimensional engine by using a conversion interface provided by the three-dimensional digital earth system to obtain converted four-corner world coordinates;
and the rendering module is used for calculating UV coordinates of pixels to be displayed in a mapping area of the multi-source heterogeneous geological image to be overlapped according to the converted four-corner world coordinates and a tile material expansion mode provided by a specific three-dimensional digital earth system, sampling the mapping IMG1 according to the UV coordinates and outputting a sampling result.
7. The three-dimensional space real-time rendering system of multi-source heterogeneous geological information according to claim 6, wherein the rendering module specifically substitutes world coordinates of pixels to be displayed and converted world coordinates of four corners into an inverse bilinear interpolation algorithm to obtain UV coordinates of each pixel.
8. The three-dimensional spatial real-time rendering system of multi-source heterogeneous geological information of claim 6, wherein the map creation module performs rectangle correction on the drawing area of the original multi-source heterogeneous geological image, and the upper left corner, the upper right corner, the lower right corner and the lower left corner of the drawing area are in one-to-one correspondence with the upper left corner, the upper right corner, the lower right corner and the lower left corner of the multi-source heterogeneous geological image part in the original multi-source heterogeneous geological image, and then cuts out pixels outside the drawing area.
9. The three-dimensional space real-time rendering system of multi-source heterogeneous geological information of claim 6, wherein the corner coordinate transformation module is further configured to transfer the four-corner world coordinates into the GPU shader in a unified variable manner.
10. A computer storage medium, wherein a computer program executable by a processor is stored, the computer program executing the three-dimensional spatial real-time rendering method of multi-source heterogeneous geological information according to any one of claims 1-5.
CN202310797483.1A 2023-06-30 2023-06-30 Three-dimensional space real-time presentation method and system for multi-source heterogeneous geological information Pending CN116958467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310797483.1A CN116958467A (en) 2023-06-30 2023-06-30 Three-dimensional space real-time presentation method and system for multi-source heterogeneous geological information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310797483.1A CN116958467A (en) 2023-06-30 2023-06-30 Three-dimensional space real-time presentation method and system for multi-source heterogeneous geological information

Publications (1)

Publication Number Publication Date
CN116958467A true CN116958467A (en) 2023-10-27

Family

ID=88442010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310797483.1A Pending CN116958467A (en) 2023-06-30 2023-06-30 Three-dimensional space real-time presentation method and system for multi-source heterogeneous geological information

Country Status (1)

Country Link
CN (1) CN116958467A (en)

Similar Documents

Publication Publication Date Title
US20050285876A1 (en) Composition of raster and vector graphics in geographical information systems
US10733777B2 (en) Annotation generation for an image network
CN111436208A (en) Planning method and device for surveying and mapping sampling point, control terminal and storage medium
JP6096634B2 (en) 3D map display system using virtual reality
US20130127852A1 (en) Methods for providing 3d building information
JPH0771936A (en) Device and method for processing image
US20030225513A1 (en) Method and apparatus for providing multi-level blended display of arbitrary shaped textures in a geo-spatial context
CN115439609B (en) Three-dimensional model rendering method, system, equipment and medium based on map service
JP2005339127A (en) Apparatus and method for displaying image information
CN110910504A (en) Method and device for determining three-dimensional model of region
WO2010061860A1 (en) Stereo matching process system, stereo matching process method, and recording medium
CN115471619A (en) City three-dimensional model construction method based on stereo imaging high-resolution satellite image
US20240125613A1 (en) Map generation method and map generation apparatus
Agisoft Metashape python reference
CN113094457B (en) Incremental generation method of digital orthophoto map and related components
JP4008686B2 (en) Texture editing apparatus, texture editing system and method
JP4099776B2 (en) 3D model creation device, 3D model creation method, and 3D model creation program
CN108090212B (en) Method, device and equipment for showing interest points and storage medium
KR101775372B1 (en) Position accuracy enhancement system for Arirang satellite(Kompsat) image
JPH11250273A (en) Image synthesizing device
CN116958467A (en) Three-dimensional space real-time presentation method and system for multi-source heterogeneous geological information
CN114972612B (en) Image texture generation method based on three-dimensional simplified model and related equipment
CN115859414A (en) Cross-coordinate system use method for global scale geographic information base map
CN111324658A (en) Ocean temperature visual analysis method, intelligent terminal and storage medium
US9558574B2 (en) Method and system for conflating raster and vector data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination