CN112085660A - Method and system for converting large-range live-action three-dimensional projection coordinates into spherical coordinate system - Google Patents
Method and system for converting large-range live-action three-dimensional projection coordinates into spherical coordinate system Download PDFInfo
- Publication number
- CN112085660A CN112085660A CN202010941176.2A CN202010941176A CN112085660A CN 112085660 A CN112085660 A CN 112085660A CN 202010941176 A CN202010941176 A CN 202010941176A CN 112085660 A CN112085660 A CN 112085660A
- Authority
- CN
- China
- Prior art keywords
- coordinate system
- xyz
- model
- vertex
- coordinates
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/606—Rotation of whole images or parts thereof by memory addressing or mapping
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/08—Projecting images onto non-planar surfaces, e.g. geodetic screens
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method for converting a large-range live-action three-dimensional projection coordinate into a spherical coordinate system, which particularly belongs to the data processing of a geographic information system and comprises the following contents: s1, loading management of live-action three-dimensional data and acquisition of spatial data set information; s2, reference origin O with model(xyz)Constructing a local space rectangular coordinate system as a result data coordinate system by taking the coordinates under the earth center rectangular coordinate system as a new origin; s3, converting all model Vertex coordinates of the live-action three-dimensional model into Vertex coordinates(xyz)Converting to a result data coordinate system; and S4, converting the center coordinates of the bounding volume of the model into an achievement data coordinate system, and updating and outputting achievement model data. The invention realizes the transformation of the real three-dimensional model data coordinate from the center-zeroing local coordinate system under the projection coordinate system to the center-zeroing local coordinate system under the geocentric coordinate system, so that the large-range real three-dimensional model data can be accurately loaded to the spherical coordinate systemOn a platform.
Description
Technical Field
The invention relates to the technical field of measurement, in particular to a method for converting a large-range live-action three-dimensional projection coordinate into a spherical coordinate system, belonging to the data processing of a geographic information system.
Background
The oblique photogrammetry technology is a high and new technology developed in recent years, which overturns the limitation that the prior orthoimage can only be shot from a vertical angle, carries a plurality of sensors on the same flight platform, simultaneously carries out aerial photogrammetry on the ground from a plurality of different angles (usually one vertical and four inclinations), obtains multi-angle image data with higher resolution, and automatically generates a real three-dimensional model (namely a live-action three-dimensional model).
The oblique photogrammetry technology has a key role in building digital China and digital cities, and the real three-dimensional model data result produced by the oblique photogrammetry technology reaches the city level and is a projection coordinate system, so that the real three-dimensional model data challenge the high-precision display capability of the real three-dimensional model data on a three-dimensional system platform with spherical coordinates.
The traditional loading method of the three-dimensional spherical system platform for the live-action three-dimensional model data only performs coordinate conversion on the origin of coordinates of the model (the plane data is rigidly changed and placed on the earth), because the edge of the model data has the influence of projection transformation errors and curvature, the error is not large in a small range (usually several kilometers) of time, and the loading of the live-action three-dimensional model data in a large range or at an urban level has a large error (the plane error is usually in a meter level), which is far from meeting the precision requirements of industries such as digital cities, three-dimensional real estate, urban and rural planning.
Disclosure of Invention
The invention aims to provide a method for converting a large-range live-action three-dimensional projection coordinate into a spherical coordinate system, which is used for constructing a result data coordinate system and realizing the conversion from a center-zeroing local coordinate system under a projection coordinate system to a center-zeroing local coordinate system under a geocentric coordinate system.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a method for converting a large-range live-action three-dimensional projection coordinate into a spherical coordinate system comprises the following steps:
s1, loading management of live-action three-dimensional data and acquisition of spatial data set information; wherein, the model space data set information DataSet comprises a model reference origin O under a Gaussian projection coordinate system(xyz)Vertex coordinates of the model Vertex(xyz)And the coordinate information of the central point of the model bounding volume in the BVH tree structure;
s2, reference origin O with model(xyz)Constructing a local space rectangular coordinate system as a result data coordinate system by taking the coordinates under the earth center rectangular coordinate system as a new origin;
s3, converting all model Vertex coordinates of the live-action three-dimensional model into Vertex coordinates(xyz)Converting to a result data coordinate system;
and S4, converting the center coordinates of the bounding volume of the model into an achievement data coordinate system, and updating and outputting achievement model data.
As an option, step S1 specifically includes the following:
s11, loading three-dimensional data, and performing spatial organization management by adopting a bounding volume level BVH tree;
and S12, obtaining model space data set information.
As an option, step S2 specifically includes the following:
s21, obtaining model reference origin O through coordinate transformation(xyz)Coordinates under a geocentric rectangular coordinate system; the method comprises the following specific steps:
firstly, calculating a model reference origin O through inverse Gaussian calculation(xyz)And the latitude and longitude of (c), and the geodetic height H is 0 and is recorded as the point O(BLH)(ii) a Then made of O(BL)Obtaining the coordinate of the earth under the coordinate system of the earth center rectangular coordinate through coordinate conversion calculation, and recording as a point O(XYZ)(ii) a Wherein the geocentric rectangular coordinate system is marked as O-XYZ;
wherein, O(BLH)To O(XYZ)The conversion formula of (c) is as follows:
wherein,n is the curvature radius of the ellipsoidal unitary-ground ring, e is the first eccentricity of an ellipsoid, and a and b are the major and minor axis radii of the ellipsoid;
s22, model reference origin O in rectangular coordinates with earth center(XYZ)Establishing a local space rectangular coordinate system as a result data coordinate system for the new origin; the method comprises the following specific steps:
at point O(XYZ)As the origin, the direction of the normal to the ellipsoid being the z-axis, O(XYZ)The meridian of the three-dimensional coordinate system is an x axis, the north direction is positive, the y axis is vertical to the x axis and the z axis, the east direction is positive, and a local space rectangular coordinate system is established and marked as o-xyz to serve as a result data coordinate system.
As an option, step S3 specifically includes the following:
s31, converting the Vertex coordinates of the model into Vertex coordinates(xyz)Converting to a geocentric rectangular coordinate system; the method comprises the following specific steps:
firstly, calculating the Vertex coordinates Vertex of the model by inverse Gaussian calculation(xyz)The longitude and latitude of (1), and the geodetic height H ═ Vertex(z)Wherein Vertex(z)As Vertex coordinates Vertex(xyz)Coordinate value of (1), noted as Vertex(BLH)(ii) a Then, according to the above formula (1), Vertex is added(BLH)The coordinate system is changed to a rectangular coordinate system of the earth center and is recorded as Vertex(XYZ);
S32, converting the Vertex coordinates of the model under the rectangular coordinates of the geocentric coordinate system to Vertex coordinates(XYZ)Converting the data into a result data coordinate system, and updating model space data set information; will Vertex(XYZ)The transformation formula for transforming the coordinates into an o-xyz coordinate system is as follows:
wherein (o)X,oY,oZ) Is the coordinate of the origin of the o-xyz coordinate system under the geocentric rectangular coordinate system, (Vt)X,VtY,VtZ) For model Vertex(XYZ)Coordinates in the Earth centered rectangular coordinate System, (Vt)x,Vty,Vtz) Are the coordinates of the vertices of the model in the o-xyz coordinate system.
Step S4 specifically includes the following:
s41, calculating coordinates of the center of the model bounding volume under an achievement data coordinate system, and updating model space data set information; the method comprises the following specific steps:
under an o-xyz coordinate system, two points min of the minimum and maximum vertex coordinates of the model are calculated firstlyxyz,maxxyzWherein minxyzDenotes the point at which x, y, z is the minimum in all vertex comparisons, maxxyzRepresenting the point where x, y, z is the largest in all vertex comparisons; then, the formula C is (min)xyz+maxxyz) 0.5, calculating a coordinate C of the center of the model bounding volume, and updating the coordinate C into a model space data set;
and S42, carrying out model output on the updated model space data set information.
Due to the adoption of the technical scheme, the invention has the following beneficial effects:
1. the invention utilizes a model reference origin O(xyz)Vertex coordinates of the model Vertex(xyz)And model space data set information of a central point coordinate of the model enclosure in the BVH tree structure, constructing a result data coordinate system, and realizing the conversion of the real three-dimensional model data coordinate from a center-to-zero local coordinate system under a projection coordinate system to a center-to-zero local coordinate system under a geocentric coordinate system, thereby achieving the purpose of reducing the precision error of loading the large-range real three-dimensional model data on the spherical coordinate system platform and accurately loading the large-range real three-dimensional model data on the spherical coordinate system platform.
2. The problem that precision errors of a large-range live-action three-dimensional model data loading spherical coordinate system platform are large is solved, and the reliability of the live-action three-dimensional model data in the industries of geographic information, urban and rural planning, real estate and the like is improved.
Drawings
FIG. 1 is a flow chart of the steps of the present invention.
Fig. 2 is a schematic diagram of a coordinate system of the present invention.
Fig. 3 is a diagram of the accuracy effect before coordinate conversion of the present invention.
Fig. 4 is a diagram of the effect of the accuracy after the coordinate transformation of the invention.
Fig. 5 is a block diagram of the comparison of accuracy before and after the coordinate conversion of the present invention.
FIG. 6 is a system block diagram of the conversion system of the present invention.
Detailed Description
The following further describes the embodiments of the present invention with reference to the drawings.
Example 1
As shown in fig. 1, the method for converting the wide-range live-action three-dimensional projection coordinate into the spherical coordinate system of the embodiment includes the following steps:
and step S1, loading and managing the live-action three-dimensional data and acquiring the spatial data set information. The specific contents are as follows:
s11, loading three-dimensional data and realizing scene graph management by adopting a bounding volume level BVH tree;
and S12, obtaining model space data set information.
And carrying out spatial organization management on the data by using the BVH tree, and acquiring model spatial data set information which mainly comprises a model reference origin, model vertex coordinates, center point coordinates of a model enclosure in the BVH tree structure and the like under a projection coordinate system. Obtaining model space data set information DataSet, mainly comprising model reference origin O under Gaussian projection coordinate system(xyz)Vertex coordinates of the model Vertex(xyz)And information such as the coordinates of the center point of the model enclosure in the BVH tree structure;
step S2, determining and constructing a result data coordinate system; with model reference origin O(xyz)And constructing a local space rectangular coordinate system as a result data coordinate system for the new origin by using the coordinates under the earth center rectangular coordinate system. The specific contents are as follows:
s21, obtaining the coordinates of the model reference origin under the geocentric rectangular coordinate system through coordinate conversion; converting the coordinates of the model reference origin into a geocentric geodetic coordinate system (BLH) and then into a geocentric rectangular coordinate system (XYZ) through coordinate conversion;
firstly, calculating a model reference origin O through inverse Gaussian calculation(xyz)And the latitude and longitude of (c), and the geodetic height H is 0 and is recorded as the point O(BLH)Then from O(BL)Obtaining the coordinate of the earth under the coordinate system of the earth center rectangular coordinate through coordinate conversion calculation, and recording as a point O(XYZ)The geocentric rectangular coordinate system is represented as O-XYZ, as shown in FIG. 2;
wherein O is(BLH)->O(XYZ)The conversion formula is as follows:
wherein,n is the curvature radius of the ellipsoidal unitary-ground ring, e is the first eccentricity of the ellipsoid, and a and b are the major and minor axis radii of the ellipsoid.
S22, taking the model reference origin under the geocentric rectangular coordinate system as a new origin, and establishing a local space rectangular coordinate system as a result data coordinate system;
as shown in fig. 2, at point O(XYZ)As the origin, the direction of the normal to the ellipsoid being the Z-axis, O(XYZ)The meridian of (A) is the x axis (north is positive), the y axis is perpendicular to the x and z axes (east is positive), a local space rectangular coordinate system is established and marked as o-xyz, and the coordinate system is the achievement data coordinate system.
Step S3, converting the real three-dimensional data coordinate; all model vertex coordinates vertex (xyz) of the live-action three-dimensional model are converted to a production data coordinate system. The specific contents are as follows:
s31, converting the model vertex coordinates into a geocentric rectangular coordinate system; converting the coordinates of the model vertex to a geocentric geodetic coordinate system (BLH) and then to a geocentric rectangular coordinate system (XYZ) through coordinate conversion;
firstly, calculating the Vertex coordinates Vertex of the model by inverse Gaussian calculation(xyz)The longitude and latitude of (1), and the geodetic height H ═ Vertex(z)Wherein Vertex(z)The coordinate value of the Vertex coordinate is recorded as Vertex(BLH). Then, according to the formula (1) of S21, the Vertex is processed(BLH)The coordinate system is changed to a rectangular coordinate system of the earth center and is recorded as Vertex(XYZ);
And S32, converting the model vertex coordinates under the geocentric rectangular coordinate system into a result data coordinate system, and updating the model space data set information.
The Vertex is calculated according to the following formula(XYZ)And (5) converting the coordinates into an o-xyz coordinate system to complete coordinate conversion.
Wherein (o)X,oY,oZ) Is the coordinate of the origin of the o-xyz coordinate system under the geocentric rectangular coordinate system, (Vt)X,VtY,VtZ) For model Vertex(XYZ)Coordinates in the Earth centered rectangular coordinate System, (Vt)x,Vty,Vtz) Are the coordinates of the vertices of the model in the o-xyz coordinate system.
Step S4, converting the result data and outputting; and converting the center coordinates of the bounding volume of the model into an achievement data coordinate system, and updating and outputting achievement model data. The specific contents are as follows:
s41, calculating coordinates of the center of the model bounding volume under an achievement data coordinate system, and updating model space data set information; and recalculating the coordinates of the central point of the model bounding volume according to the coordinates of the model vertex subjected to coordinate conversion, and updating the model space data set information.
Under an o-xyz coordinate system, two points min of the minimum and maximum vertex coordinates of the model are calculated firstlyxyz,maxxyzWherein minxyzDenotes the point at which x, y, z is the minimum in all vertex comparisons, maxxyzRepresenting the point where x, y, z is the largest in all vertex comparisons; then, the formula C is (min)xyz+maxxyz) 0.5, meterAnd calculating the coordinate C of the center of the model bounding volume and updating the coordinate C into a model space data set.
And S42, carrying out model output on the updated model space data set information.
As described above, the conversion method utilizes the model reference origin O(xyz)Vertex coordinates of the model Vertex(xyz)And model space data set information of the center point coordinate of the model enclosure in the BVH tree structure, constructing a result data coordinate system, and realizing the conversion of the real-scene three-dimensional model data coordinate from a center-to-zero local coordinate system under a projection coordinate system to a center-to-zero local coordinate system under a geocentric coordinate system, thereby achieving the purpose of reducing the precision error of loading the spherical coordinate system with the large-range real-scene three-dimensional model data.
The following will be specifically exemplified: test example of the conversion method
The data of an area of more than 80 square kilometers in a certain city of the region is selected for testing, after coordinate conversion, the precision of the data displayed on the spherical platform is remarkably improved, a precision effect graph before coordinate conversion is shown in figure 3, a precision effect graph after coordinate conversion is shown in figure 4, a precision comparison graph before and after coordinate conversion is shown in figure 5, and the error is smaller when the comparison is carried out with a control point.
Example 2
On the basis of the foregoing conversion method, a system based on the conversion method will be described below, and for a detailed description, refer to the foregoing scheduling method example.
As shown in fig. 6, the system for converting the wide-range real-scene three-dimensional projection coordinates into the spherical coordinate system of the present embodiment includes the following contents:
a loading management module: the system is used for loading management of live-action three-dimensional data and acquisition of spatial data set information; wherein, the model space data set information DataSet comprises a model reference origin O under a Gaussian projection coordinate system(xyz)Vertex coordinates of the model Vertex(xyz)And the coordinate information of the central point of the model bounding volume in the BVH tree structure;
a coordinate system building module: for referencing origin O with model(xyz)Constructing a local space rectangular coordinate system as a composition by taking coordinates under the earth center rectangular coordinate system as a new originA fruit data coordinate system;
the data conversion module: vertex coordinates Vertex of all models for three-dimensional live-action model(xyz)Converting to a result data coordinate system;
a model conversion output module: and the system is used for converting the center coordinates of the bounding volume of the model into an achievement data coordinate system, and updating and outputting achievement model data.
As an option, the load management module specifically includes the following:
loading three-dimensional data and realizing scene graph management by adopting a bounding volume level BVH tree;
model space dataset information is obtained.
As an option, the module for constructing the coordinate system specifically includes the following contents:
obtaining a model reference origin O by coordinate transformation(xyz)Coordinates under a geocentric rectangular coordinate system; the method comprises the following specific steps:
firstly, calculating a model reference origin O through inverse Gaussian calculation(xyz)And the latitude and longitude of (c), and the geodetic height H is 0 and is recorded as the point O(BLH)(ii) a Then made of O(BL)Obtaining the coordinate of the earth under the coordinate system of the earth center rectangular coordinate through coordinate conversion calculation, and recording as a point O(XYZ)(ii) a Wherein the geocentric rectangular coordinate system is marked as O-XYZ;
wherein, O(BLH)To O(XYZ)The conversion formula of (c) is as follows:
wherein,n is the curvature radius of the ellipsoidal unitary-ground ring, e is the first eccentricity of an ellipsoid, and a and b are the major and minor axis radii of the ellipsoid;
model reference origin O in rectangular coordinates with earth center(XYZ)Establishing a local space rectangular coordinate system as a result data coordinate system for the new origin; the method comprises the following specific steps:
at point O(XYZ)As the origin, the direction of the normal to the ellipsoid being the z-axis, O(XYZ)The meridian of the three-dimensional coordinate system is an x axis, the north direction is positive, the y axis is vertical to the x axis and the z axis, the east direction is positive, and a local space rectangular coordinate system is established and marked as o-xyz to serve as a result data coordinate system.
As an option, the data conversion module specifically includes the following:
the Vertex coordinates of the model are Vertex(xyz)Converting to a geocentric rectangular coordinate system; the method comprises the following specific steps:
firstly, calculating the Vertex coordinates Vertex of the model by inverse Gaussian calculation(xyz)The longitude and latitude of (1), and the geodetic height H ═ Vertex(z)Wherein Vertex(z)As Vertex coordinates Vertex(xyz)Coordinate value of (1), noted as Vertex(BLH)(ii) a Then, according to the above formula (1), Vertex is added(BLH)The coordinate system is changed to a rectangular coordinate system of the earth center and is recorded as Vertex(XYZ);
The Vertex coordinates of the model under the earth center rectangular coordinate system are Vertex(XYZ)Converting the data into a result data coordinate system, and updating model space data set information; will Vertex(XYZ)The transformation formula for transforming the coordinates into an o-xyz coordinate system is as follows:
wherein (o)X,oY,oZ) Is the coordinate of the origin of the o-xyz coordinate system under the geocentric rectangular coordinate system, (Vt)X,VtY,VtZ) For model Vertex(XYZ)Coordinates in the Earth centered rectangular coordinate System, (Vt)x,Vty,Vtz) Are the coordinates of the vertices of the model in the o-xyz coordinate system.
As an option, the model conversion output module specifically includes the following contents:
calculating the coordinates of the center of the model bounding volume under an achievement data coordinate system, and updating model space data set information; the method comprises the following specific steps:
under an o-xyz coordinate system, two points mi with minimum and maximum vertex coordinates of the model are calculated firstnxyz,maxxyzWherein minxyzDenotes the point at which x, y, z is the minimum in all vertex comparisons, maxxyzRepresenting the point where x, y, z is the largest in all vertex comparisons; then, the formula C is (min)xyz+maxxyz) 0.5, calculating a coordinate C of the center of the model bounding volume, and updating the coordinate C into a model space data set;
and carrying out model output on the updated model space data set information.
As described above, the conversion system utilizes a model reference origin O(xyz)Vertex coordinates of the model Vertex(xyz)And model space data set information of the center point coordinate of the model enclosure in the BVH tree structure, constructing a result data coordinate system, and realizing the conversion of the real-scene three-dimensional model data coordinate from a center-to-zero local coordinate system under a projection coordinate system to a center-to-zero local coordinate system under a geocentric coordinate system, thereby achieving the purpose of reducing the precision error of loading the spherical coordinate system with the large-range real-scene three-dimensional model data.
The foregoing description is directed to the details of preferred and exemplary embodiments of the invention, and not to the limitations defined thereby, which are intended to cover all modifications and equivalents of the invention as may come within the spirit and scope of the invention.
Claims (10)
1. A method for converting a large-range live-action three-dimensional projection coordinate into a spherical coordinate system is characterized by comprising the following steps:
s1, loading management of live-action three-dimensional data and acquisition of spatial data set information; wherein, the model space data set information DataSet comprises a model reference origin O under a Gaussian projection coordinate system(xyz)Vertex coordinates of the model Vertex(xyz)And the coordinate information of the central point of the model bounding volume in the BVH tree structure;
s2, reference origin O with model(xyz)Constructing a local space rectangular coordinate system as a result data coordinate system by taking the coordinates under the earth center rectangular coordinate system as a new origin;
s3, modeling the real scene three-dimensionallyAll model Vertex coordinates Vertex(xyz)Converting to a result data coordinate system;
and S4, converting the center coordinates of the bounding volume of the model into an achievement data coordinate system, and updating and outputting achievement model data.
2. The method for converting three-dimensional projection coordinates of large-scale real scenes into the spherical coordinate system according to claim 1, wherein the step S1 specifically comprises the following steps:
s11, loading three-dimensional data, and performing spatial organization management by adopting a bounding volume level BVH tree;
and S12, obtaining model space data set information.
3. The method for converting three-dimensional projection coordinates of large-scale real scenes into the spherical coordinate system according to claim 1, wherein the step S2 specifically comprises the following steps:
s21, obtaining model reference origin O through coordinate transformation(xyz)Coordinates under a geocentric rectangular coordinate system; the method comprises the following specific steps:
firstly, calculating a model reference origin O through inverse Gaussian calculation(xyz)And the latitude and longitude of (c), and the geodetic height H is 0 and is recorded as the point O(BLH)(ii) a Then made of O(BL)Obtaining the coordinate of the earth under the coordinate system of the earth center rectangular coordinate through coordinate conversion calculation, and recording as a point O(XYZ)(ii) a Wherein the geocentric rectangular coordinate system is marked as O-XYZ;
wherein, O(BLH)To O(XYZ)The conversion formula of (c) is as follows:
wherein, n is ellipsoidThe curvature radius of the unitary surface-mortise ring, e is the first eccentricity of an ellipsoid, and a and b are the major and minor axis radii of the ellipsoid;
s22, model reference origin O in rectangular coordinates with earth center(XYZ)Establishing a local space rectangular coordinate system as a result data coordinate system for the new origin; the method comprises the following specific steps:
at point O(XYZ)As the origin, the direction of the normal to the ellipsoid being the z-axis, O(XYZ)The meridian of the three-dimensional coordinate system is an x axis, the north direction is positive, the y axis is vertical to the x axis and the z axis, the east direction is positive, and a local space rectangular coordinate system is established and marked as o-xyz to serve as a result data coordinate system.
4. The method for converting three-dimensional projection coordinates of large-scale real scenes into a spherical coordinate system according to claim 1, wherein: the step S3 specifically includes the following steps:
s31, converting the Vertex coordinates of the model into Vertex coordinates(xyz)Converting to a geocentric rectangular coordinate system; the method comprises the following specific steps:
firstly, calculating the Vertex coordinates Vertex of the model by inverse Gaussian calculation(xyz)The longitude and latitude of (1), and the geodetic height H ═ Vertex(z)Wherein Vertex(z)As Vertex coordinates Vertex(xyz)Coordinate value of (1), noted as Vertex(BLH)(ii) a Then, according to the above formula (1), Vertex is added(BLH)The coordinate system is changed to a rectangular coordinate system of the earth center and is recorded as Vertex(XYZ);
S32, converting the Vertex coordinates of the model under the rectangular coordinates of the geocentric coordinate system to Vertex coordinates(XYZ)Converting the data into a result data coordinate system, and updating model space data set information; will Vertex(XYZ)The transformation formula for transforming the coordinates into an o-xyz coordinate system is as follows:
wherein (o)X,oY,oZ) Is the coordinate of the origin of the o-xyz coordinate system under the geocentric rectangular coordinate system, (Vt)X,VtY,VtZ) For model Vertex(XYZ)At right angle to the center of the earthCoordinates in the coordinate System, (Vt)x,Vty,Vtz) Are the coordinates of the vertices of the model in the o-xyz coordinate system.
5. The method for converting three-dimensional projection coordinates of large-scale real scenes into a spherical coordinate system according to claim 1, wherein: the step S4 specifically includes the following steps:
s41, calculating coordinates of the center of the model bounding volume under an achievement data coordinate system, and updating model space data set information; the method comprises the following specific steps:
under an o-xyz coordinate system, two points min of the minimum and maximum vertex coordinates of the model are calculated firstlyxyz,maxxyzWherein minxyzDenotes the point at which x, y, z is the minimum in all vertex comparisons, maxxyzRepresenting the point where x, y, z is the largest in all vertex comparisons; then, the formula C is (min)xyz+maxxyz) 0.5, calculating a coordinate C of the center of the model bounding volume, and updating the coordinate C into a model space data set;
and S42, carrying out model output on the updated model space data set information.
6. A conversion system from large-range live-action three-dimensional projection coordinates to a spherical coordinate system is characterized by comprising the following contents:
a loading management module: the system is used for loading management of live-action three-dimensional data and acquisition of spatial data set information; wherein, the model space data set information DataSet comprises a model reference origin O under a Gaussian projection coordinate system(xyz)Vertex coordinates of the model Vertex(xyz)And the coordinate information of the central point of the model bounding volume in the BVH tree structure;
a coordinate system building module: for referencing origin O with model(xyz)Constructing a local space rectangular coordinate system as a result data coordinate system by taking the coordinates under the earth center rectangular coordinate system as a new origin;
the data conversion module: vertex coordinates Vertex of all models for three-dimensional live-action model(xyz)Converting to a result data coordinate system;
a model conversion output module: and the system is used for converting the center coordinates of the bounding volume of the model into an achievement data coordinate system, and updating and outputting achievement model data.
7. The transformation system of the extended real-world three-dimensional projection coordinates into the spherical coordinate system according to claim 6, wherein the loading management module specifically comprises the following contents:
loading three-dimensional data and realizing scene graph management by adopting a bounding volume level BVH tree;
model space dataset information is obtained.
8. The system for converting world-wide real-world three-dimensional projection coordinates to spherical coordinates system according to claim 6, wherein said building coordinates system module comprises the following components:
obtaining a model reference origin O by coordinate transformation(xyz)Coordinates under a geocentric rectangular coordinate system; the method comprises the following specific steps:
firstly, calculating a model reference origin O through inverse Gaussian calculation(xyz)And the latitude and longitude of (c), and the geodetic height H is 0 and is recorded as the point O(BLH)(ii) a Then made of O(BL)Obtaining the coordinate of the earth under the coordinate system of the earth center rectangular coordinate through coordinate conversion calculation, and recording as a point O(XYZ)(ii) a Wherein the geocentric rectangular coordinate system is marked as O-XYZ;
wherein, O(BLH)To O(XYZ)The conversion formula of (c) is as follows:
wherein, n is the curvature radius of the ellipsoidal unitary-fourth-order circle, e is the first eccentricity of the ellipsoid, and a and b are the length of the ellipsoidThe shaft radius;
model reference origin O in rectangular coordinates with earth center(XYZ)Establishing a local space rectangular coordinate system as a result data coordinate system for the new origin; the method comprises the following specific steps:
at point O(XYZ)As the origin, the direction of the normal to the ellipsoid being the z-axis, O(XYZ)The meridian of the three-dimensional coordinate system is an x axis, the north direction is positive, the y axis is vertical to the x axis and the z axis, the east direction is positive, and a local space rectangular coordinate system is established and marked as o-xyz to serve as a result data coordinate system.
9. The system for converting world-wide real-world three-dimensional projection coordinates to spherical coordinates system of claim 6, wherein: the data conversion module specifically comprises the following contents:
the Vertex coordinates of the model are Vertex(xyz)Converting to a geocentric rectangular coordinate system; the method comprises the following specific steps:
firstly, calculating the Vertex coordinates Vertex of the model by inverse Gaussian calculation(xyz)The longitude and latitude of (1), and the geodetic height H ═ Vertex(z)Wherein Vertex(z)As Vertex coordinates Vertex(xyz)Coordinate value of (1), noted as Vertex(BLH)(ii) a Then, according to the above formula (1), Vertex is added(BLH)The coordinate system is changed to a rectangular coordinate system of the earth center and is recorded as Vertex(XYZ);
The Vertex coordinates of the model under the earth center rectangular coordinate system are Vertex(XYZ)Converting the data into a result data coordinate system, and updating model space data set information; will Vertex(XYZ)The transformation formula for transforming the coordinates into an o-xyz coordinate system is as follows:
wherein (o)X,oY,oZ) Is the coordinate of the origin of the o-xyz coordinate system under the geocentric rectangular coordinate system, (Vt)X,VtY,VtZ) For model Vertex(XYZ)Coordinates in the Earth centered rectangular coordinate System, (Vt)x,Vty,Vtz) For model vertex at o-Coordinates in the xyz coordinate system.
10. The system for converting world-wide real-world three-dimensional projection coordinates to spherical coordinates system of claim 9, wherein: the model conversion output module specifically comprises the following contents:
calculating the coordinates of the center of the model bounding volume under an achievement data coordinate system, and updating model space data set information; the method comprises the following specific steps:
under an o-xyz coordinate system, two points min of the minimum and maximum vertex coordinates of the model are calculated firstlyxyz,maxxyzWherein minxyzDenotes the point at which x, y, z is the minimum in all vertex comparisons, maxxyzRepresenting the point where x, y, z is the largest in all vertex comparisons; then, the formula C is (min)xyz+maxxyz) 0.5, calculating a coordinate C of the center of the model bounding volume, and updating the coordinate C into a model space data set;
and carrying out model output on the updated model space data set information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010941176.2A CN112085660B (en) | 2020-09-09 | 2020-09-09 | Method and system for converting large-range live-action three-dimensional projection coordinates into spherical coordinate system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010941176.2A CN112085660B (en) | 2020-09-09 | 2020-09-09 | Method and system for converting large-range live-action three-dimensional projection coordinates into spherical coordinate system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112085660A true CN112085660A (en) | 2020-12-15 |
| CN112085660B CN112085660B (en) | 2022-03-29 |
Family
ID=73731689
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010941176.2A Active CN112085660B (en) | 2020-09-09 | 2020-09-09 | Method and system for converting large-range live-action three-dimensional projection coordinates into spherical coordinate system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112085660B (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113286081A (en) * | 2021-05-18 | 2021-08-20 | 中国民用航空总局第二研究所 | Target identification method, device, equipment and medium for airport panoramic video |
| CN114581610A (en) * | 2022-03-14 | 2022-06-03 | 北京市测绘设计研究院 | Method for converting coordinates of Autodesk3Ds Max three-dimensional model |
| CN115576955A (en) * | 2022-12-07 | 2023-01-06 | 成都智元汇信息技术股份有限公司 | Sensing equipment self-built coordinate information storage method and system based on database |
| CN116129019A (en) * | 2022-12-29 | 2023-05-16 | 北京辰安科技股份有限公司 | Data processing method for oblique photography |
| CN118587374A (en) * | 2024-05-22 | 2024-09-03 | 华东(东营)智能网联汽车试验场有限公司 | A method for making a three-dimensional high-precision map of a park based on BIM technology |
| CN119795180A (en) * | 2025-02-07 | 2025-04-11 | 深圳市华成工业控制股份有限公司 | A robot trajectory coordinate conversion control method, device and robot system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6366292B1 (en) * | 1999-06-22 | 2002-04-02 | Oak Technology, Inc. | Scaling method and apparatus for a flat panel display |
| CN106875330A (en) * | 2016-12-30 | 2017-06-20 | 浙江科澜信息技术有限公司 | A kind of method that areal model turns Sphere Measurement Model |
-
2020
- 2020-09-09 CN CN202010941176.2A patent/CN112085660B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6366292B1 (en) * | 1999-06-22 | 2002-04-02 | Oak Technology, Inc. | Scaling method and apparatus for a flat panel display |
| CN106875330A (en) * | 2016-12-30 | 2017-06-20 | 浙江科澜信息技术有限公司 | A kind of method that areal model turns Sphere Measurement Model |
Non-Patent Citations (1)
| Title |
|---|
| 甘宗平: "3DMax模型在Skyline球面空间中的优化展示技术研究", 《地理空间信息》 * |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113286081A (en) * | 2021-05-18 | 2021-08-20 | 中国民用航空总局第二研究所 | Target identification method, device, equipment and medium for airport panoramic video |
| CN114581610A (en) * | 2022-03-14 | 2022-06-03 | 北京市测绘设计研究院 | Method for converting coordinates of Autodesk3Ds Max three-dimensional model |
| CN115576955A (en) * | 2022-12-07 | 2023-01-06 | 成都智元汇信息技术股份有限公司 | Sensing equipment self-built coordinate information storage method and system based on database |
| CN115576955B (en) * | 2022-12-07 | 2023-02-14 | 成都智元汇信息技术股份有限公司 | Sensing equipment self-built coordinate information storage method and system based on database |
| CN116129019A (en) * | 2022-12-29 | 2023-05-16 | 北京辰安科技股份有限公司 | Data processing method for oblique photography |
| CN118587374A (en) * | 2024-05-22 | 2024-09-03 | 华东(东营)智能网联汽车试验场有限公司 | A method for making a three-dimensional high-precision map of a park based on BIM technology |
| CN119795180A (en) * | 2025-02-07 | 2025-04-11 | 深圳市华成工业控制股份有限公司 | A robot trajectory coordinate conversion control method, device and robot system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112085660B (en) | 2022-03-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112085660B (en) | Method and system for converting large-range live-action three-dimensional projection coordinates into spherical coordinate system | |
| Sanz‐Ablanedo et al. | Reducing systematic dome errors in digital elevation models through better UAV flight design | |
| US20070269102A1 (en) | Method and System of Generating 3D Images with Airborne Oblique/Vertical Imagery, GPS/IMU Data, and LIDAR Elevation Data | |
| US20080036758A1 (en) | Systems and methods for determining a global or local position of a point of interest within a scene using a three-dimensional model of the scene | |
| CN112800514B (en) | Method for applying laser point Yun Jia BIM modeling technology to visual control platform of converter station | |
| CN112037122A (en) | Method for using geographic coordinates in game engine | |
| CN114413849A (en) | Three-dimensional geographic information data processing method and device for power transmission and transformation project | |
| CN118279510A (en) | Processing method and system of three-dimensional space data, electronic equipment and storage medium | |
| CN118154420B (en) | Multi-feature-based global mosaic generation method and system for stationary meteorological satellite | |
| CN112348887B (en) | Terminal posture determination method and related device | |
| US20100066740A1 (en) | Unified spectral and Geospatial Information Model and the Method and System Generating It | |
| CN117523111A (en) | Method and system for generating three-dimensional scenic spot cloud model | |
| Oniga et al. | Accuracy assessment of a complex building 3d model reconstructed from images acquired with a low-cost Uas | |
| CN110516304A (en) | A kind of interior space modeling method | |
| CN114092646A (en) | Model generation method and device, computer equipment and storage medium | |
| CN113670266A (en) | Technology for measuring real estate title by utilizing unmanned aerial vehicle oblique photography | |
| CN115201779B (en) | Method for acquiring imaging origin spatial position and baseline horizontal azimuth angle of radar | |
| CN117651114A (en) | Shooting method and device for inspection image of power system and computer equipment | |
| CN114595238A (en) | Vector-based map processing method and device | |
| CN112132029B (en) | Unmanned aerial vehicle remote sensing image rapid positioning method for earthquake emergency response | |
| CN118408521B (en) | Real estate data processing system and method based on oblique photography and three-dimensional laser scanning | |
| CN118394863B (en) | Geographic entity registration method and program product | |
| CN114490907A (en) | Method and device for constructing famous city management database and storage medium | |
| Zhang et al. | Research on Multi-Source Image Fusion Technology in the Digital Reconstruction of Classical Garden and Ancient Buildings | |
| CN110926428A (en) | Shielding detection method and device for calculating solar irradiance |
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 |