CN111062875B - Coordinate conversion method and device for air panoramic roaming data - Google Patents
Coordinate conversion method and device for air panoramic roaming data Download PDFInfo
- Publication number
- CN111062875B CN111062875B CN201911324200.1A CN201911324200A CN111062875B CN 111062875 B CN111062875 B CN 111062875B CN 201911324200 A CN201911324200 A CN 201911324200A CN 111062875 B CN111062875 B CN 111062875B
- Authority
- CN
- China
- Prior art keywords
- longitude
- latitude
- photo
- aerial
- roaming
- 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.)
- Active
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000011426 transformation method Methods 0.000 claims description 8
- 238000000605 extraction Methods 0.000 claims description 4
- 230000009466 transformation Effects 0.000 claims description 4
- 238000013500 data storage Methods 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/60—Rotation of whole images or parts thereof
- G06T3/604—Rotation of whole images or parts thereof using coordinate rotation digital computer [CORDIC] devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a coordinate conversion method and a device for aerial panoramic roaming data, wherein the method comprises the steps of firstly obtaining N aerial panoramic roaming photos shot in an aerial photographing area, and extracting longitude and latitude information of the N aerial panoramic roaming photos; according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo, converting longitude and latitude information corresponding to the ith aerial panoramic roaming photo is obtained by combining a preset conversion method; wherein N is more than or equal to i and is more than 1; and obtaining a coordinate value of a horizontal axis and a coordinate value of a vertical axis corresponding to the ith air panoramic roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio. According to the technical scheme, the longitude and latitude coordinates can be converted into the plane coordinates without acquiring a large amount of parameter information, so that the coordinate conversion efficiency is improved, and the data storage space is reduced.
Description
Technical Field
The invention relates to the field of computer data processing, in particular to a coordinate conversion method and device for air panoramic roaming data.
Background
In the process of making the spatial roaming, the relative spatial coordinates of each aerial panoramic roaming photo are required to be obtained, and a panoramic roaming model is constructed according to the relative spatial coordinates. However, the panoramic roaming photograph taken in the air contains only GPS information, and thus requires conversion of the mid-latitude coordinate of GPS to a planar coordinate.
In the prior art, a GPS mid-latitude coordinate is converted into a plane coordinate by adopting a mercator projection method, and the principle is that a spherical surface is projected onto a cylindrical surface, and then the cylindrical surface is unfolded. In the research process of the invention, the inventor finds that the ink card support projection method is mainly applied to the fields of military affairs and surveying and mapping, and is characterized in that any position in the world can be accurately expressed, so that a large amount of parameter information needs to be acquired by the ink card support projection method, and the coordinate conversion time is further increased; the parameter information comprises an ellipsoid long half shaft, an ellipsoid short half shaft, eccentricity and ellipticity. However, in the manufacturing process of the space roaming model, a large amount of parameter information does not need to be acquired, if the mercator projection method is adopted, the coordinate conversion time is increased, and further the conversion efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a coordinate conversion method for air panoramic roaming data, which can convert longitude and latitude coordinates into plane coordinates without acquiring a large amount of parameter information, thereby improving the coordinate conversion efficiency and reducing the storage space of data.
In order to solve the above technical problem, an embodiment of the present invention provides a coordinate transformation method for air panoramic roaming data, including:
acquiring N aerial panoramic roaming photos shot in an aerial photographing area, and extracting longitude and latitude information of the N aerial panoramic roaming photos;
according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo, combining a preset conversion method to obtain converted longitude and latitude information corresponding to the ith aerial panoramic roaming photo; wherein N is more than or equal to i and is more than 1;
and obtaining a coordinate value of a horizontal axis and a coordinate value of a vertical axis corresponding to the ith air panoramic roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio.
Preferably, the method further comprises:
and acquiring the height data of the ith aerial panoramic roaming photo, and acquiring a vertical axis coordinate value corresponding to the ith aerial panoramic roaming photo according to the height data.
Preferably, the method further comprises:
and storing the coordinate values of the horizontal axis, the vertical axis and the vertical axis corresponding to the ith air panoramic roaming photo in a binary mode.
As a preferred scheme, the converting latitude and longitude information corresponding to the ith aerial panorama roaming photo is obtained according to the latitude and longitude information of the ith aerial panorama roaming photo and the latitude and longitude information of the first aerial panorama roaming photo by combining a preset converting method, and the method specifically comprises the following steps:
obtaining a conversion longitude corresponding to the ith aerial panorama roaming photo according to the longitude in the longitude and latitude information of the ith aerial panorama roaming photo and the longitude in the longitude and latitude information of the first aerial panorama roaming photo based on a first conversion method;
and obtaining a converted latitude corresponding to the ith aerial panorama roaming photo based on a second conversion method and according to the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo.
As a preferred scheme, the obtaining, based on the first conversion method and according to the longitude in the longitude and latitude information of the ith aerial panorama roaming photo and the longitude in the longitude and latitude information of the first aerial panorama roaming photo, the conversion longitude corresponding to the ith aerial panorama roaming photo specifically includes:
calculating a longitude difference value between the longitude in the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude in the longitude and latitude information of the first aerial panoramic roaming photo, and judging whether the longitude difference value is smaller than a first threshold value or not;
if the longitude difference is smaller than a first threshold, the converted longitude corresponding to the ith aerial panoramic roaming photo is the sum of the difference between a second threshold and the longitude in the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude in the longitude and latitude information of the first aerial panoramic roaming photo;
and if the longitude difference is larger than or equal to a first threshold, converting the longitude corresponding to the i aerial panoramic photographs into the longitude difference.
As a preferred scheme, the obtaining of the converted latitude corresponding to the ith aerial panorama roaming photo based on the second conversion method and according to the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo specifically includes:
calculating a latitude difference value between the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo, and judging whether the latitude difference value is smaller than a first threshold value or not;
if the latitude difference value is smaller than a first threshold value, the converted latitude corresponding to the ith aerial panoramic roaming photo is the difference between a second threshold value and the latitude in the latitude and longitude information of the ith aerial panoramic roaming photo plus the latitude in the latitude and longitude information of the first aerial panoramic roaming photo;
and if the latitude difference is larger than or equal to a first threshold value, the converted latitude corresponding to the i aerial panoramic roaming photos is the latitude difference.
As a preferred scheme, the obtaining of the coordinate values of the horizontal axis and the vertical axis corresponding to the ith aerial panoramic roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio specifically includes:
the longitude and latitude information comprises a longitude and a latitude;
according to the converted longitude, the earth radius and the circumferential ratio, combining a first preset formula to obtain a horizontal axis coordinate value corresponding to the ith air panoramic roaming photo;
and obtaining a longitudinal axis coordinate value corresponding to the ith air panoramic roaming photo by combining a second preset formula according to the converted latitude, the earth radius and the circumferential ratio.
As a preferred scheme, the first preset formula specifically includes:
wherein rx represents a horizontal axis coordinate value corresponding to the ith aerial panorama roaming photo, M _ PI represents a circumference ratio, L represents an earth radius, orign _ lat represents a latitude in the latitude and longitude information of the first aerial panorama roaming photo, and d _ lon represents a converted longitude.
As a preferred scheme, the second preset formula specifically includes:
wherein, ry is expressed as a coordinate value of a longitudinal axis corresponding to the ith air panorama roaming photo, M _ PI is expressed as a circumference ratio, L is expressed as an earth radius, and d _ lat is expressed as a converted latitude.
Correspondingly, the invention also provides a coordinate conversion device for the air panorama roaming data, which comprises:
the information extraction module is used for acquiring N aerial panoramic roaming photos shot in an aerial photographing area and extracting longitude and latitude information of the N aerial panoramic roaming photos;
the data acquisition module is used for acquiring converted longitude and latitude information corresponding to the ith aerial panoramic roaming photo by combining a preset conversion method according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo; wherein N is more than or equal to i and is more than 1;
and the conversion module is used for obtaining a horizontal axis coordinate value and a vertical axis coordinate value corresponding to the ith air panoramic roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio.
The embodiment of the invention has the following beneficial effects:
the coordinate conversion method for the aerial panoramic roaming data, provided by the embodiment of the invention, comprises the steps of firstly obtaining N aerial panoramic roaming photos shot in an aerial photographing area, and extracting longitude and latitude information of the N aerial panoramic roaming photos; according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo, converting longitude and latitude information corresponding to the ith aerial panoramic roaming photo is obtained by combining a preset conversion method; wherein N is more than or equal to i and is more than 1; and obtaining a coordinate value of a horizontal axis and a coordinate value of a vertical axis corresponding to the ith air panoramic roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio. Compared with the prior art that the longitude and latitude coordinates are converted into the plane coordinates by adopting the Mocha-Tou projection method, the technical scheme of the invention only needs to obtain the longitude and latitude information of the picture without obtaining a large amount of parameter information, and selects the first full-set picture to calculate the relative coordinates of each picture by taking the longitude and latitude information as the origin to obtain the relative coordinate values of the picture, thereby realizing the conversion of the coordinates; by adopting the technical scheme of the invention, the conversion efficiency of the coordinate information can be effectively improved and the storage space of the data can be reduced.
Drawings
Fig. 1 is a schematic flowchart of a first embodiment of a coordinate transformation method for air panorama roaming data according to the present invention;
fig. 2 is a schematic structural diagram of a coordinate transformation apparatus for aerial panoramic roaming data according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment:
referring to fig. 1, a flowchart of an embodiment of a coordinate transformation method for air panorama roaming data according to the present invention is shown. As shown in fig. 1, the method includes steps 101 to 103, and each step is as follows:
step 101: n aerial panoramic roaming photos shot in an aerial photographing area are obtained, and longitude and latitude information of the N aerial panoramic roaming photos is extracted.
In this embodiment, firstly, N air panorama roaming photos are taken by the unmanned aerial vehicle, and the air panorama roaming photos are arranged in sequence according to time to form an air panorama roaming photo set, and secondly, the air panorama roaming photo set is sent to the computer system.
In this embodiment, only the longitude and latitude information of the picture needs to be acquired, and a large amount of parameter information, such as the major semi-axis of the ellipsoid, the minor semi-axis of the ellipsoid, the eccentricity and the ellipticity, does not need to be acquired, so that the corresponding information processing flow is reduced, the coordinate conversion efficiency is improved, a large amount of parameter information does not need to be stored, and the storage space of data is further reduced.
Step 102: according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo, converting longitude and latitude information corresponding to the ith aerial panoramic roaming photo is obtained by combining a preset conversion method; wherein N is more than or equal to i and is more than 1.
In the present embodiment, the latitude and longitude information includes latitude and longitude; therefore, the longitude information in the longitude and latitude information of the ith aerial panoramic roaming photo comprises the longitude in the longitude and latitude information of the ith aerial panoramic roaming photo and the latitude in the longitude and latitude information of the ith aerial panoramic roaming photo; the longitude information in the longitude and latitude information of the first aerial panoramic roaming photo comprises the longitude in the longitude and latitude information of the first aerial panoramic roaming photo and the latitude in the longitude and latitude information of the first aerial panoramic roaming photo; the conversion longitude information includes a conversion longitude and a conversion latitude.
In this embodiment, step 102 specifically includes: obtaining a conversion longitude corresponding to the ith aerial panorama roaming photo based on a first conversion method and according to the longitude in the longitude and latitude information of the ith aerial panorama roaming photo and the longitude in the longitude and latitude information of the first aerial panorama roaming photo; and obtaining a converted latitude corresponding to the ith aerial panorama roaming photo based on a second conversion method and according to the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo.
In this embodiment, based on the first conversion method and according to the longitude in the longitude and latitude information of the ith aerial panorama roaming photo and the longitude in the longitude and latitude information of the first aerial panorama roaming photo, the conversion longitude corresponding to the ith aerial panorama roaming photo is obtained, which specifically includes: calculating a longitude difference value between the longitude in the longitude and latitude information of the ith aerial panorama roaming photo and the longitude in the longitude and latitude information of the first aerial panorama roaming photo, and judging whether the longitude difference value is less than 180 degrees or not;
if the longitude difference is less than 180 degrees, the converted longitude corresponding to the ith aerial panoramic roaming photo is the difference between 360 degrees and the longitude in the longitude and latitude information of the ith aerial panoramic roaming photo plus the longitude in the longitude and latitude information of the first aerial panoramic roaming photo;
and if the longitude difference is greater than or equal to 180 degrees, converting the longitude corresponding to the i aerial panoramic roaming photos into the longitude difference.
In this embodiment, based on the second conversion method and according to the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo, the converted latitude corresponding to the ith aerial panorama roaming photo is obtained, which specifically includes: calculating a latitude difference value between the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo, and judging whether the latitude difference value is less than 180 degrees or not;
if the latitude difference value is less than 180 degrees, the converted latitude corresponding to the ith aerial panoramic roaming photo is the difference between 360 degrees and the latitude in the latitude and longitude information of the ith aerial panoramic roaming photo plus the latitude in the latitude and longitude information of the first aerial panoramic roaming photo;
and if the latitude difference is larger than or equal to 180 degrees, converting the latitude corresponding to the i aerial panoramic roaming photos into the latitude difference.
Step 103: and obtaining a coordinate value of a horizontal axis and a coordinate value of a vertical axis corresponding to the ith air panoramic roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio.
In this embodiment, step 103 specifically includes: obtaining a horizontal axis coordinate value corresponding to the ith air panoramic roaming photo by combining a first preset formula according to the converted longitude, the earth radius and the circumferential ratio; and obtaining a longitudinal axis coordinate value corresponding to the ith air panoramic roaming photo by combining a second preset formula according to the converted latitude, the earth radius and the circumferential ratio.
In this embodiment, the first preset formula specifically includes:
wherein rx represents a horizontal axis coordinate value corresponding to the ith aerial panorama roaming photo, M _ PI represents a circumference ratio, L represents an earth radius, orign _ lat represents a latitude in the latitude and longitude information of the first aerial panorama roaming photo, and d _ lon represents a converted longitude.
In this embodiment, the second preset formula specifically includes:
wherein, ry is expressed as a coordinate value of a longitudinal axis corresponding to the ith air panorama roaming photo, M _ PI is expressed as a circumference ratio, L is expressed as an earth radius, and d _ lat is expressed as a converted latitude.
In the embodiment, the distance represented by the unit longitude/latitude on each longitude and latitude is calculated according to the radius of the earth, so that the relative coordinate of the GPS point location is calculated, and the condition that the circumferences are different at different latitudes is considered in the estimation process, so that the accuracy of the acquired relative position is high.
In this embodiment, after step 103, the method further includes: and acquiring height data of the ith air panoramic roaming photo, acquiring a vertical axis coordinate value corresponding to the ith air panoramic roaming photo according to the height data, and storing a horizontal axis coordinate value, a vertical axis coordinate value and a vertical axis coordinate value corresponding to the ith air panoramic roaming photo in a binary mode so as to reduce the storage space. It should be noted that, storing the conversion result in a binary form is beneficial to further reduce the storage space of the data.
In this embodiment, the longitude and latitude information and the height data are converted into a horizontal axis coordinate value, a vertical axis coordinate value and a vertical axis coordinate value respectively, so as to better adapt to the three-dimensional rendering process of the computer.
As can be seen from the above, the coordinate transformation method for aerial panoramic roaming data provided by the embodiment of the present invention includes acquiring N aerial panoramic roaming photos taken in an aerial photographing area, and extracting latitude and longitude information of the N aerial panoramic roaming photos; according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo, converting longitude and latitude information corresponding to the ith aerial panoramic roaming photo is obtained by combining a preset conversion method; wherein N is more than or equal to i and is more than 1; and obtaining a coordinate value of a horizontal axis and a coordinate value of a vertical axis corresponding to the ith air panoramic roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio. Compared with the prior art that the longitude and latitude coordinates are converted into the plane coordinates by adopting the Mocha-Tou projection method, the technical scheme of the invention only needs to obtain the longitude and latitude information of the picture without obtaining a large amount of parameter information, and selects the first full-set picture to calculate the relative coordinates of each picture by taking the longitude and latitude information as the origin to obtain the relative coordinate values of the picture, thereby realizing the conversion of the coordinates; by adopting the technical scheme of the invention, the conversion efficiency of the coordinate information can be effectively improved and the storage space of the data can be reduced.
Second embodiment
Referring to fig. 2, it is a schematic structural diagram of a second embodiment of a coordinate transformation apparatus for aerial panoramic roaming data provided in the present invention, and the system includes an information extraction module 101, a data acquisition module 102, and a transformation module 103.
The information extraction module 101 is used for acquiring N aerial panoramic roaming photos shot in an aerial photographing area and extracting longitude and latitude information of the N aerial panoramic roaming photos;
the data acquisition module 102 is used for acquiring converted longitude and latitude information corresponding to the ith aerial panoramic roaming photo by combining a preset conversion method according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo; wherein N is more than or equal to i and is more than 1;
and the conversion module 103 is configured to obtain a horizontal axis coordinate value and a vertical axis coordinate value corresponding to the ith air panorama roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio.
The more detailed working principle and flow of the present embodiment may refer to, but are not limited to, the coordinate conversion method for the air panorama roaming data of the first embodiment.
Therefore, according to the technical scheme, a large amount of parameter information does not need to be acquired, and the longitude and latitude coordinates can be converted into the plane coordinates only by acquiring the longitude and latitude information of the picture, so that the coordinate conversion efficiency is improved, and the data storage space is reduced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The foregoing is a preferred embodiment of the present invention, and it should be noted that it would be apparent to those skilled in the art that various modifications and enhancements can be made without departing from the principles of the invention, and such modifications and enhancements are also considered to be within the scope of the invention.
Claims (7)
1. A coordinate transformation method for aerial panoramic roaming data, comprising:
acquiring N aerial panoramic roaming photos shot in an aerial photographing area, and extracting longitude and latitude information of the N aerial panoramic roaming photos;
according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo, combining a preset conversion method to obtain converted longitude and latitude information corresponding to the ith aerial panoramic roaming photo; wherein N is more than or equal to i and is more than 1;
obtaining a horizontal axis coordinate value and a vertical axis coordinate value corresponding to the ith air panoramic roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio;
the method comprises the following steps of obtaining converted longitude and latitude information corresponding to the ith aerial panoramic roaming photo by combining a preset conversion method according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo, and specifically comprises the following steps:
obtaining a conversion longitude corresponding to the ith aerial panorama roaming photo according to the longitude in the longitude and latitude information of the ith aerial panorama roaming photo and the longitude in the longitude and latitude information of the first aerial panorama roaming photo based on a first conversion method;
obtaining a converted latitude corresponding to the ith aerial panorama roaming photo based on a second conversion method and according to the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo;
the obtaining of the converted longitude corresponding to the ith aerial panorama roaming photo based on the first conversion method and according to the longitude in the longitude and latitude information of the ith aerial panorama roaming photo and the longitude in the longitude and latitude information of the first aerial panorama roaming photo specifically includes:
calculating a longitude difference value between the longitude in the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude in the longitude and latitude information of the first aerial panoramic roaming photo, and judging whether the longitude difference value is smaller than a first threshold value or not;
if the longitude difference is smaller than a first threshold, the converted longitude corresponding to the ith aerial panoramic roaming photo is the sum of the difference between a second threshold and the longitude in the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude in the longitude and latitude information of the first aerial panoramic roaming photo;
if the longitude difference is larger than or equal to a first threshold, converting longitude corresponding to the i aerial panoramic photographs into the longitude difference;
or
Calculating a latitude difference value between the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo, and judging whether the latitude difference value is smaller than a first threshold value or not;
if the latitude difference value is smaller than a first threshold value, the converted latitude corresponding to the ith aerial panoramic roaming photo is the difference between a second threshold value and the latitude in the latitude and longitude information of the ith aerial panoramic roaming photo plus the latitude in the latitude and longitude information of the first aerial panoramic roaming photo;
and if the latitude difference is larger than or equal to a first threshold value, the converted latitude corresponding to the i aerial panoramic roaming photos is the latitude difference.
2. The coordinate conversion method for over the air panoramic roaming data of claim 1, wherein the method further comprises:
and acquiring the height data of the ith aerial panoramic roaming photo, and acquiring a vertical axis coordinate value corresponding to the ith aerial panoramic roaming photo according to the height data.
3. The coordinate conversion method for over the air panoramic roaming data of claim 2, characterized in that the method further comprises:
and storing the coordinate values of the horizontal axis, the vertical axis and the vertical axis corresponding to the ith air panoramic roaming photo in a binary mode.
4. The coordinate transformation method for the aerial panorama roaming data of claim 1, wherein the obtaining of the coordinate values of the horizontal axis and the vertical axis corresponding to the ith aerial panorama roaming photo according to the transformed longitude and latitude information, the earth radius and the circumference ratio specifically comprises:
the longitude and latitude information comprises a longitude and a latitude;
according to the converted longitude, the earth radius and the circumferential ratio, combining a first preset formula to obtain a horizontal axis coordinate value corresponding to the ith air panoramic roaming photo;
and obtaining a longitudinal axis coordinate value corresponding to the ith air panoramic roaming photo by combining a second preset formula according to the converted latitude, the earth radius and the circumferential ratio.
5. The coordinate transformation method for air panorama roaming data of claim 4, wherein the first preset formula is specifically:
wherein rx represents a horizontal axis coordinate value corresponding to the ith aerial panorama roaming photo, M _ PI represents a circumference ratio, L represents an earth radius, orign _ lat represents a latitude in the latitude and longitude information of the first aerial panorama roaming photo, and d _ lon represents a converted longitude.
6. The coordinate transformation method for air panorama roaming data of claim 4, wherein the second preset formula is specifically:
wherein, ry is expressed as a coordinate value of a longitudinal axis corresponding to the ith air panorama roaming photo, M _ PI is expressed as a circumference ratio, L is expressed as an earth radius, and d _ lat is expressed as a converted latitude.
7. A coordinate transformation apparatus for aerial panoramic roaming data, comprising:
the information extraction module is used for acquiring N aerial panoramic roaming photos shot in an aerial photographing area and extracting longitude and latitude information of the N aerial panoramic roaming photos;
the data acquisition module is used for acquiring converted longitude and latitude information corresponding to the ith aerial panoramic roaming photo by combining a preset conversion method according to the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo; wherein N is more than or equal to i and is more than 1;
the conversion module is used for obtaining a horizontal axis coordinate value and a vertical axis coordinate value corresponding to the ith air panoramic roaming photo according to the converted longitude and latitude information, the earth radius and the circumference ratio;
the data acquisition module is further used for acquiring a conversion longitude corresponding to the ith aerial panorama roaming photo based on a first conversion method and according to the longitude in the longitude and latitude information of the ith aerial panorama roaming photo and the longitude in the longitude and latitude information of the first aerial panorama roaming photo;
obtaining a converted latitude corresponding to the ith aerial panorama roaming photo based on a second conversion method and according to the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo;
the data acquisition module is further configured to calculate a longitude difference between a longitude in the longitude and latitude information of the ith aerial panorama roaming photo and a longitude in the longitude and latitude information of the first aerial panorama roaming photo, and determine whether the longitude difference is smaller than a first threshold;
if the longitude difference is smaller than a first threshold, the converted longitude corresponding to the ith aerial panoramic roaming photo is the sum of the difference between a second threshold and the longitude in the longitude and latitude information of the ith aerial panoramic roaming photo and the longitude in the longitude and latitude information of the first aerial panoramic roaming photo;
if the longitude difference is larger than or equal to a first threshold, converting longitude corresponding to the i aerial panoramic photographs into the longitude difference;
or
The data acquisition module is further used for calculating a latitude difference value between the latitude in the latitude and longitude information of the ith aerial panorama roaming photo and the latitude in the latitude and longitude information of the first aerial panorama roaming photo, and judging whether the latitude difference value is smaller than a first threshold value;
if the latitude difference value is smaller than a first threshold value, the converted latitude corresponding to the ith aerial panoramic roaming photo is the difference between a second threshold value and the latitude in the latitude and longitude information of the ith aerial panoramic roaming photo plus the latitude in the latitude and longitude information of the first aerial panoramic roaming photo;
and if the latitude difference is larger than or equal to a first threshold value, the converted latitude corresponding to the i aerial panoramic roaming photos is the latitude difference.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911324200.1A CN111062875B (en) | 2019-12-19 | 2019-12-19 | Coordinate conversion method and device for air panoramic roaming data |
PCT/CN2020/076861 WO2021120389A1 (en) | 2019-12-19 | 2020-02-26 | Coordinate transformation method and apparatus for aerial panoramic roaming data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911324200.1A CN111062875B (en) | 2019-12-19 | 2019-12-19 | Coordinate conversion method and device for air panoramic roaming data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111062875A CN111062875A (en) | 2020-04-24 |
CN111062875B true CN111062875B (en) | 2021-11-12 |
Family
ID=70301348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911324200.1A Active CN111062875B (en) | 2019-12-19 | 2019-12-19 | Coordinate conversion method and device for air panoramic roaming data |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111062875B (en) |
WO (1) | WO2021120389A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112087575B (en) * | 2020-08-24 | 2022-03-08 | 广州启量信息科技有限公司 | Virtual camera control method |
CN113961078B (en) * | 2021-11-04 | 2023-05-26 | 中国科学院计算机网络信息中心 | Panoramic roaming method, device, equipment and readable storage medium |
CN116310295B (en) * | 2023-02-17 | 2023-12-05 | 中科世通亨奇(北京)科技有限公司 | Off-line regional street view roaming realization method and system based on GIS (geographic information system) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102540200A (en) * | 2012-02-07 | 2012-07-04 | 上海伽利略导航有限公司 | Global navigation satellite system receiver and position measurement method |
CN105373559A (en) * | 2014-08-26 | 2016-03-02 | 深圳市赛格导航科技股份有限公司 | Geographic information acquisition method and geographic information acquisition system |
CN106530218A (en) * | 2016-10-28 | 2017-03-22 | 浙江宇视科技有限公司 | Coordinate conversion method and apparatus |
CN107451593A (en) * | 2017-07-07 | 2017-12-08 | 西安交通大学 | A kind of high-precision GPS localization method based on image characteristic point |
CN108257086A (en) * | 2017-12-22 | 2018-07-06 | 微幻科技(北京)有限公司 | A kind of method and device of distant view photograph processing |
CN109670462A (en) * | 2018-12-24 | 2019-04-23 | 北京天睿空间科技股份有限公司 | Continue tracking across panorama based on the aircraft of location information |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7924294B2 (en) * | 2006-12-27 | 2011-04-12 | The Mathworks, Inc. | Polygon trimming using a modified azimuthal map projection |
US8577604B1 (en) * | 2010-07-07 | 2013-11-05 | Google Inc. | System and method of determining map coordinates from images |
CN101916452B (en) * | 2010-07-26 | 2012-04-25 | 中国科学院遥感应用研究所 | Method for automatically stitching unmanned aerial vehicle remote sensing images based on flight control information |
CN103558619B (en) * | 2013-11-06 | 2016-03-02 | 中测新图(北京)遥感技术有限责任公司 | Obtain the method for the elements of exterior orientation of photo of taking photo by plane |
DE102015210096A1 (en) * | 2015-06-01 | 2016-12-01 | Continental Teves Ag & Co. Ohg | Method for transforming a position specification into a local coordinate system |
CN105138859B (en) * | 2015-09-30 | 2018-02-16 | 四川师范大学 | Three-dimensional panorama roams method for searching and system |
CN105718867A (en) * | 2016-01-16 | 2016-06-29 | 深圳先进技术研究院 | Urban air streetscape processing system and method based on navigation airship |
CN107274340A (en) * | 2016-04-08 | 2017-10-20 | 北京岚锋创视网络科技有限公司 | A kind of panorama image generation method and device |
CN106127691B (en) * | 2016-07-12 | 2019-04-12 | 北京大学深圳研究生院 | Panoramic picture mapping method |
CN107808362A (en) * | 2017-11-15 | 2018-03-16 | 北京工业大学 | A kind of image split-joint method combined based on unmanned plane POS information with image SURF features |
CN110542407A (en) * | 2019-07-23 | 2019-12-06 | 中国科学院长春光学精密机械与物理研究所 | Method for acquiring positioning information of any pixel point of aerial image |
-
2019
- 2019-12-19 CN CN201911324200.1A patent/CN111062875B/en active Active
-
2020
- 2020-02-26 WO PCT/CN2020/076861 patent/WO2021120389A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102540200A (en) * | 2012-02-07 | 2012-07-04 | 上海伽利略导航有限公司 | Global navigation satellite system receiver and position measurement method |
CN105373559A (en) * | 2014-08-26 | 2016-03-02 | 深圳市赛格导航科技股份有限公司 | Geographic information acquisition method and geographic information acquisition system |
CN106530218A (en) * | 2016-10-28 | 2017-03-22 | 浙江宇视科技有限公司 | Coordinate conversion method and apparatus |
CN107451593A (en) * | 2017-07-07 | 2017-12-08 | 西安交通大学 | A kind of high-precision GPS localization method based on image characteristic point |
CN108257086A (en) * | 2017-12-22 | 2018-07-06 | 微幻科技(北京)有限公司 | A kind of method and device of distant view photograph processing |
CN109670462A (en) * | 2018-12-24 | 2019-04-23 | 北京天睿空间科技股份有限公司 | Continue tracking across panorama based on the aircraft of location information |
Non-Patent Citations (3)
Title |
---|
A real-time agro-food authentication and supervision system on a novel code for improving traceability credibility;Yang, Xin-ting 等;《FOOD CONTROL》;20160831;第66卷;第17-26页 * |
An exact conversion from an Earth-centered coordinate system to latitude, longitudeand altitude;J.J. Sudano;《Proceedings of the IEEE 1997 National Aerospace and Electronics Conference. NAECON 1997》;19971231;第2卷;第646-650页 * |
GIS软件开发中经纬度与像素坐标间的转换;陈雄 等;《电子技术》;20101231;第37卷(第1期);第4-6页 * |
Also Published As
Publication number | Publication date |
---|---|
WO2021120389A1 (en) | 2021-06-24 |
CN111062875A (en) | 2020-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10445924B2 (en) | Method and device for processing DVS events | |
CN111062875B (en) | Coordinate conversion method and device for air panoramic roaming data | |
CN111586360B (en) | Unmanned aerial vehicle projection method, device, equipment and storage medium | |
WO2018068678A1 (en) | Method and device for determining external parameter of stereoscopic camera | |
CN104145294A (en) | Scene structure-based self-pose estimation | |
CN112083403B (en) | Positioning tracking error correction method and system for virtual scene | |
CN114565863B (en) | Real-time generation method, device, medium and equipment for orthophoto of unmanned aerial vehicle image | |
CN110361005A (en) | Positioning method, positioning device, readable storage medium and electronic equipment | |
CN115329111B (en) | Image feature library construction method and system based on point cloud and image matching | |
CN113361365A (en) | Positioning method and device, equipment and storage medium | |
CN116385504A (en) | Inspection and ranging method based on unmanned aerial vehicle acquisition point cloud and image registration | |
CN116630598B (en) | Visual positioning method and device under large scene, electronic equipment and storage medium | |
CN114981845A (en) | Image scanning method and device, equipment and storage medium | |
CN113012084A (en) | Unmanned aerial vehicle image real-time splicing method and device and terminal equipment | |
CN117152218A (en) | Image registration method, image registration device, computer equipment and readable storage medium | |
CN110503123B (en) | Image positioning method, device, computer equipment and storage medium | |
CN116823966A (en) | Internal reference calibration method and device for camera, computer equipment and storage medium | |
CN117036666A (en) | Unmanned aerial vehicle low-altitude positioning method based on inter-frame image stitching | |
CN113129422A (en) | Three-dimensional model construction method and device, storage medium and computer equipment | |
CN110706327A (en) | Target area calculation method for three-dimensional cloud modeling | |
CN114387532A (en) | Boundary identification method and device, terminal, electronic equipment and unmanned equipment | |
JP5396971B2 (en) | Position search system and position search method | |
JP7457844B2 (en) | Information processing device and method | |
CN116597168B (en) | Matching method, device, equipment and medium of vehicle-mounted laser point cloud and panoramic image | |
CN111307119B (en) | Pixel-level spatial information recording method for oblique photography |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |