WO2021120389A1 - 一种用于空中全景漫游数据的坐标转换方法及装置 - Google Patents

一种用于空中全景漫游数据的坐标转换方法及装置 Download PDF

Info

Publication number
WO2021120389A1
WO2021120389A1 PCT/CN2020/076861 CN2020076861W WO2021120389A1 WO 2021120389 A1 WO2021120389 A1 WO 2021120389A1 CN 2020076861 W CN2020076861 W CN 2020076861W WO 2021120389 A1 WO2021120389 A1 WO 2021120389A1
Authority
WO
WIPO (PCT)
Prior art keywords
longitude
latitude
photo
panoramic roaming
aerial panoramic
Prior art date
Application number
PCT/CN2020/076861
Other languages
English (en)
French (fr)
Inventor
周佛灵
Original Assignee
广州启量信息科技有限公司
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 广州启量信息科技有限公司 filed Critical 广州启量信息科技有限公司
Publication of WO2021120389A1 publication Critical patent/WO2021120389A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/60Rotation of whole images or parts thereof
    • G06T3/604Rotation of whole images or parts thereof using coordinate rotation digital computer [CORDIC] devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map

Definitions

  • the invention relates to the field of computer data processing, in particular to a coordinate conversion method and device for aerial panoramic roaming data.
  • the Mercator projection method is used to convert GPS coordinates of longitude and latitude into plane coordinates.
  • the main principle is to project a spherical surface onto a cylindrical surface, and then expand the cylindrical surface.
  • the Mercator projection method is mainly used in the military and surveying and mapping fields. Its characteristic is that it can accurately express any position in the world, so that the Mercator projection method needs to obtain a large amount of parameter information, and then Increase the coordinate conversion time; among them, the parameter information includes the semi-major axis of the ellipsoid, the semi-minor axis of the ellipsoid, the eccentricity, and the oblateness.
  • the embodiment of the present invention provides a coordinate conversion method for aerial panoramic roaming data, which can convert longitude and latitude coordinates into plane coordinates without acquiring a large amount of parameter information, thereby improving coordinate conversion efficiency and reducing data storage space.
  • an embodiment of the present invention provides a coordinate conversion method for aerial panoramic roaming data, including:
  • the converted longitude and latitude information corresponding to the i-th aerial panoramic roaming photo is obtained; where N ⁇ i>1;
  • the method further includes:
  • the method further includes:
  • the horizontal axis coordinate value, the vertical axis coordinate value, and the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo are stored in a binary manner.
  • the latitude and longitude information of the i-th aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo are combined with a preset conversion method to obtain the converted latitude and longitude corresponding to the i-th aerial panoramic roaming photo Information, specifically:
  • the i-th is obtained based on the first conversion method and according to the longitude in the latitude and longitude information of the i-th aerial panoramic roaming photo and the longitude in the longitude and latitude information of the first aerial panoramic roaming photo.
  • the converted longitude corresponding to the panoramic roaming photos in the sky specifically:
  • the converted longitude corresponding to the i-th aerial panoramic roaming photo is the difference between the second threshold and the longitude in the longitude and latitude information of the i-th aerial panoramic roaming photo plus The longitude in the longitude and latitude information of the first aerial panoramic roaming photo;
  • the converted longitude corresponding to the i aerial panoramic roaming photos is the longitude difference.
  • the i-th is obtained based on the second conversion method and according to the latitude in the longitude and latitude information of the i-th aerial panoramic roaming photo and the latitude in the longitude and latitude information of the first aerial panoramic roaming photo.
  • the converted latitude corresponding to the panoramic roaming photos in the sky specifically:
  • the converted latitude corresponding to the i-th aerial panoramic roaming photo is the difference between the second threshold and the latitude in the longitude and latitude information of the i-th aerial panoramic roaming photo plus The latitude in the latitude and longitude information of the first aerial panoramic roaming photo;
  • the converted latitude corresponding to the i aerial panoramic roaming photos is the latitude difference.
  • the obtaining the horizontal axis coordinate value and the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo according to the converted latitude and longitude information, the radius of the earth, and the circumference ratio is specifically:
  • the converted longitude and latitude information includes converted longitude and converted latitude
  • the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo is obtained.
  • the first preset formula is specifically:
  • rx is the coordinate value of the horizontal axis corresponding to the i-th aerial panoramic roaming photo
  • M_PI is the circle rate
  • L is the radius of the earth
  • orign_lat is the latitude in the longitude and latitude information of the first aerial panoramic roaming photo
  • d_lon is expressed as Convert longitude.
  • the second preset formula is specifically:
  • ry represents the coordinate value of the vertical axis corresponding to the i-th aerial panoramic roaming photo
  • M_PI represents the circumference of the circle
  • L represents the radius of the earth
  • d_lat represents the converted latitude
  • the present invention also provides a coordinate conversion device for aerial panoramic roaming data, including:
  • An information extraction module for obtaining N aerial panoramic roaming photos taken in the aerial photography area, and extracting the latitude and longitude information of the N aerial panoramic roaming photos;
  • the data acquisition module is used to obtain the converted longitude and latitude corresponding to the i-th aerial panoramic roaming photo based on the longitude and latitude information of the i-th aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo in combination with a preset conversion method Information; where N ⁇ i>1;
  • the conversion module is configured to obtain the horizontal axis coordinate value and the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo according to the converted latitude and longitude information, the radius of the earth, and the circumference ratio.
  • the embodiment of the present invention provides a coordinate conversion method for aerial panoramic roaming data.
  • the method first obtains N aerial panoramic roaming photos taken in an aerial photography area, and extracts the longitude and latitude information of the N aerial panoramic roaming photos;
  • the longitude and latitude information of the panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo are combined with the preset conversion method to obtain the converted longitude and latitude information corresponding to the i-th aerial panoramic roaming photo; where N ⁇ i>1; according to the converted longitude and latitude Information, the radius of the earth and the pi, obtain the horizontal axis coordinate value and the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo.
  • the technical solution of the present invention does not need to obtain a large amount of parameter information, but only needs to obtain the longitude and latitude information of the picture, and select the first full set of photos.
  • the relative coordinates of each photo are calculated for the origin, and the relative coordinate value of the photo is obtained, so as to realize the coordinate conversion; the technical solution of the present invention can effectively improve the conversion efficiency of coordinate information and reduce the data storage space.
  • Fig. 1 is a schematic flowchart of a first embodiment of a coordinate conversion method for aerial panoramic roaming data provided by the present invention
  • Fig. 2 is a schematic structural diagram of a second embodiment of a coordinate conversion device for aerial panoramic roaming data provided by the present invention.
  • FIG. 1 is a schematic flowchart of an embodiment of a coordinate conversion method for aerial panoramic roaming data provided by the present invention. As shown in Figure 1, the method includes step 101 to step 103, and each step is specifically as follows:
  • Step 101 Obtain N aerial panoramic roaming photos taken in the aerial photography area, and extract the latitude and longitude information of the N aerial panoramic roaming photos.
  • N aerial panoramic roaming photos are taken by the drone, and the aerial panoramic roaming photos are arranged in time order to form an aerial panoramic roaming photo collection, and secondly, the aerial panoramic roaming photo collection is sent to the computer system.
  • Step 102 According to the longitude and latitude information of the i-th aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo, combined with the preset conversion method, obtain the converted longitude and latitude information corresponding to the i-th aerial panoramic roaming photo; where N ⁇ i>1.
  • the latitude and longitude information includes longitude and latitude; therefore, the longitude information in the longitude and latitude information of the i-th aerial panoramic roaming photo includes the longitude and the i-th aerial panoramic roaming in the longitude and latitude information of the i-th aerial panoramic roaming photo.
  • Converted longitude information includes converted longitude and converted latitude.
  • step 102 is specifically: based on the first conversion method and based on the longitude in the longitude and latitude information of the i-th aerial panoramic roaming photo and the longitude in the longitude and latitude information of the first aerial panoramic roaming photo, obtaining the i-th image The converted longitude corresponding to the aerial panoramic roaming photo; based on the second conversion method and according to the latitude in the longitude and latitude information of the i-th aerial panoramic roaming photo and the latitude in the longitude and latitude information of the first aerial panoramic roaming photo, the i-th aerial panorama is obtained The converted latitude corresponding to the roaming photo.
  • the conversion longitude is specifically: Calculate the longitude difference between the longitude in the longitude and latitude information of the i-th aerial panoramic roaming photo and the longitude and latitude information in the first aerial panoramic roaming photo, and determine whether the longitude difference is less than 180 ;
  • the converted longitude of the i-th aerial panoramic roaming photo is the difference between 360 and the longitude and latitude information of the i-th aerial panoramic roaming photo plus the longitude and latitude information of the first aerial panoramic roaming photo Longitude in
  • the converted longitude corresponding to i aerial panoramic roaming photos is the longitude difference.
  • the conversion latitude is specifically: Calculate the latitude difference between the latitude in the longitude and latitude information of the i-th aerial panoramic roaming photo and the latitude in the longitude and latitude information of the first aerial panoramic roaming photo, and determine whether the latitude difference is less than 180 ;
  • the converted latitude corresponding to the i-th aerial panoramic roaming photo is the difference between 360 and the latitude in the longitude and latitude information of the i-th aerial panoramic roaming photo plus the longitude and latitude information of the first aerial panoramic roaming photo Mid-latitude
  • the converted latitude corresponding to i aerial panoramic roaming photos is the latitude difference.
  • Step 103 Obtain the horizontal axis coordinate value and the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo according to the converted latitude and longitude information, the radius of the earth and the circumference ratio.
  • step 103 is specifically: according to the converted longitude, earth radius and pi, combined with the first preset formula to obtain the horizontal axis coordinate value corresponding to the i-th aerial panoramic roaming photo; according to the converted latitude, earth radius and pi , Combined with the second preset formula, obtain the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo.
  • the first preset formula is specifically:
  • rx is the coordinate value of the horizontal axis corresponding to the i-th aerial panoramic roaming photo
  • M_PI is the circle rate
  • L is the radius of the earth
  • orign_lat is the latitude in the longitude and latitude information of the first aerial panoramic roaming photo
  • d_lon is expressed as Convert longitude.
  • the second preset formula is specifically:
  • ry represents the coordinate value of the vertical axis corresponding to the i-th aerial panoramic roaming photo
  • M_PI represents the circumference of the circle
  • L represents the radius of the earth
  • d_lat represents the converted latitude
  • the radius of the earth is used to calculate the distance represented by each longitude and latitude per unit of longitude/latitude, so as to calculate the relative coordinates of the GPS point.
  • the different circumferences at different latitudes are considered. , So that the accuracy of the obtained relative position is higher.
  • the method further includes: obtaining the height data of the i-th aerial panoramic roaming photo, and obtaining the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo according to the height data, and adding the The horizontal axis coordinate value, the vertical axis coordinate value and the vertical axis coordinate value corresponding to i aerial panoramic roaming photos are stored in a binary manner, so as to reduce the storage space. It should be noted that storing the conversion result in binary form is beneficial to further reducing the data storage space.
  • the latitude and longitude information and the altitude data are respectively converted into horizontal axis coordinate values, vertical axis coordinate values, and vertical axis coordinate values, so as to better adapt to the computer three-dimensional rendering process.
  • an embodiment of the present invention provides a coordinate conversion method for aerial panoramic roaming data.
  • the method first obtains N aerial panoramic roaming photos taken in the aerial photography area, and extracts the longitude and latitude information of the N aerial panoramic roaming photos ; According to the longitude and latitude information of the i-th aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo, combined with the preset conversion method, obtain the converted longitude and latitude information corresponding to the i-th aerial panoramic roaming photo; where N ⁇ i >1; According to the converted latitude and longitude information, the radius of the earth and the circumference of the circumference, the horizontal axis coordinate value and the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo are obtained.
  • the technical solution of the present invention does not need to obtain a large amount of parameter information, but only needs to obtain the longitude and latitude information of the picture, and select the first full set of photos.
  • the relative coordinates of each photo are calculated for the origin, and the relative coordinate value of the photo is obtained, so as to realize the coordinate conversion; the technical solution of the present invention can effectively improve the conversion efficiency of coordinate information and reduce the data storage space.
  • FIG. 2 is a schematic structural diagram of a second embodiment of a coordinate conversion device for aerial panoramic roaming data provided by the present invention.
  • the system includes an information extraction module 101, a data acquisition module 102, and a conversion module 103.
  • the information extraction module 101 is configured to obtain N aerial panoramic roaming photos taken in the aerial photography area, and extract the latitude and longitude information of the N aerial panoramic roaming photos;
  • the data acquisition module 102 is used to obtain the converted latitude and longitude information corresponding to the i-th aerial panoramic roaming photo according to the longitude and latitude information of the i-th aerial panoramic roaming photo and the longitude and latitude information of the first aerial panoramic roaming photo in combination with a preset conversion method ; Among them, N ⁇ i>1;
  • the conversion module 103 is configured to obtain the horizontal axis coordinate value and the vertical axis coordinate value corresponding to the i-th aerial panoramic roaming photo according to the converted latitude and longitude information, the radius of the earth, and the circumference ratio.
  • the technical solution of the present invention does not need to obtain a large amount of parameter information, but only needs to obtain the longitude and latitude information of the picture, and the longitude and latitude coordinates can be converted into plane coordinates, thereby improving the conversion efficiency of coordinates and reducing the data storage space.
  • the program can be stored in a computer readable storage medium. At this time, it may include the procedures of the embodiments of the above-mentioned methods.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.

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

