CN117033862A - Conversion method, system and storage medium for converting geographic coordinates into AR coordinates - Google Patents

Conversion method, system and storage medium for converting geographic coordinates into AR coordinates Download PDF

Info

Publication number
CN117033862A
CN117033862A CN202311286712.XA CN202311286712A CN117033862A CN 117033862 A CN117033862 A CN 117033862A CN 202311286712 A CN202311286712 A CN 202311286712A CN 117033862 A CN117033862 A CN 117033862A
Authority
CN
China
Prior art keywords
coordinates
coordinate
conversion
points
geographic
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
CN202311286712.XA
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.)
Xi'an Daoda Tianji Information Technology Co ltd
Original Assignee
Xi'an Daoda Tianji Information Technology 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 Xi'an Daoda Tianji Information Technology Co ltd filed Critical Xi'an Daoda Tianji Information Technology Co ltd
Priority to CN202311286712.XA priority Critical patent/CN117033862A/en
Publication of CN117033862A publication Critical patent/CN117033862A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Algebra (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a conversion method, a conversion system and a storage medium for converting geographic coordinates into AR coordinates, wherein the method comprises the following steps: acquiring known geographic data, selecting three points in the known geographic data to obtain three geographic coordinate points, and acquiring AR coordinates of the same three points in an AR equipment interface to obtain three AR coordinate points; converting the coordinates of the geographic coordinate points into space rectangular coordinates to obtain three space rectangular coordinate points; resolving conversion parameters according to coordinates of the space rectangular coordinate point and the AR coordinate point; and obtaining geographic data to be converted, selecting coordinate points to be converted from the geographic data to be converted, and converting the coordinates of the coordinate points to be converted into an AR coordinate system according to the conversion parameters. According to the application, three points at the same position are selected in two coordinate systems, and a coordinate conversion model of the two coordinate systems is established to obtain conversion parameters, so that the conversion from the geographic coordinates to the AR coordinates is completed, and the accurate landing of the AR graph is realized.

Description

Conversion method, system and storage medium for converting geographic coordinates into AR coordinates
Technical Field
The application relates to the technical field of AR, in particular to a conversion method, a conversion system and a storage medium for converting geographic coordinates into AR coordinates.
Background
AR (augmented reality) is a technology for superposing and fusing virtual information and a real world, and organically combines various technical means such as multimedia, three-dimensional modeling, real-time tracking and registering, intelligent interaction, sensing and the like, so that the effect of accurately putting and displaying a target of the virtual world in a real environment is achieved.
In many scenarios, if it is desired to efficiently and conveniently add real world information in the AR world, mapping of geographic coordinates in the AR scene needs to be completed. Because the geographic coordinate system is different from the AR coordinate system, the geographic coordinate system is required to be converted into the AR coordinate to be corresponding to realize that other information such as objects and the like can be added seamlessly in the AR scene.
Most of the existing coordinate conversion methods focus on mutual conversion under different geographic coordinate systems, such as conversion of coordinates under WGS84 into coordinates under ARC50 coordinate system, and there is no unified standard for the related technology of converting geographic coordinates into AR coordinates, which causes the problem of poor combining effect of AR environment targets and real environment.
Disclosure of Invention
The embodiment of the application provides a conversion method, a conversion system and a storage medium for converting geographic coordinates into AR coordinates, which are used for solving the problem that the conversion of the geographic coordinates into the AR coordinates in the prior art is not uniform.
In one aspect, an embodiment of the present application provides a method for converting geographic coordinates into AR coordinates, including:
acquiring known geographic data, selecting three points on the known geographic data to obtain three geographic coordinate points, and acquiring AR coordinates of the same three points in an AR equipment interface to correspondingly obtain three AR coordinate points;
converting the acquired coordinates of the three geographic coordinate points into space rectangular coordinates in a space rectangular coordinate system to respectively obtain three space rectangular coordinate points;
resolving conversion parameters according to coordinates of the space rectangular coordinate point and the AR coordinate point;
and obtaining geographic data to be converted, selecting coordinate points to be converted on the geographic data to be converted, and converting the coordinates of the coordinate points to be converted into an AR coordinate system according to the conversion parameters.
On the other hand, the embodiment of the application also provides a conversion system for converting the geographic coordinates into the AR coordinates, which comprises the following steps:
the coordinate point acquisition module is used for acquiring known geographic data, selecting three points on the known geographic data to obtain three geographic coordinate points, and acquiring AR coordinates of the same three points in the AR equipment interface to correspondingly obtain three AR coordinate points;
the first coordinate conversion module is used for converting the acquired coordinates of the three geographic coordinate points into space rectangular coordinates in a space rectangular coordinate system to respectively obtain three space rectangular coordinate points;
the conversion parameter analysis module is used for analyzing conversion parameters according to the coordinates of the space rectangular coordinate point and the AR coordinate point;
the second coordinate conversion module is used for acquiring geographic data to be converted, selecting coordinate points to be converted on the geographic data to be converted, and converting the coordinates of the coordinate points to be converted into an AR coordinate system according to conversion parameters.
In another aspect, an embodiment of the present application further provides a storage medium, where a plurality of computer instructions are stored, where the plurality of computer instructions are configured to cause a computer to perform the above method.
The conversion method, the conversion system and the storage medium for converting the geographic coordinates into the AR coordinates have the following advantages:
three points at the same position are selected in the two coordinate systems, a coordinate conversion model of the two coordinate systems is established, and conversion parameters are obtained, so that conversion from geographic coordinates to AR coordinates is completed, and accurate landing of the AR graph is realized.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for converting geographic coordinates into AR coordinates according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Fig. 1 is a flowchart of a method for converting geographic coordinates into AR coordinates according to an embodiment of the present application. The embodiment of the application provides a conversion method for converting geographic coordinates into AR coordinates, which comprises the following steps:
s1: the method comprises the steps of obtaining known geographic data, selecting three points on the known geographic data to obtain three geographic coordinate points, and obtaining AR coordinates of the same three points in an AR equipment interface to correspondingly obtain three AR coordinate points.
For example, the known geographic data may employ an image geographic map, and the three geographic coordinate points are respectively: first geographic coordinate point A (Lon 1 , Lat 1 , Alt 1 ) Second geographic coordinate point B (Lon 2 , Lat 2 , Alt 2 ) Third geographic coordinate point C (Lon 3 , Lat 3 , Alt 3 ) The three AR coordinate points are respectively: first AR coordinate point A' (X 1 ’, Y 1 ’, Z 1 'second AR coordinate point B' (X) 2 ’, Y 2 ’, Z 2 '), a third AR coordinate point C' (X) 3 ’, Y 3 ’, Z 3 '). The known geographic data is used for resolving conversion parameters used in subsequent actual conversion, so that a geographic coordinate system can be established in the known geographic data, an AR coordinate system can be established in an AR equipment interface corresponding to the known geographic data, three points are respectively selected on the same physical position, wherein the points in the geographic coordinate system are geographic coordinate points A, B and C, and the points in the AR coordinate system are AR coordinate points A ', B ' and C '.
It should be understood that the three geographic coordinate points may be randomly selected and that the true position of the three points, whether geographic or AR coordinate points, does not change, but because they are in different coordinate systems, the corresponding coordinates are also different.
S2: and converting the acquired coordinates of the three geographic coordinate points into space rectangular coordinates in a space rectangular coordinate system to respectively obtain the three space rectangular coordinate points.
Illustratively, three spatial rectangular coordinates are: a is that 1 (X 1 , Y 1 , Z 1 )、B 1 (X 2 , Y 2 , Z 2 )、C 1 (X 3 , Y 3 , Z 3 ) The conversion formula of the geographic coordinates and the space rectangular coordinates is as follows:
(1)
in the formula (1), the coordinates of the geographic coordinate point are%B,L,H) Namely, the coordinates expressed in the form of (Lon, lat, alt) are adopted, and the coordinates of the space rectangular coordinate point are [ ]X,Y,Z)。NFor the radius of the circle of the mortise,ethe first eccentricity of the earth is calculated as follows:
(2)
(3)
in the formulas (2) and (3),afor the equatorial radius of the reference ellipsoid,bis the polar radius of the reference ellipsoid.
S3: and resolving conversion parameters according to the coordinates of the space rectangular coordinate point and the AR coordinate point.
Illustratively, a coordinate transformation model shown in the formula (4) is constructed, and the space rectangular coordinate points A are respectively calculated 1 、B 1 、C 1 And the coordinates of the AR coordinate points A ', B ', C ' are brought into a coordinate conversion model, so that the method can be obtained:
(4)
in the formula (4) of the present application,,/>,/>coordinates of AR coordinate points +.>,/>,/>Is the coordinate of the converted space rectangular coordinate point. />,/>,/>For translation parameters->,/>,/>Is the angle rotation parameter>For scaling the scale parameters, the translation parameters, the angular rotation parameters and the scaling scale parameters are collectively referred to as conversion parameters.
Further, equation (4) may be converted into the following form:
(5)
will right angle coordinate point A 1 、B 1 、C 1 The coordinates of the points A ', B', C 'of the AR coordinate and the coordinates of the points A', B ', C' of the AR coordinate are substituted into the formula (5), and the coordinate is obtained by solving,/>,/>,/>,/>,/>,mSpecific values of (3).
S4: and obtaining geographic data to be converted, selecting coordinate points to be converted on the geographic data to be converted, and converting the coordinates of the coordinate points to be converted into an AR coordinate system according to the conversion parameters.
For example, the geographic data to be converted may also employ a visual geographic map.
The embodiment of the application also provides a conversion system for converting the geographic coordinates into the AR coordinates, which comprises the following steps:
the coordinate point acquisition module is used for acquiring known geographic data, selecting three points on the known geographic data to obtain three geographic coordinate points, and acquiring AR coordinates of the same three points in the AR equipment interface to correspondingly obtain three AR coordinate points;
the first coordinate conversion module is used for converting the acquired coordinates of the three geographic coordinate points into space rectangular coordinates in a space rectangular coordinate system to respectively obtain three space rectangular coordinate points;
the conversion parameter analysis module is used for analyzing conversion parameters according to the coordinates of the space rectangular coordinate point and the AR coordinate point;
the second coordinate conversion module is used for acquiring geographic data to be converted, selecting coordinate points to be converted on the geographic data to be converted, and converting the coordinates of the coordinate points to be converted into an AR coordinate system according to conversion parameters.
The embodiment of the application also provides a storage medium, wherein a plurality of computer instructions are stored in the storage medium, and the plurality of computer instructions are used for enabling a computer to execute the method.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (5)