本发明公开了一种用于空中全景漫游数据的坐标转换方法及装置,该方法先获取航拍区域拍摄到的N张空中全景漫游照片,并提取N张空中全景漫游照片的经纬度信息;根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与第i张空中全景漫游照片对应的转换经纬度信息;其中,N≥i>1;根据转换经纬度信息、地球半径和圆周率,获得第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值。本发明技术方案不需要获取大量参数信息就能够将经纬度坐标转换为平面坐标,从而提高坐标的转换效率和降低数据的储存空间。

Description

一种用于空中全景漫游数据的坐标转换方法及装置 技术领域
本发明涉及计算机数据处理领域,尤其涉及一种用于空中全景漫游数据的坐标转换方法及装置。
背景技术
在制作空间漫游的过程中,需要获取每一张空中全景漫游照片的相对空间坐标,并根据这些相对空间坐标构建全景漫游模型。然而,空中拍摄的全景漫游照片仅包含GPS信息,因此需要将GPS中经纬度坐标转换为平面坐标。
现有技术中,采用墨卡托投影方法将GPS中经纬度坐标转换为平面坐标,其主要原理是将球面投影到圆柱面上,再将圆柱面展开。在本发明研究的过程中,发明人发现墨卡托投影方法主要应用在军事和测绘领域,其特点在于能够精准表达全球任一位置,从而使得墨卡托投影方法需要获取大量的参数信息,进而增加坐标转换时间;其中,参数信息包括椭球体长半轴、椭球体短半轴、偏心率、扁率。然而,在空间漫游模型的制作过程中,不需要获取大量的参数信息,若采用墨卡托投影方法将导致坐标转换时间增加,进而导致转换效率低,不仅如此,墨卡托投影法获取的参数信息多,需要占用更多的存储空间。
发明内容
本发明实施例提供了一种用于空中全景漫游数据的坐标转换方法,不需要获取大量参数信息就能够将经纬度坐标转换为平面坐标,从而提高坐标的转换效率和降低数据的储存空间。
为了解决上述技术问题,本发明实施例提供了一种用于空中全景漫游数据的坐标转换方法,包括:
获取航拍区域拍摄到的N张空中全景漫游照片,并提取N张所述空中全景 漫游照片的经纬度信息;
根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与所述第i张空中全景漫游照片对应的转换经纬度信息;其中,N≥i>1;
根据所述转换经纬度信息、地球半径和圆周率,获得所述第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值。
作为优选方案,所述方法还包括:
获取所述第i张空中全景漫游照片的高度数据,并根据所述高度数据获得所述第i张空中全景漫游照片对应的竖轴坐标值。
作为优选方案,所述方法还包括:
将所述第i张空中全景漫游照片对应的横轴坐标值、纵轴坐标值和竖轴坐标值以二进制的方式进行存储。
作为优选方案,所述根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与所述第i张空中全景漫游照片对应的转换经纬度信息,具体为:
基于第一转换方法并根据所述第i张空中全景漫游照片的经纬度信息中的经度和所述第一张空中全景漫游照片的经纬度信息中的经度,获得所述第i张空中全景漫游照片对应的转换经度;
基于第二转换方法并根据所述第i张空中全景漫游照片的经纬度信息中的纬度和所述第一张空中全景漫游照片的经纬度信息中的纬度,获得所述第i张空中全景漫游照片对应的转换纬度。
作为优选方案,所述基于第一转换方法并根据所述第i张空中全景漫游照片的经纬度信息中的经度和所述第一张空中全景漫游照片的经纬度信息中的经度,获得所述第i张空中全景漫游照片对应的转换经度,具体为:
计算所述第i张空中全景漫游照片的经纬度信息中的经度与所述第一张空中全景漫游照片的经纬度信息中的经度之间的经度差值,并判断所述经度差值是否小于第一阈值;
若所述经度差值小于第一阈值时,则所述第i张空中全景漫游照片对应的转换经度为第二阈值与所述第i张空中全景漫游照片的经纬度信息中的经度的差加上所述第一张空中全景漫游照片的经纬度信息中的经度;
若所述经度差值大于或等于第一阈值时,则所述i张空中全景漫游照片对应的转换经度为所述经度差值。
作为优选方案,所述基于第二转换方法并根据所述第i张空中全景漫游照片的经纬度信息中的纬度和所述第一张空中全景漫游照片的经纬度信息中的纬度,获得所述第i张空中全景漫游照片对应的转换纬度,具体为:
计算所述第i张空中全景漫游照片的经纬度信息中的纬度与所述第一张空中全景漫游照片的经纬度信息中的纬度之间的纬度差值,并判断所述纬度差值是否小于第一阈值;
若所述纬度差值小于第一阈值时,则所述第i张空中全景漫游照片对应的转换纬度为第二阈值与所述第i张空中全景漫游照片的经纬度信息中的纬度的差加上所述第一张空中全景漫游照片的经纬度信息中的纬度;
若所述纬度差值大于或等于第一阈值时,则所述i张空中全景漫游照片对应的转换纬度为所述纬度差值。
作为优选方案,所述根据所述转换经纬度信息、地球半径和圆周率,获得所述第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值,具体为:
所述转换经纬度信息包括转换经度和转换纬度;
根据所述转换经度、地球半径和圆周率,结合第一预设公式,获得所述第i张空中全景漫游照片对应的横轴坐标值;
根据所述转换纬度、地球半径和圆周率,结合第二预设公式,获得所述第i张空中全景漫游照片对应的纵轴坐标值。
作为优选方案,所述第一预设公式,具体为:
Figure PCTCN2020076861-appb-000001
其中,rx表示为第i张空中全景漫游照片对应的横轴坐标值,M_PI表示为圆周率,L表示为地球半径,orign_lat表示为第一张空中全景漫游照片的经纬度信息中的纬度,d_lon表示为转换经度。
作为优选方案,所述第二预设公式,具体为:
Figure PCTCN2020076861-appb-000002
其中,ry表示为第i张空中全景漫游照片对应的纵轴坐标值,M_PI表示为圆周率,L表示为地球半径,d_lat表示为转换纬度。
相应地,本发明还提供一种用于空中全景漫游数据的坐标转换装置,包括:
信息提取模块,用于获取航拍区域拍摄到的N张空中全景漫游照片,并提取N张所述空中全景漫游照片的经纬度信息;
数据获取模块,用于根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与所述第i张空中全景漫游照片对应的转换经纬度信息;其中,N≥i>1;
转换模块,用于根据所述转换经纬度信息、地球半径和圆周率,获得所述第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值。
实施本发明实施例,具有如下有益效果:
本发明实施例提供的用于空中全景漫游数据的坐标转换方法,该方法先获取航拍区域拍摄到的N张空中全景漫游照片,并提取N张空中全景漫游照片的经纬度信息;根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与第i张空中全景漫游照片对应的转换经纬度信息;其中,N≥i>1;根据转换经纬度信息、地球半径和圆周率,获得第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值。相比于现有技术采用墨卡托投影方法将经纬度坐标转为平面坐标,本发明技术方案无需获取大量的参数信息,而是只需要获取图片的经纬度信息,并选择第一张全集照片以此为原点计算各照片的相对坐标,获得该照片的相对坐标值,以此实现坐标的转换;采用本发明技术方案能够有效地提高坐标信息的转换效率和降低数据的 储存空间。
附图说明
图1是本发明提供的一种用于空中全景漫游数据的坐标转换方法的第一实施例的流程示意图;
图2是本发明提供的一种用于空中全景漫游数据的坐标转换装置的第二实施例的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
第一实施例:
参见图1,是本发明提供的一种用于空中全景漫游数据的坐标转换方法的一种实施例的流程示意图。如图1,该方法包括步骤101至步骤103,各步骤具体如下:
步骤101:获取航拍区域拍摄到的N张空中全景漫游照片,并提取N张空中全景漫游照片的经纬度信息。
在本实施例中,首先,通过无人机拍摄N张空中全景漫游照片,并按照时间循序将空中全景漫游照片进行排列,构成空中全景漫游照片集,其次,将空中全景漫游照片集发送至计算机系统。
在本实施例中,只需要获取图片的经纬度信息,无需获取大量的参数信息,例如椭球体长半轴、椭球体短半轴、偏心率、扁率,从而减少相应的信息处理流程,进而提高坐标的转换效率,同时无需存储大量的参数信息,进一步降低 数据的存储空间。
步骤102:根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与第i张空中全景漫游照片对应的转换经纬度信息;其中,N≥i>1。
在本实施例中,经纬度信息包括经度和纬度;因此,第i张空中全景漫游照片的经纬度信息中的经度信息包括第i张空中全景漫游照片的经纬度信息中的经度和第i张空中全景漫游照片的经纬度信息中的纬度;第一张空中全景漫游照片的经纬度信息中的经度信息包括第一张空中全景漫游照片的经纬度信息中的经度和第一张空中全景漫游照片的经纬度信息中的纬度;转换经度信息包括转换经度和转换纬度。
在本实施例中,步骤102具体为:基于第一转换方法并根据第i张空中全景漫游照片的经纬度信息中的经度和第一张空中全景漫游照片的经纬度信息中的经度,获得第i张空中全景漫游照片对应的转换经度;基于第二转换方法并根据第i张空中全景漫游照片的经纬度信息中的纬度和第一张空中全景漫游照片的经纬度信息中的纬度,获得第i张空中全景漫游照片对应的转换纬度。
在本实施例中,基于第一转换方法并根据第i张空中全景漫游照片的经纬度信息中的经度和第一张空中全景漫游照片的经纬度信息中的经度,获得第i张空中全景漫游照片对应的转换经度,具体为:计算第i张空中全景漫游照片的经纬度信息中的经度与第一张空中全景漫游照片的经纬度信息中的经度之间的经度差值,并判断经度差值是否小于180;
若经度差值小于180时,则第i张空中全景漫游照片对应的转换经度为360与第i张空中全景漫游照片的经纬度信息中的经度的差加上第一张空中全景漫游照片的经纬度信息中的经度;
若经度差值大于或等于180时,则i张空中全景漫游照片对应的转换经度为经度差值。
在本实施例中,基于第二转换方法并根据第i张空中全景漫游照片的经纬度信息中的纬度和第一张空中全景漫游照片的经纬度信息中的纬度,获得第i张空 中全景漫游照片对应的转换纬度,具体为:计算第i张空中全景漫游照片的经纬度信息中的纬度与第一张空中全景漫游照片的经纬度信息中的纬度之间的纬度差值,并判断纬度差值是否小于180;
若纬度差值小于180时,则第i张空中全景漫游照片对应的转换纬度为360与第i张空中全景漫游照片的经纬度信息中的纬度的差加上第一张空中全景漫游照片的经纬度信息中的纬度;
若纬度差值大于或等于180时,则i张空中全景漫游照片对应的转换纬度为纬度差值。
步骤103:根据转换经纬度信息、地球半径和圆周率,获得第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值。
在本实施例中,步骤103具体为:根据转换经度、地球半径和圆周率,结合第一预设公式,获得第i张空中全景漫游照片对应的横轴坐标值;根据转换纬度、地球半径和圆周率,结合第二预设公式,获得第i张空中全景漫游照片对应的纵轴坐标值。
在本实施例中,第一预设公式,具体为:
Figure PCTCN2020076861-appb-000003
其中,rx表示为第i张空中全景漫游照片对应的横轴坐标值,M_PI表示为圆周率,L表示为地球半径,orign_lat表示为第一张空中全景漫游照片的经纬度信息中的纬度,d_lon表示为转换经度。
在本实施例中,第二预设公式,具体为:
Figure PCTCN2020076861-appb-000004
其中,ry表示为第i张空中全景漫游照片对应的纵轴坐标值,M_PI表示为圆周率,L表示为地球半径,d_lat表示为转换纬度。
在本实施例中,以地球半径,计算各经纬度上的没单位经度/维度的所代表的距离,以此推算GPS点位的相对坐标,在估算过程中考虑了不同纬度上圆周 长不同的情况,从而使得获取的相对位置的准确度较高。
在本实施例中,在步骤103之后,该方法还包括:获取第i张空中全景漫游照片的高度数据,并根据高度数据获得第i张空中全景漫游照片对应的竖轴坐标值,并将第i张空中全景漫游照片对应的横轴坐标值、纵轴坐标值和竖轴坐标值以二进制的方式进行存储,以便于减少储存空间。需说明的是,将转换结果以二进制的形式存储,有利于进一步降低数据的储存空间。
在本实施例中,将经纬度信息和高度数据分别转为横轴坐标值、纵轴坐标值和竖轴坐标值,以便于更好适配计算机三维渲染的流程。
由上可见,本发明实施例提供的一种用于空中全景漫游数据的坐标转换方法,该方法先获取航拍区域拍摄到的N张空中全景漫游照片,并提取N张空中全景漫游照片的经纬度信息;根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与第i张空中全景漫游照片对应的转换经纬度信息;其中,N≥i>1;根据转换经纬度信息、地球半径和圆周率,获得第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值。相比于现有技术采用墨卡托投影方法将经纬度坐标转为平面坐标,本发明技术方案无需获取大量的参数信息,而是只需要获取图片的经纬度信息,并选择第一张全集照片以此为原点计算各照片的相对坐标,获得该照片的相对坐标值,以此实现坐标的转换;采用本发明技术方案能够有效地提高坐标信息的转换效率和降低数据的储存空间。
第二实施例
请参见图2,是本发明提供的一种用于空中全景漫游数据的坐标转换装置的第二实施例的结构示意图,该系统包括信息提取模块101、数据获取模块102和转换模块103。
信息提取模块101,用于获取航拍区域拍摄到的N张空中全景漫游照片,并提取N张空中全景漫游照片的经纬度信息;
数据获取模块102,用于根据第i张空中全景漫游照片的经纬度信息和第一 张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与第i张空中全景漫游照片对应的转换经纬度信息;其中,N≥i>1;
转换模块103,用于根据转换经纬度信息、地球半径和圆周率,获得第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值。
本实施例更详细的工作原理和流程可以但不限于参见第一实施例的用于空中全景漫游数据的坐标转换方法。
由上可见,本发明技术方案无需获取大量参数信息,只需要获取图片的经纬度信息,就能够将经纬度坐标转化为平面坐标,从而提高坐标的转换效率和降低数据的储存空间。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。

Claims (10)

  1. 一种用于空中全景漫游数据的坐标转换方法,其特征在于,包括:
    获取航拍区域拍摄到的N张空中全景漫游照片,并提取N张所述空中全景漫游照片的经纬度信息;
    根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与所述第i张空中全景漫游照片对应的转换经纬度信息;其中,N≥i>1;
    根据所述转换经纬度信息、地球半径和圆周率,获得所述第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值。
  2. 如权利要求1所述的用于空中全景漫游数据的坐标转换方法,其特征在于,所述方法还包括:
    获取所述第i张空中全景漫游照片的高度数据,并根据所述高度数据获得所述第i张空中全景漫游照片对应的竖轴坐标值。
  3. 如权利要求2所述的用于空中全景漫游数据的坐标转换方法,其特征在于,所述方法还包括:
    将所述第i张空中全景漫游照片对应的横轴坐标值、纵轴坐标值和竖轴坐标值以二进制的方式进行存储。
  4. 如权利要求1所述的用于空中全景漫游数据的坐标转换方法,其特征在于,所述根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与所述第i张空中全景漫游照片对应的转换经纬度信息,具体为:
    基于第一转换方法并根据所述第i张空中全景漫游照片的经纬度信息中的经度和所述第一张空中全景漫游照片的经纬度信息中的经度,获得所述第i张空中全景漫游照片对应的转换经度;
    基于第二转换方法并根据所述第i张空中全景漫游照片的经纬度信息中的纬度和所述第一张空中全景漫游照片的经纬度信息中的纬度,获得所述第i张空中全景漫游照片对应的转换纬度。
  5. 如权利要求4所述的用于空中全景漫游数据的坐标转换方法,其特征在于,所述基于第一转换方法并根据所述第i张空中全景漫游照片的经纬度信息中的经度和所述第一张空中全景漫游照片的经纬度信息中的经度,获得所述第i张空中全景漫游照片对应的转换经度,具体为:
    计算所述第i张空中全景漫游照片的经纬度信息中的经度与所述第一张空中全景漫游照片的经纬度信息中的经度之间的经度差值,并判断所述经度差值是否小于第一阈值;
    若所述经度差值小于第一阈值时,则所述第i张空中全景漫游照片对应的转换经度为第二阈值与所述第i张空中全景漫游照片的经纬度信息中的经度的差加上所述第一张空中全景漫游照片的经纬度信息中的经度;
    若所述经度差值大于或等于第一阈值时,则所述i张空中全景漫游照片对应的转换经度为所述经度差值。
  6. 如权利要求4所述的用于空中全景漫游数据的坐标转换方法,其特征在于,所述基于第二转换方法并根据所述第i张空中全景漫游照片的经纬度信息中的纬度和所述第一张空中全景漫游照片的经纬度信息中的纬度,获得所述第i张空中全景漫游照片对应的转换纬度,具体为:
    计算所述第i张空中全景漫游照片的经纬度信息中的纬度与所述第一张空中全景漫游照片的经纬度信息中的纬度之间的纬度差值,并判断所述纬度差值是否小于第一阈值;
    若所述纬度差值小于第一阈值时,则所述第i张空中全景漫游照片对应的转换纬度为第二阈值与所述第i张空中全景漫游照片的经纬度信息中的纬度的差加上所述第一张空中全景漫游照片的经纬度信息中的纬度;
    若所述纬度差值大于或等于第一阈值时,则所述i张空中全景漫游照片对应的转换纬度为所述纬度差值。
  7. 如权利要求4所述的用于空中全景漫游数据的坐标转换方法,其特征在于,所述根据所述转换经纬度信息、地球半径和圆周率,获得所述第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值,具体为:
    所述转换经纬度信息包括转换经度和转换纬度;
    根据所述转换经度、地球半径和圆周率,结合第一预设公式,获得所述第i张空中全景漫游照片对应的横轴坐标值;
    根据所述转换纬度、地球半径和圆周率,结合第二预设公式,获得所述第i张空中全景漫游照片对应的纵轴坐标值。
  8. 如权利要求7所述的用于空中全景漫游数据的坐标转换方法,其特征在于,所述第一预设公式,具体为:
    Figure PCTCN2020076861-appb-100001
    其中,rx表示为第i张空中全景漫游照片对应的横轴坐标值,M_PI表示为圆周率,L表示为地球半径,orign_lat表示为第一张空中全景漫游照片的经纬度信息中的纬度,d_lon表示为转换经度。
  9. 如权利要求7所述的用于空中全景漫游数据的坐标转换方法,其特征在于,所述第二预设公式,具体为:
    Figure PCTCN2020076861-appb-100002
    其中,ry表示为第i张空中全景漫游照片对应的纵轴坐标值,M_PI表示为圆周率,L表示为地球半径,d_lat表示为转换纬度。
  10. 一种用于空中全景漫游数据的坐标转换装置,其特征在于,包括:
    信息提取模块,用于获取航拍区域拍摄到的N张空中全景漫游照片,并提取N张所述空中全景漫游照片的经纬度信息;
    数据获取模块,用于根据第i张空中全景漫游照片的经纬度信息和第一张空中全景漫游照片的经纬度信息,结合预设转换方法,获得与所述第i张空中全景漫游照片对应的转换经纬度信息;其中,N≥i>1;
    转换模块,用于根据所述转换经纬度信息、地球半径和圆周率,获得所述第i张空中全景漫游照片对应的横轴坐标值和纵轴坐标值。