1. The conversion method for converting the geographic coordinates into the AR coordinates is characterized by comprising the following steps:
acquiring known geographic data, selecting three points from the known geographic data to obtain three geographic coordinate points, and acquiring AR coordinates of the same three points in an AR equipment interface to correspondingly obtain three AR coordinate points;
converting the obtained coordinates of the three geographic coordinate points into space rectangular coordinates in a space rectangular coordinate system, and respectively obtaining three space rectangular coordinate points;
establishing a conversion model, analyzing conversion parameters according to the coordinates of the space rectangular coordinate point and the AR coordinate point, and inputting the conversion parameters into the conversion model;
and obtaining geographic data to be converted, selecting coordinate points to be converted from the geographic data to be converted, and converting the coordinates of the coordinate points to be converted into an AR coordinate system according to the conversion model.
2. The conversion method for converting geographical coordinates into AR coordinates according to claim 1, wherein coordinates of three of the geographical coordinate points are converted into space rectangular coordinates in a space rectangular coordinate system according to formula (1):
(1)
in the formula (1), the coordinates of the geographic coordinate point are%B, L, H) The coordinates of the space rectangular coordinate point are%X, Y, Z),NFor the radius of the circle of the mortise,ethe first eccentricity of the earth is calculated as follows:
(2)
(3)
in the formulas (2) and (3),afor the equatorial radius of the reference ellipsoid,bis the polar radius of the reference ellipsoid.
3. The conversion method for converting geographic coordinates into AR coordinates according to claim 1, wherein when the conversion parameters are analyzed, a coordinate conversion model as shown in formula (4) is constructed, and coordinates of the spatial rectangular coordinate point and the AR coordinate point are respectively brought into the coordinate conversion model, so that it is possible to obtain:
(4)
in the formula (4) of the present application,, />, />for the coordinates of the AR coordinate point, +.>, />, />For the coordinates of the spatial rectangular coordinate point, +.>, />, />For translation parameters->, />, />Is the angle rotation parameter>For scaling scale parameters, the translation parameter, the angular rotation parameter, and the scaling scale parameter are collectively referred to as the conversion parameter.
4. A conversion system for converting geographic coordinates to AR coordinates, comprising:
the coordinate point acquisition module is used for acquiring known geographic data, selecting three points on the known geographic data to obtain three geographic coordinate points, and acquiring AR coordinates of the same three points in the AR equipment interface to correspondingly obtain three AR coordinate points;
the first coordinate conversion module is used for converting the acquired coordinates of the three geographic coordinate points into space rectangular coordinates in a space rectangular coordinate system to respectively obtain three space rectangular coordinate points;
the conversion parameter analysis module is used for analyzing conversion parameters according to the coordinates of the space rectangular coordinate point and the AR coordinate point;
the second coordinate conversion module is used for acquiring geographic data to be converted, selecting coordinate points to be converted on the geographic data to be converted, and converting the coordinates of the coordinate points to be converted into an AR coordinate system according to the conversion parameters.
5. A storage medium having stored therein a plurality of computer instructions for causing a computer to perform the method of any of claims 1-3.
CN202311286712.XA 2023-10-08 2023-10-08 Conversion method, system and storage medium for converting geographic coordinates into AR coordinates Pending CN117033862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311286712.XA CN117033862A (en) 2023-10-08 2023-10-08 Conversion method, system and storage medium for converting geographic coordinates into AR coordinates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311286712.XA CN117033862A (en) 2023-10-08 2023-10-08 Conversion method, system and storage medium for converting geographic coordinates into AR coordinates

Publications (1)

Publication Number Publication Date
CN117033862A true CN117033862A (en) 2023-11-10

Family

ID=88641419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311286712.XA Pending CN117033862A (en) 2023-10-08 2023-10-08 Conversion method, system and storage medium for converting geographic coordinates into AR coordinates

Country Status (1)

Country Link
CN (1) CN117033862A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009288024A (en) * 2008-05-28 2009-12-10 Kenwood Corp Navigation device, spot priority setup method, and program
CN105160197A (en) * 2015-09-23 2015-12-16 湖北省基础地理信息中心 Comprehensive geographical spatial data coordinate conversion method and system
CN107240156A (en) * 2017-06-07 2017-10-10 武汉大学 A kind of outdoor augmented reality spatial information of high accuracy shows system and method
CN110988947A (en) * 2019-02-20 2020-04-10 以见科技(上海)有限公司 Augmented reality positioning method based on real-time dynamic carrier phase difference technology
CN111768454A (en) * 2020-08-05 2020-10-13 腾讯科技(深圳)有限公司 Pose determination method, device, equipment and storage medium
CN112037122A (en) * 2020-08-31 2020-12-04 四川易利数字城市科技有限公司 Method for using geographic coordinates in game engine
CN112051921A (en) * 2020-07-02 2020-12-08 杭州易现先进科技有限公司 AR navigation map generation method and device, computer equipment and readable storage medium
CN112655024A (en) * 2020-10-30 2021-04-13 华为技术有限公司 Image calibration method and device
CN115482273A (en) * 2022-09-14 2022-12-16 重庆宝图科技发展有限公司 Conversion method of AR coordinates and geographic coordinates

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009288024A (en) * 2008-05-28 2009-12-10 Kenwood Corp Navigation device, spot priority setup method, and program
CN105160197A (en) * 2015-09-23 2015-12-16 湖北省基础地理信息中心 Comprehensive geographical spatial data coordinate conversion method and system
CN107240156A (en) * 2017-06-07 2017-10-10 武汉大学 A kind of outdoor augmented reality spatial information of high accuracy shows system and method
CN110988947A (en) * 2019-02-20 2020-04-10 以见科技(上海)有限公司 Augmented reality positioning method based on real-time dynamic carrier phase difference technology
CN112051921A (en) * 2020-07-02 2020-12-08 杭州易现先进科技有限公司 AR navigation map generation method and device, computer equipment and readable storage medium
CN111768454A (en) * 2020-08-05 2020-10-13 腾讯科技(深圳)有限公司 Pose determination method, device, equipment and storage medium
CN112037122A (en) * 2020-08-31 2020-12-04 四川易利数字城市科技有限公司 Method for using geographic coordinates in game engine
CN112655024A (en) * 2020-10-30 2021-04-13 华为技术有限公司 Image calibration method and device
CN115482273A (en) * 2022-09-14 2022-12-16 重庆宝图科技发展有限公司 Conversion method of AR coordinates and geographic coordinates

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘秀坤;杜清运;: "增强现实系统中虚拟与现实信息空间视觉匹配的算法研究", 测绘科学, no. 05 *
曾富全;庞咏;: "坐标系转换及相关问题的探讨", 云南地质, no. 02 *
杨骞;: "关于ArcGIS坐标转换方法及精度评估研究", 甘肃科技, no. 10 *