PCT/CN2020/076861 2019-12-19 2020-02-26 一种用于空中全景漫游数据的坐标转换方法及装置 WO2021120389A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911324200.1A CN111062875B (zh) 2019-12-19 2019-12-19 一种用于空中全景漫游数据的坐标转换方法及装置
CN201911324200.1 2019-12-19

Publications (1)

Publication Number Publication Date
WO2021120389A1 true WO2021120389A1 (zh) 2021-06-24

Family

ID=70301348

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/076861 WO2021120389A1 (zh) 2019-12-19 2020-02-26 一种用于空中全景漫游数据的坐标转换方法及装置

Country Status (2)

Country Link
CN (1) CN111062875B (zh)
WO (1) WO2021120389A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961078A (zh) * 2021-11-04 2022-01-21 中国科学院计算机网络信息中心 一种全景漫游方法、装置、设备及可读存储介质
CN116310295A (zh) * 2023-02-17 2023-06-23 中科世通亨奇(北京)科技有限公司 基于gis系统的离线区域街景漫游实现方法及系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087575B (zh) * 2020-08-24 2022-03-08 广州启量信息科技有限公司 一种虚拟相机控制方法

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916452A (zh) * 2010-07-26 2010-12-15 中国科学院遥感应用研究所 一种基于飞行控制信息的无人机遥感影像自动拼接方法
CN103558619A (zh) * 2013-11-06 2014-02-05 中测新图(北京)遥感技术有限责任公司 获取航拍像片的外方位元素的方法
US20150153188A1 (en) * 2010-07-07 2015-06-04 Google Inc. System and method of determining map coordinates from images
CN105718867A (zh) * 2016-01-16 2016-06-29 深圳先进技术研究院 一种基于导航飞艇的城市空中街景处理系统及方法
CN106127691A (zh) * 2016-07-12 2016-11-16 北京大学深圳研究生院 全景图像映射方法
CN107274340A (zh) * 2016-04-08 2017-10-20 北京岚锋创视网络科技有限公司 一种全景图像生成方法及装置
CN107808362A (zh) * 2017-11-15 2018-03-16 北京工业大学 一种基于无人机pos信息与图像surf特征结合的图像拼接方法
CN110542407A (zh) * 2019-07-23 2019-12-06 中国科学院长春光学精密机械与物理研究所 一种航拍图像任意像素点定位信息获取方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
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
CN102540200B (zh) * 2012-02-07 2014-02-05 上海伽利略导航有限公司 一种全球导航卫星系统接收机及位置测量方法
CN105373559A (zh) * 2014-08-26 2016-03-02 深圳市赛格导航科技股份有限公司 一种地理信息获取方法及地理信息获取系统
DE102015210096A1 (de) * 2015-06-01 2016-12-01 Continental Teves Ag & Co. Ohg Verfahren zur Transformation einer Positionsangabe in ein lokales Koordinatensystem
CN105138859B (zh) * 2015-09-30 2018-02-16 四川师范大学 三维全景漫游寻路方法及系统
CN106530218B (zh) * 2016-10-28 2020-04-10 浙江宇视科技有限公司 一种坐标转换方法及装置
CN107451593B (zh) * 2017-07-07 2020-05-15 西安交通大学 一种基于图像特征点的高精度gps定位方法
CN108257086B (zh) * 2017-12-22 2021-04-13 微幻科技(北京)有限公司 一种全景照片处理的方法及装置
CN109670462B (zh) * 2018-12-24 2019-11-01 北京天睿空间科技股份有限公司 基于定位信息的航空器跨全景持续跟踪方法

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150153188A1 (en) * 2010-07-07 2015-06-04 Google Inc. System and method of determining map coordinates from images
CN101916452A (zh) * 2010-07-26 2010-12-15 中国科学院遥感应用研究所 一种基于飞行控制信息的无人机遥感影像自动拼接方法
CN103558619A (zh) * 2013-11-06 2014-02-05 中测新图(北京)遥感技术有限责任公司 获取航拍像片的外方位元素的方法
CN105718867A (zh) * 2016-01-16 2016-06-29 深圳先进技术研究院 一种基于导航飞艇的城市空中街景处理系统及方法
CN107274340A (zh) * 2016-04-08 2017-10-20 北京岚锋创视网络科技有限公司 一种全景图像生成方法及装置
CN106127691A (zh) * 2016-07-12 2016-11-16 北京大学深圳研究生院 全景图像映射方法
CN107808362A (zh) * 2017-11-15 2018-03-16 北京工业大学 一种基于无人机pos信息与图像surf特征结合的图像拼接方法
CN110542407A (zh) * 2019-07-23 2019-12-06 中国科学院长春光学精密机械与物理研究所 一种航拍图像任意像素点定位信息获取方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961078A (zh) * 2021-11-04 2022-01-21 中国科学院计算机网络信息中心 一种全景漫游方法、装置、设备及可读存储介质
CN116310295A (zh) * 2023-02-17 2023-06-23 中科世通亨奇(北京)科技有限公司 基于gis系统的离线区域街景漫游实现方法及系统
CN116310295B (zh) * 2023-02-17 2023-12-05 中科世通亨奇(北京)科技有限公司 基于gis系统的离线区域街景漫游实现方法及系统