Similar Documents

Publication Publication Date Title
JP6918885B2 (en) Relative position / orientation orientation method, relative position / orientation orientation device, equipment and medium
CN108401461B (en) Three-dimensional mapping method, device and system, cloud platform, electronic equipment and computer program product
CN109034077B (en) Three-dimensional point cloud marking method and device based on multi-scale feature learning
US10297074B2 (en) Three-dimensional modeling from optical capture
CN108898676B (en) Method and system for detecting collision and shielding between virtual and real objects
US20190026400A1 (en) Three-dimensional modeling from point cloud data migration
EP3274964B1 (en) Automatic connection of images using visual features
CN108230247A (en) Generation method, device, equipment and the application program of three-dimensional map based on high in the clouds
CN112905831B (en) Method and system for acquiring coordinates of object in virtual scene and electronic equipment
US10769811B2 (en) Space coordinate converting server and method thereof
Kolivand et al. Cultural heritage in marker-less augmented reality: A survey
Lee et al. Implementation of an open platform for 3D spatial information based on WebGL
Narciso et al. Mixar mobile prototype: Visualizing virtually reconstructed ancient structures in situ
Pintore et al. Mobile mapping and visualization of indoor structures to simplify scene understanding and location awareness
CN111127661B (en) Data processing method and device and electronic equipment
JP7375149B2 (en) Positioning method, positioning device, visual map generation method and device
CN117033862A (en) Conversion method, system and storage medium for converting geographic coordinates into AR coordinates
Englert et al. Enhancing the ar experience with machine learning services
CN114926542A (en) Mixed reality fixed reference system calibration method based on optical positioning system
KR101459004B1 (en) Method for converting 3D Image based plan to 3D Image based spherical surface
Mo et al. Cross-based dense depth estimation by fusing stereo vision with measured sparse depth
CN108491401B (en) Coordinate deviation rectifying method for 2.5-dimensional map
Thomas et al. 3D modeling for mobile augmented reality in unprepared environment
Shuvalova et al. Interactive markerless augmented reality system based on visual SLAM algorithm
Brata et al. An Enhancement of Outdoor Location-Based Augmented Reality Anchor Precision through VSLAM and Google Street View

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