Also Published As

Publication number Publication date
CN111062875A (zh) 2020-04-24
CN111062875B (zh) 2021-11-12

Similar Documents

Publication Publication Date Title
WO2021120389A1 (zh) 一种用于空中全景漫游数据的坐标转换方法及装置
WO2021227359A1 (zh) 一种无人机投影方法、装置、设备及存储介质
WO2021017314A1 (zh) 信息处理方法、定位方法及装置、电子设备和存储介质
CN108073857B (zh) 动态视觉传感器dvs事件处理的方法及装置
CN109387186B (zh) 测绘信息获取方法、装置、电子设备及存储介质
WO2018068678A1 (zh) 一种立体摄像机外部参数的确定方法及装置
WO2020014909A1 (zh) 拍摄方法、装置和无人机
TWI649721B (zh) 無人飛行機之全景拍照方法與使用其之無人飛行機
CN112434709A (zh) 基于无人机实时稠密三维点云和dsm的航测方法及系统
US11367195B2 (en) Image segmentation method, image segmentation apparatus, image segmentation device
WO2021035731A1 (zh) 无人飞行器的控制方法、装置及计算机可读存储介质
CN114565863B (zh) 无人机图像的正射影像实时生成方法、装置、介质及设备
CN103985103A (zh) 一种生成全景图片的方法和装置
JP2017017689A (ja) 全天球動画の撮影システム、及びプログラム
KR100911931B1 (ko) 3차원 건물 모델 생성 방법 및 장치
CN105606123A (zh) 一种低空航空摄影测量自动纠正数字地面高程模型的方法
WO2023236508A1 (zh) 一种基于亿像素阵列式相机的图像拼接方法及系统
CN112484703A (zh) 测绘设备及无人机
US20120075482A1 (en) Image blending based on image reference information
JP2021117047A (ja) 無人飛行体を用いた写真測量方法および無人飛行体を用いた写真測量システム
WO2020237422A1 (zh) 航测方法、飞行器及存储介质
CN114981845A (zh) 图像扫描方法及装置、设备、存储介质
CN111213179A (zh) 一种图像数据处理方法、装置及系统
WO2021051220A1 (zh) 一种点云融合方法、设备、系统及存储介质
CN113129422A (zh) 一种三维模型构建方法、装置、存储介质和计算机设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20904008

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20904008

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04.05.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20904008

Country of ref document: EP

Kind code of ref document: A1