CN109062416B - Map state conversion method and device - Google Patents
Map state conversion method and device Download PDFInfo
- Publication number
- CN109062416B CN109062416B CN201811007016.XA CN201811007016A CN109062416B CN 109062416 B CN109062416 B CN 109062416B CN 201811007016 A CN201811007016 A CN 201811007016A CN 109062416 B CN109062416 B CN 109062416B
- Authority
- CN
- China
- Prior art keywords
- map image
- pixel point
- state
- coordinate
- mapping
- 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
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000006243 chemical reaction Methods 0.000 title abstract description 35
- 238000013507 mapping Methods 0.000 claims abstract description 207
- 230000007704 transition Effects 0.000 claims description 25
- 230000008569 process Effects 0.000 claims description 9
- 238000003672 processing method Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 11
- 230000002452 interceptive effect Effects 0.000 description 10
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- 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/06—Topological mapping of higher dimensional structures onto lower dimensional surfaces
- G06T3/073—Transforming surfaces of revolution to planar images, e.g. cylindrical surfaces to planar images
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method and a device for converting the state of a map. Wherein, the method comprises the following steps: displaying a map image in a current interface; detecting a state switching signal, wherein the state switching signal is used for switching the display state of the map image, and the display state comprises the following steps: spherical or planar state; and after the state switching signal is detected, displaying the switched map image, wherein the switched map image is obtained by mapping the coordinate value of each pixel point in the map image. The invention solves the technical problems of high complexity and low conversion efficiency of the state conversion method of the map in the prior art.
Description
Technical Field
The invention relates to the field of teaching application, in particular to a map state conversion method and device.
Background
In real life, the earth is round, but the maps used in real life are flat. In the field of teaching applications, in order to dynamically show students how the earth is transformed into a planar map in life, the state of the map needs to be transformed. The conventional conversion process of the spherical map and the planar map is generally implemented by calculating the vertex positions of the spherical surface in a 3D (three-dimensional) space in real time in a certain time period. However, this method has high complexity, resulting in low overall conversion efficiency, and requires a long time to see the converted map.
Aiming at the problems of high complexity and low conversion efficiency of a map state conversion method in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a state conversion method and device of a map, which are used for at least solving the technical problems of high complexity and low conversion efficiency of the state conversion method of the map in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a state transition method of a map image, including: displaying a map image in a current interface; detecting a state switching signal, wherein the state switching signal is used for switching the display state of the map image, and the display state comprises the following steps: spherical or planar state; and after the state switching signal is detected, displaying the switched map image, wherein the switched map image is obtained by mapping the coordinate value of each pixel point in the map image.
Further, detecting the state switching signal includes one or more of: detecting a state switching signal generated by a preset key; and detecting a state switching signal generated by the preset gesture operation.
Further, the preset gesture operation includes one or more of the following: zooming gesture, clicking gesture and sliding operation in a preset direction.
According to another aspect of the embodiments of the present invention, there is also provided a state transition method of a map image, including: acquiring a map image; detecting a state switching signal, wherein the state switching signal is used for switching the display state of the map image, and the display state comprises the following steps: spherical or planar state; after the state switching signal is detected, obtaining the coordinate value of each pixel point in the map image; and mapping the coordinate value of each pixel point in the map image to obtain the switched map image.
Further, mapping the coordinate value of each pixel point in the map image to obtain the switched map image includes: acquiring a coordinate mapping relation of the map image, wherein the coordinate mapping relation is used for representing the relation between coordinate values of the same pixel point in the map image in a planar state and coordinate values in the map image in a spherical state; mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relation to obtain the coordinate value of each pixel point in the switched map image; and generating the switched map image based on the coordinate value of each pixel point in the switched map image.
Further, the coordinate mapping relationship includes: the map image processing method comprises a first mapping relation and a second mapping relation, wherein the second mapping relation is used for representing the relation between coordinate values of the same pixel point in a map image in a planar state and with a preset size and the coordinate values of the same pixel point in the map image in a spherical state, and the first mapping relation is used for representing the relation between the coordinate values of the same pixel point in the map image in the planar state and with the preset size and the coordinate values of the same pixel point in the map image in the planar state.
Further, obtaining the first mapping relationship includes: acquiring the radius of a map image in a spherical state; and obtaining a first mapping relation based on the radius, the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the spherical state.
Further, the first mapping relationship includes: the abscissa of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the longitude corresponding to each pixel point; the vertical coordinate of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the latitude corresponding to each pixel point; the positive selection function value of the arc value of the latitude corresponding to each pixel point is the ratio of the longitudinal coordinate and the radius of each pixel point in the map image in the spherical state, the sine function value of the arc value of the longitude corresponding to each pixel point is the ratio of the transverse coordinate of each pixel point in the map image in the spherical state and a first product, and the first product is the product of the cosine function value and the radius of the arc value of the latitude corresponding to each pixel point.
Further, obtaining the second mapping relationship includes: acquiring the size proportion of a map image in a planar state; obtaining a preset size based on the size proportion of the map image in the plane state; and obtaining a second mapping relation based on the preset size and the size proportion of the map image in the planar state, and the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the planar state.
Further, the second mapping relationship includes: the abscissa of each pixel point in the map image in the planar state and in the preset size is a difference value between a second product and the size proportion, the second product is a product of a preset width in the preset size and the abscissa of each pixel point in the map image in the planar state, and the preset width is a product of a first preset value and the size proportion; the ordinate of each pixel point in the map image which is in the plane state and has the preset size is the difference value between the third product and the second preset value, and the third product is the product of the first preset value and the abscissa of each pixel point in the map image which is in the plane state.
Further, under the condition that the display state of the map image is a spherical state, mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relationship, and obtaining the coordinate value of each pixel point in the switched map image includes: mapping the coordinate value of each pixel point in the map image based on the first mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size; and mapping the coordinate value of each pixel point in the map image which is in the plane state and has the preset size based on the second mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
Further, under the condition that the display state of the map image is a planar state, mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relationship, and obtaining the coordinate value of each pixel point in the switched map image includes: mapping the coordinate value of each pixel point in the map image based on the second mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size; and mapping the coordinate value of each pixel point in the map image which is in a planar state and has a preset size based on the first mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
According to another aspect of the embodiments of the present invention, there is also provided a state transition device of a map image, including: the first display module is used for displaying the map image in the current interface; the detection module is used for detecting a state switching signal, wherein the state switching signal is used for switching the display state of the map image, and the display state comprises: spherical or planar state; and the second display module is used for displaying the switched map image after detecting the state switching signal, wherein the switched map image is obtained by mapping the coordinate value of each pixel point in the map image.
Further, detecting the state switching signal includes one or more of: detecting a state switching signal generated by a preset key; and detecting a state switching signal generated by the preset gesture operation.
Further, the preset gesture operation includes one or more of the following: zooming gesture, clicking gesture and sliding operation in a preset direction.
According to another aspect of the embodiments of the present invention, there is also provided a state transition device of a map image, including: the first acquisition module is used for acquiring a map image; the detection module is used for detecting a state switching signal, wherein the state switching signal is used for switching the display state of the map image, and the display state comprises: spherical or planar state; the second acquisition module is used for acquiring the coordinate value of each pixel point in the map image after the state switching signal is detected; and the mapping module is used for mapping the coordinate value of each pixel point in the map image to obtain the switched map image.
Further, the mapping module includes: the first obtaining submodule is used for obtaining a coordinate mapping relation of the map image, wherein the coordinate mapping relation is used for representing the relation between coordinate values of the same pixel point in the map image in a planar state and coordinate values of the same pixel point in the map image in a spherical state; the first mapping submodule is used for mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relation to obtain the coordinate value of each pixel point in the switched map image; and the generation submodule is used for generating the switched map image based on the coordinate value of each pixel point in the switched map image.
Further, the coordinate mapping relationship includes: the map image processing method comprises a first mapping relation and a second mapping relation, wherein the second mapping relation is used for representing the relation between coordinate values of the same pixel point in a map image in a planar state and with a preset size and the coordinate values of the same pixel point in the map image in a spherical state, and the first mapping relation is used for representing the relation between the coordinate values of the same pixel point in the map image in the planar state and with the preset size and the coordinate values of the same pixel point in the map image in the planar state.
Further, the first obtaining sub-module includes: a first acquisition unit configured to acquire a radius of a map image in a spherical state; and the first processing unit is used for obtaining a first mapping relation based on the radius, the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the spherical state.
Further, the first mapping relationship includes: the abscissa of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the longitude corresponding to each pixel point; the vertical coordinate of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the latitude corresponding to each pixel point; the positive selection function value of the arc value of the latitude corresponding to each pixel point is the ratio of the longitudinal coordinate and the radius of each pixel point in the map image in the spherical state, the sine function value of the arc value of the longitude corresponding to each pixel point is the ratio of the transverse coordinate of each pixel point in the map image in the spherical state and a first product, and the first product is the product of the cosine function value and the radius of the arc value of the latitude corresponding to each pixel point.
Further, the first obtaining sub-module includes: a second acquisition unit configured to acquire a size scale of the map image in a planar state; the second processing unit is used for obtaining a preset size based on the size proportion of the map image in the plane state; and the third processing unit is used for obtaining a second mapping relation based on the preset size and the size proportion of the map image in the planar state, and the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the planar state.
Further, the second mapping relationship includes: the abscissa of each pixel point in the map image in the planar state and in the preset size is a difference value between a second product and the size proportion, the second product is a product of a preset width in the preset size and the abscissa of each pixel point in the map image in the planar state, and the preset width is a product of a first preset value and the size proportion; the ordinate of each pixel point in the map image which is in the plane state and has the preset size is the difference value between the third product and the second preset value, and the third product is the product of the first preset value and the abscissa of each pixel point in the map image which is in the plane state.
Further, in a case where the display state of the map image is a spherical state, the first mapping submodule includes: the first mapping unit is used for mapping the coordinate value of each pixel point in the map image based on the first mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size; and the second mapping unit is used for mapping the coordinate value of each pixel point in the map image which is in the planar state and has the preset size based on the second mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
Further, in a case where the display state of the map image is a planar state, the first mapping sub-module includes: the third mapping unit is used for mapping the coordinate value of each pixel point in the map image based on the second mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size; and the fourth mapping unit is used for mapping the coordinate value of each pixel point in the map image which is in the planar state and has the preset size based on the first mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the apparatus on which the storage medium is located is controlled to execute the above-mentioned state transition method of the map image when the program is executed.
According to another aspect of the embodiments of the present invention, there is also provided a processor for executing a program, wherein the program executes the state transition method of the map image described above.
In the embodiment of the invention, after the state switching signal is detected in real time, the coordinate value of each pixel point in the map image is mapped to obtain the switched map image, compared with the prior art, the conversion between the spherical surface and the flat plate can be realized through coordinate mapping without calculating the vertex position in a 3D space, namely, the conversion can be realized without adopting 3D related instructions, so that the technical effects of reducing the development capacity requirement of a user, reducing the complexity of the state conversion method and improving the processing efficiency of the state conversion method are achieved, and the technical problems of high complexity and low conversion efficiency of the state conversion method of the map in the prior art are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of state transition of a map image according to an embodiment of the present invention;
fig. 2 is a flowchart of another state transition method of a map image according to an embodiment of the present invention;
FIG. 3 is an orthogonal projection of an alternative spherical radius tending towards infinity according to an embodiment of the present invention;
FIG. 4 is an alternative orthogonal projection of a reduced spherical radius in accordance with embodiments of the present invention;
FIG. 5 is an alternative orthogonal projection of a map image picture completely covering a sphere, in accordance with embodiments of the present invention;
FIG. 6 is an alternative spherical coordinate longitude and latitude calculation schematic according to an embodiment of the present invention;
FIG. 7 is a schematic illustration of an alternative initial coordinate system of a map image according to an embodiment of the invention;
FIG. 8 is a schematic illustration of an alternative post-map coordinate system of a map image picture in accordance with an embodiment of the present invention;
FIG. 9 is a schematic diagram of a state transition device for a map image according to an embodiment of the present invention; and
fig. 10 is a schematic diagram of another state transition device of a map image according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a state transition method for a map image, it is noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of a state transition method of a map image according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
and step S102, displaying the map image in the current interface.
Specifically, in the teaching application scenario, in order to show students how the earth and the plane map images are converted, a map image picture with a state conversion function may be first required in the smart interactive tablet, and the display state of the map image may be a spherical state or a planar state.
Step S104, detecting a state switching signal, wherein the state switching signal is used for switching the display state of the map image, and the display state comprises: spherical or planar.
Optionally, detecting the state switching signal comprises one or more of: detecting a state switching signal generated by a preset key; and detecting a state switching signal generated by the preset gesture operation.
Specifically, in a teaching application scene, in order to facilitate a teacher to select whether to switch the display state of the map image as required, a preset key may be displayed in the intelligent interactive tablet, and the teacher may generate a state switching signal for switching the current display state of the map image by clicking the preset key.
Further, the preset gesture operation includes one or more of the following: zooming gesture, clicking gesture and sliding operation in a preset direction.
Specifically, in a teaching application scenario, for convenience of teacher operation, a gesture operation may be preset, for example, switching from a spherical surface to a plane may be realized by a zoom-in gesture operation, and switching from a plane to a spherical surface may be realized by a zoom-out gesture operation; the switching between the spherical surface and the plane can be realized by double-clicking the earth; or, the switching from the spherical surface to the plane can be realized by sliding operation of rightward sliding, and the switching from the plane to the spherical surface can be realized by performing gesture operation again. When the teacher needs to switch the display state of the map image, corresponding gesture operation can be performed on the intelligent interactive tablet, so that a switching signal for switching the current display state of the map image is generated.
And step S106, after the state switching signal is detected, displaying the switched map image, wherein the switched map image is obtained by mapping the coordinate value of each pixel point in the map image.
Specifically, in order to realize the animation of spherical and planar conversion by using different 3D-related knowledge, the coordinate values of the pixel points in the map image may be calculated by an algorithm to simulate the conversion process of the spherical and planar. For example, a mapping relationship of coordinate values of the same pixel point between the spherical surface and the plane may be pre-established, and the map image after the corresponding display state is switched is further generated according to the coordinate values of the corresponding pixel points by mapping the coordinate value of each pixel point in the map image in the current display state to the coordinate value in the other display state. And displaying the switched map image in the intelligent interactive flat plate, and obtaining the animation of spherical and plane conversion by displaying the animation effect between the original map image and the switched map image.
In an optional scheme, in the teaching application scene, during the course of the teacher lecturing through the intelligent interactive tablet, the map image in a certain display state can be displayed in the intelligent interactive panel, in order to show the conversion animation of the spherical surface and the plane to the classmate, a teacher can realize the conversion of the current display state of the map image by clicking a preset key displayed on the intelligent interactive panel or performing preset gesture operation on the intelligent interactive panel, therefore, the intelligent interactive panel can detect the corresponding state switching signal, further can map the coordinate value of each pixel point in the map image through a preset algorithm to obtain the coordinate value of each pixel point in another display state, therefore, the switched map image is obtained and displayed through the intelligent interactive panel, and the whole state switching process is completed.
By adopting the embodiment of the invention, after the state switching signal is detected in real time, the map image after switching is obtained by mapping the coordinate value of each pixel point in the map image, compared with the prior art, the conversion of the spherical surface and the flat plate can be realized by coordinate mapping without calculating the vertex position in a 3D space, namely, the conversion can be realized without adopting 3D related instructions, thereby achieving the technical effects of reducing the development capacity requirement of a user, reducing the complexity of the state conversion method and improving the processing efficiency of the state conversion method, and further solving the technical problems of high complexity and low conversion efficiency of the state conversion method of the map in the prior art.
Example 2
There is also provided, in accordance with an embodiment of the present invention, an embodiment of a state transition method for a map image, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than here.
Fig. 2 is a flowchart of another state transition method of a map image according to an embodiment of the present invention, as shown in fig. 2, the method including the steps of:
according to another aspect of the embodiments of the present invention, there is also provided a state transition method of a map image, including:
in step S202, a map image is acquired.
Step S204, detecting a state switching signal, where the state switching signal is used to switch a display state of the map image, and the display state includes: spherical or planar.
Step S206, after the state switching signal is detected, coordinate values of each pixel point in the map image are obtained.
And step S208, mapping the coordinate value of each pixel point in the map image to obtain the switched map image.
Optionally, in step S208, mapping the coordinate value of each pixel point in the map image, and obtaining the switched map image includes: acquiring a coordinate mapping relation of the map image, wherein the coordinate mapping relation is used for representing the relation between coordinate values of the same pixel point in the map image in a planar state and coordinate values in the map image in a spherical state; mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relation to obtain the coordinate value of each pixel point in the switched map image; and generating the switched map image based on the coordinate value of each pixel point in the switched map image.
Further, the coordinate mapping relationship may include: the map image processing method comprises a first mapping relation and a second mapping relation, wherein the second mapping relation is used for representing the relation between coordinate values of the same pixel point in a map image in a planar state and with a preset size and the coordinate values of the same pixel point in the map image in a spherical state, and the first mapping relation is used for representing the relation between the coordinate values of the same pixel point in the map image in the planar state and with the preset size and the coordinate values of the same pixel point in the map image in the planar state.
Specifically, in a teaching application scenario, in order to avoid the problem that the map image pictures with different sizes are subjected to deviation or error in the mapping process, so that the conversion between the spherical surface and the plane cannot be realized, the map image pictures with any size can be mapped to a preset size, for example, the map image pictures are mapped to a rectangular area with a width of 2 × whRatio and a height of 2, and the coordinate value ranges of the pixel points in the rectangular area are as follows: x 1: [ -whRatio, whRatio ], y 1: [ -1,1], where whRadio is the aspect ratio of the original map image picture.
Optionally, the obtaining the first mapping relationship includes: acquiring the radius of a map image in a spherical state; and obtaining a first mapping relation based on the radius, the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the spherical state.
It should be noted that, in the teaching application scenario, the teacher may convert the map image in the planar state and with the preset size into the map image in the spherical state, as shown in fig. 3, two sides 1 and 3 of the map image may be mapped along the latitude lines of the spherical surface, and two sides 2 and 4 may be mapped along the longitude lines of the spherical surface. When the spherical radius tends to be positive infinity, the picture will appear approximately flat in an orthographic view. As shown in fig. 4, when the spherical radius R becomes smaller, the latitude lines of the spherical surface are kept horizontal and the longitude lines are curved in the orthogonal projection view. Meanwhile, the longitude and latitude areas covered by the map pictures are gradually increased. As shown in fig. 5, when the value of the spherical radius R satisfies pi × R — the height of the map picture, the map picture completely covers the spherical surface and is mapped into a sphere. At this time, the edge 1 of the map picture is mapped to the north pole of the spherical surface, the edge 3 of the map image picture is mapped to the south pole of the spherical surface, and the edges 2 and 4 of the map picture are mapped to the same meridian.
Specifically, in a teaching application scenario, when the map image completely covers the sphere, pi × R is 2, so the minimum value of R is 2/pi. The value range of R is [ 2/pi, ∞). For convenience of calculation, param is taken to be 1/R, so that the value range of param is (0, pi/2).
Further, the first mapping relationship includes: the abscissa of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the longitude corresponding to each pixel point; the vertical coordinate of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the latitude corresponding to each pixel point; the positive selection function value of the arc value of the latitude corresponding to each pixel point is the ratio of the longitudinal coordinate and the radius of each pixel point in the map image in the spherical state, the sine function value of the arc value of the longitude corresponding to each pixel point is the ratio of the transverse coordinate of each pixel point in the map image in the spherical state and a first product, and the first product is the product of the cosine function value and the radius of the arc value of the latitude corresponding to each pixel point.
Specifically, the first mapping relationship is obtained by the following formula: x1 ═ α R, y1 ═ β R, where,r is a radius, β is an arc value representing a latitude corresponding to each pixel, α is an arc value representing a longitude corresponding to each pixel, (x1, y1) is a coordinate value of each pixel in the map image in the planar state and in the preset size, and (x2, y2) is a coordinate value of each pixel in the map image in the spherical state.
As shown in fig. 6, a transformation equation of coordinates (x1, y1) of an arbitrary point of the map image in a planar state and in a preset size and coordinates (x2, y2) of an orthogonal projection of the arbitrary point of the spherical surface may be established, that is, the above first mapping relationship is established. And the projection of the spherical arbitrary point (x2, y2, z2) on the xy plane is (x2, y 2). Further, the corresponding latitude may be determined to have an arc value ofCorresponding to a longitude having an arc value ofThe arc length corresponding to the longitude of the spherical point is equal to the absolute value of the x coordinate of the expanded plane map image, and the arc length corresponding to the latitude is equal to the absolute value of the y coordinate of the expanded plane map image. Therefore, the coordinate values x1 ═ α R and y1 ═ β R of the coordinates (x1, y1) of the corresponding point of the map image in the planar state and in the preset size.
Optionally, the obtaining the second mapping relationship includes: acquiring the size proportion of a map image in a planar state; obtaining a preset size based on the size proportion of the map image in the plane state; and obtaining a second mapping relation based on the preset size and the size proportion of the map image in the planar state, and the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the planar state.
Specifically, the size scale may be an aspect ratio whRadio of the original map image picture, and the preset size may include: the preset width and the preset length are 2 XwhRadio, and the preset height is 2. As shown in fig. 7 and 8, a transformation equation of coordinates (x1, y1) of an arbitrary point of the map image in the planar state and in a preset size and coordinates (x0, y0) in the initial coordinates (i.e., in the map image in the planar state) may be established, that is, the second mapping relationship as above is established.
Further, the second mapping relationship includes: the abscissa of each pixel point in the map image in the planar state and in the preset size is a difference value between a second product and the size proportion, the second product is a product of a preset width in the preset size and the abscissa of each pixel point in the map image in the planar state, and the preset width is a product of a first preset value and the size proportion; the ordinate of each pixel point in the map image which is in the plane state and has the preset size is the difference value between the third product and the second preset value, and the third product is the product of the first preset value and the abscissa of each pixel point in the map image which is in the plane state.
Specifically, the second mapping relationship is obtained by the following formula: x1 is (2x0-1) × whRadio, y1 is 2y0-1, wherein (x0, y0) are coordinate values of each pixel point in the map image in the planar state. The coordinates may be mapped into a preset area of 2 × whRadio width and 2 height by the formula x1 ═ 2x0-1) × whRadio and y1 ═ 2x 1-1. Any point (x0, y0) in the coordinate system represents the ratio of the actual coordinate of the point to the width of the picture, for example, the actual coordinate corresponding to the point (x0, y0) is (x0 × width, y0 × height), where width is the actual width of the map image picture and height is the actual height of the map image picture.
It should be noted that, under the condition that the display states of the map images are different, the mapping relationships used in the coordinate mapping process may be mapped in opposite directions.
Further, under the condition that the display state of the map image is a spherical state, mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relationship, and obtaining the coordinate value of each pixel point in the switched map image includes: mapping the coordinate value of each pixel point in the map image based on the first mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size; and mapping the coordinate value of each pixel point in the map image which is in the plane state and has the preset size based on the second mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
In an alternative, in the teaching application scenario, in the case that the currently displayed map image is in the spherical state, after it is determined that the teacher needs to perform the display state conversion, the coordinates (x2, y2) of the orthogonal projection of each pixel point in the map image may be obtained, and the coordinates are mapped by the above-mentioned first mapping relationship, that is, by the formulas x1 ═ α R, y1 ═ β R,obtaining coordinates (x1, y1) of the corresponding pixel point in the map image in the planar state and in the preset size, and further obtaining initial coordinates (x0, y0) of the corresponding pixel point in the map image in the planar state through the second mapping relationship, namely through the formulas x0 ═ x1/wh radio +1)/2 and y0 ═ y1+1)/2, so as to obtain the final map image in the planar state.
Further, under the condition that the display state of the map image is a planar state, mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relationship, and obtaining the coordinate value of each pixel point in the switched map image includes: mapping the coordinate value of each pixel point in the map image based on the second mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size; and mapping the coordinate value of each pixel point in the map image which is in a planar state and has a preset size based on the first mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
In an alternative scheme, in a teaching application scenario, in a case that a currently displayed map image is in a planar state, after it is determined that a teacher needs to perform display state conversion, initial coordinates (x0, y0) of each pixel point in an initial coordinate system in the currently displayed map image may be obtained, and coordinates (x1, y1) of the corresponding pixel point in the planar state and in a map image of a preset size may be obtained through the second mapping relationship, that is, the formulas x1 ═ 2x0-1) × hwradio and y1 ═ 2x1-1, further through the first mapping relationship, that is, the formulas x1 ═ α R and y1 ═ β R,the inverse equation of (2) obtains coordinates (x2, y2) in the map image in the spherical state, thereby obtaining the final map image in the spherical state.
Example 3
According to the embodiment of the invention, the embodiment of the state conversion device of the map image is also provided.
Fig. 9 is a schematic diagram of a state transition apparatus of a map image according to an embodiment of the present invention, as shown in fig. 9, the apparatus including: a first display module 92, a detection module 94, and a second display module 96.
The first display module 92 is configured to display a map image in the current interface; the detecting module 94 is configured to detect a state switching signal, where the state switching signal is used to switch a display state of the map image, where the display state includes: spherical or planar state; the second display module 96 is configured to display the switched map image after detecting the state switching signal, where the switched map image is obtained by mapping coordinate values of each pixel point in the map image.
Optionally, detecting the state switching signal comprises one or more of: detecting a state switching signal generated by a preset key; and detecting a state switching signal generated by the preset gesture operation.
Optionally, the preset gesture operation includes one or more of the following: zooming gesture, clicking gesture and sliding operation in a preset direction.
Example 4
According to the embodiment of the invention, the embodiment of the state conversion device of the map image is also provided.
Fig. 10 is a schematic view of another state transition apparatus of a map image according to an embodiment of the present invention, as shown in fig. 10, the apparatus including: a first acquisition module 102, a detection module 104, a second acquisition module 106, and a mapping module 108.
The first acquisition module is used for acquiring a map image; the detecting module 104 is configured to detect a state switching signal, where the state switching signal is used to switch a display state of the map image, and the display state includes: spherical or planar state; the second obtaining module 106 is configured to obtain a coordinate value of each pixel point in the map image after the state switching signal is detected; the mapping module 108 is configured to map the coordinate value of each pixel in the map image to obtain a switched map image.
Optionally, the mapping module comprises: the first obtaining submodule is used for obtaining a coordinate mapping relation of the map image, wherein the coordinate mapping relation is used for representing the relation between coordinate values of the same pixel point in the map image in a planar state and coordinate values of the same pixel point in the map image in a spherical state; the first mapping submodule is used for mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relation to obtain the coordinate value of each pixel point in the switched map image; and the generation submodule is used for generating the switched map image based on the coordinate value of each pixel point in the switched map image.
Further, the coordinate mapping relationship includes: the map image processing method comprises a first mapping relation and a second mapping relation, wherein the second mapping relation is used for representing the relation between coordinate values of the same pixel point in a map image in a planar state and with a preset size and the coordinate values of the same pixel point in the map image in a spherical state, and the first mapping relation is used for representing the relation between the coordinate values of the same pixel point in the map image in the planar state and with the preset size and the coordinate values of the same pixel point in the map image in the planar state.
Further, the first obtaining sub-module includes: a first acquisition unit configured to acquire a radius of a map image in a spherical state; and the first processing unit is used for obtaining a first mapping relation based on the radius, the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the spherical state.
Further, the first mapping relationship includes: the abscissa of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the longitude corresponding to each pixel point; the vertical coordinate of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the latitude corresponding to each pixel point; the positive selection function value of the arc value of the latitude corresponding to each pixel point is the ratio of the longitudinal coordinate and the radius of each pixel point in the map image in the spherical state, the sine function value of the arc value of the longitude corresponding to each pixel point is the ratio of the transverse coordinate of each pixel point in the map image in the spherical state and a first product, and the first product is the product of the cosine function value and the radius of the arc value of the latitude corresponding to each pixel point.
Further, the first processing unit is further configured to obtain the first mapping relationship by the following formula: x1 ═ α R, y1 ═ β R, where,r is a radius, β is an arc value representing a latitude corresponding to each pixel, α is an arc value representing a longitude corresponding to each pixel, (x1, y1) is a coordinate value of each pixel in a map image in a planar state and a predetermined size, and (x2, y2) is a coordinate value of each pixel in a map image in a spherical state.
Optionally, the first obtaining sub-module includes: a second acquisition unit configured to acquire a size scale of the map image in a planar state; the second processing unit is used for obtaining a preset size based on the size proportion of the map image in the plane state; and the third processing unit is used for obtaining a second mapping relation based on the preset size and the size proportion of the map image in the planar state, and the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the planar state.
Further, the second mapping relationship includes: the abscissa of each pixel point in the map image in the planar state and in the preset size is a difference value between a second product and the size proportion, the second product is a product of a preset width in the preset size and the abscissa of each pixel point in the map image in the planar state, and the preset width is a product of a first preset value and the size proportion; the ordinate of each pixel point in the map image which is in the plane state and has the preset size is the difference value between the third product and the second preset value, and the third product is the product of the first preset value and the abscissa of each pixel point in the map image which is in the plane state.
Further, the third processing unit is further configured to obtain the second mapping relationship by the following formula: x1 is (2x0-1) × whRadio, y1 is 2x1-1, wherein, (x0, y0) are coordinate values of each pixel point in the map image in the planar state, whRadio is a size scale, and the preset size includes: the preset width and the preset height are 2 XwhRadio, and the preset width is 2.
Preferably, in a case where the display state of the map image is a spherical state, the first mapping sub-module includes: the first mapping unit is used for mapping the coordinate value of each pixel point in the map image based on the first mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size; and the second mapping unit is used for mapping the coordinate value of each pixel point in the map image which is in the planar state and has the preset size based on the second mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
Preferably, in a case where the display state of the map image is a planar state, the first mapping sub-module includes: the third mapping unit is used for mapping the coordinate value of each pixel point in the map image based on the second mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size; and the fourth mapping unit is used for mapping the coordinate value of each pixel point in the map image which is in the planar state and has the preset size based on the first mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
Example 5
According to an embodiment of the present invention, there is also provided an embodiment of a storage medium including a stored program, wherein an apparatus in which the storage medium is controlled to execute the state transition method of the map image in the above-described embodiments 1 and 2 when the program is executed.
Example 6
According to an embodiment of the present invention, there is also provided an embodiment of a processor for executing a program, wherein the program executes the state transition method of the map image in the above-described embodiments 1 and 2 when running.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (14)
1. A state transition method of a map, characterized by comprising:
displaying a map image in a current interface;
detecting a state switching signal, wherein the state switching signal is used for switching a display state of the map image, and the display state comprises: spherical or planar state;
displaying a switched map image after detecting the state switching signal, wherein the switched map image is obtained by mapping coordinate values of each pixel point in the map image,
the generation process of the map image comprises the following steps:
acquiring a coordinate mapping relation of the map image, wherein the coordinate mapping relation is used for representing the relation between coordinate values of the same pixel point in the map image in a planar state and coordinate values in the map image in a spherical state;
mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relation to obtain the coordinate value of each pixel point in the switched map image;
generating the switched map image based on the coordinate value of each pixel point in the switched map image,
the coordinate mapping relationship includes: the map image processing method comprises a first mapping relation and a second mapping relation, wherein the first mapping relation is used for representing the relation between coordinate values of the same pixel point in a map image in a planar state and with a preset size and the coordinate values of the same pixel point in a map image in a spherical state, and the second mapping relation is used for representing the relation between the coordinate values of the same pixel point in the map image in the planar state and with the preset size and the coordinate values of the same pixel point in the map image in the planar state.
2. The method of claim 1, wherein detecting a state switching signal comprises one or more of:
detecting the state switching signal generated by a preset key;
and detecting the state switching signal generated by the preset gesture operation.
3. The method of claim 2, wherein the preset gesture operation comprises one or more of: zooming gesture, clicking gesture and sliding operation in a preset direction.
4. A state transition method of a map, characterized by comprising:
acquiring a map image;
detecting a state switching signal, wherein the state switching signal is used for switching a display state of the map image, and the display state comprises: spherical or planar state;
after the state switching signal is detected, obtaining the coordinate value of each pixel point in the map image;
mapping the coordinate value of each pixel point in the map image to obtain a switched map image,
mapping the coordinate value of each pixel point in the map image to obtain a switched map image, wherein the mapping comprises the following steps:
acquiring a coordinate mapping relation of the map image, wherein the coordinate mapping relation is used for representing the relation between coordinate values of the same pixel point in the map image in a planar state and coordinate values in the map image in a spherical state;
mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relation to obtain the coordinate value of each pixel point in the switched map image;
generating the switched map image based on the coordinate value of each pixel point in the switched map image,
the coordinate mapping relationship includes: the map image processing method comprises a first mapping relation and a second mapping relation, wherein the first mapping relation is used for representing the relation between coordinate values of the same pixel point in a map image in a planar state and with a preset size and the coordinate values of the same pixel point in a map image in a spherical state, and the second mapping relation is used for representing the relation between the coordinate values of the same pixel point in the map image in the planar state and with the preset size and the coordinate values of the same pixel point in the map image in the planar state.
5. The method of claim 4, wherein obtaining the first mapping relationship comprises:
acquiring the radius of a map image in a spherical state;
and obtaining the first mapping relation based on the radius, the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the spherical state.
6. The method of claim 5, wherein the first mapping relationship comprises:
the abscissa of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the longitude corresponding to each pixel point;
the longitudinal coordinate of each pixel point in the map image which is in a planar state and has a preset size is the product of the radius and the radian value of the latitude corresponding to each pixel point;
the positive selection function value of the arc value of the latitude corresponding to each pixel point is the ratio of the longitudinal coordinate of each pixel point in the map image in the spherical state to the radius, the sine function value of the arc value of the longitude corresponding to each pixel point is the ratio of the transverse coordinate of each pixel point in the map image in the spherical state to a first product, and the first product is the product of the cosine function value of the arc value of the latitude corresponding to each pixel point and the radius.
7. The method of claim 4, wherein obtaining the second mapping relationship comprises:
acquiring the size proportion of a map image in a planar state;
obtaining the preset size based on the size proportion of the map image in the plane state;
and obtaining the second mapping relation based on the preset size and the size proportion of the map image in the planar state, and the coordinate value of each pixel point in the map image in the planar state and the preset size and the coordinate value in the map image in the planar state.
8. The method of claim 7, wherein the second mapping relationship comprises:
the abscissa of each pixel point in the map image in the planar state and in the preset size is a difference value between a second product and the size proportion, the second product is a product of a preset width in the preset size and the abscissa of each pixel point in the map image in the planar state, and the preset width is a product of a first preset value and the size proportion;
the ordinate of each pixel point in the map image which is in the planar state and has the preset size is the difference value between a third product and a second preset value, and the third product is the product of the first preset value and the abscissa of each pixel point in the map image which is in the planar state.
9. The method according to claim 4, wherein when the display state of the map image is a spherical state, mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relationship, and obtaining the coordinate value of each pixel point in the switched map image comprises:
mapping the coordinate value of each pixel point in the map image based on the first mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size;
and mapping the coordinate value of each pixel point in the map image which is in the plane state and has the preset size based on the second mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
10. The method according to claim 4, wherein when the display state of the map image is a planar state, mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relationship, and obtaining the coordinate value of each pixel point in the switched map image comprises:
mapping the coordinate value of each pixel point in the map image based on the second mapping relation to obtain the coordinate value of each pixel point in the map image which is in a planar state and has a preset size;
and mapping the coordinate value of each pixel point in the map image which is in the plane state and has a preset size based on the first mapping relation to obtain the initial coordinate value of each pixel point in the switched map image.
11. A state transition device of a map, characterized by comprising:
the first display module is used for displaying the map image in the current interface;
a detection module, configured to detect a state switching signal, where the state switching signal is used to switch a display state of the map image, and the display state includes: spherical or planar state;
a second display module, configured to display a switched map image after detecting the state switching signal, where the switched map image is obtained by mapping coordinate values of each pixel in the map image,
the generation process of the map image comprises the following steps: the first obtaining submodule is used for obtaining a coordinate mapping relation of the map image, wherein the coordinate mapping relation is used for representing the relation between coordinate values of the same pixel point in the map image in a planar state and coordinate values of the same pixel point in the map image in a spherical state; the first mapping submodule is used for mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relation to obtain the coordinate value of each pixel point in the switched map image; a generation submodule for generating the switched map image based on the coordinate value of each pixel point in the switched map image,
the coordinate mapping relationship includes: the map image processing method comprises a first mapping relation and a second mapping relation, wherein the first mapping relation is used for representing the relation between coordinate values of the same pixel point in a map image in a planar state and with a preset size and the coordinate values of the same pixel point in a map image in a spherical state, and the second mapping relation is used for representing the relation between the coordinate values of the same pixel point in the map image in the planar state and with the preset size and the coordinate values of the same pixel point in the map image in the planar state.
12. A state transition device of a map, characterized by comprising:
the first acquisition module is used for acquiring a map image;
a detection module, configured to detect a state switching signal, where the state switching signal is used to switch a display state of the map image, and the display state includes: spherical or planar state;
the second acquisition module is used for acquiring the coordinate value of each pixel point in the map image after the state switching signal is detected;
a mapping module for mapping the coordinate value of each pixel point in the map image to obtain a switched map image,
the mapping module comprises: the first obtaining submodule is used for obtaining a coordinate mapping relation of the map image, wherein the coordinate mapping relation is used for representing the relation between coordinate values of the same pixel point in the map image in a planar state and coordinate values of the same pixel point in the map image in a spherical state; the first mapping submodule is used for mapping the coordinate value of each pixel point in the map image based on the coordinate mapping relation to obtain the coordinate value of each pixel point in the switched map image; a generation submodule for generating the switched map image based on the coordinate value of each pixel point in the switched map image,
the coordinate mapping relationship includes: the map image processing method comprises a first mapping relation and a second mapping relation, wherein the first mapping relation is used for representing the relation between coordinate values of the same pixel point in a map image in a planar state and with a preset size and the coordinate values of the same pixel point in a map image in a spherical state, and the second mapping relation is used for representing the relation between the coordinate values of the same pixel point in the map image in the planar state and with the preset size and the coordinate values of the same pixel point in the map image in the planar state.
13. A storage medium characterized by comprising a stored program, wherein a device in which the storage medium is located is controlled to execute the state transition method of the map according to any one of claims 1 to 10 when the program is executed.
14. A processor for executing a program, wherein the program executes to execute the state transition method of the map according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811007016.XA CN109062416B (en) | 2018-08-29 | 2018-08-29 | Map state conversion method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811007016.XA CN109062416B (en) | 2018-08-29 | 2018-08-29 | Map state conversion method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109062416A CN109062416A (en) | 2018-12-21 |
CN109062416B true CN109062416B (en) | 2021-11-02 |
Family
ID=64758957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811007016.XA Active CN109062416B (en) | 2018-08-29 | 2018-08-29 | Map state conversion method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109062416B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112162559B (en) * | 2020-09-30 | 2021-10-15 | 杭州海康机器人技术有限公司 | Method, device and storage medium for multi-robot mixing |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1349202A (en) * | 2000-10-06 | 2002-05-15 | 松下电器产业株式会社 | Apparatus and method for map display, computer program of said display apparatus |
CN1491403A (en) * | 2001-10-29 | 2004-04-21 | ���ṫ˾ | Non-flat image processing apparatus and image processing method, and recording medium and computer program |
CN1609910A (en) * | 2003-10-20 | 2005-04-27 | Lg电子有限公司 | Method for displaying three-dimensional map |
CN102184571A (en) * | 2011-05-18 | 2011-09-14 | 深圳市凯立德科技股份有限公司 | Method and device for realizing three-dimensional map |
CN102750734A (en) * | 2011-08-26 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method and system for display virtual three-dimensional earth system |
CN102930585A (en) * | 2012-09-19 | 2013-02-13 | 浙江大学 | Method for using Flash to achieve three-dimensional network map diorama |
CN104833360A (en) * | 2014-02-08 | 2015-08-12 | 无锡维森智能传感技术有限公司 | Method for transforming two-dimensional coordinates into three-dimensional coordinates |
CN106296813A (en) * | 2015-05-14 | 2017-01-04 | 上海市测绘院 | Three-dimensional static map producing method |
CN106447774A (en) * | 2016-09-14 | 2017-02-22 | 福州大学 | Mapping method from GPS (global positioning system) map to three-dimensional map |
CN106530218A (en) * | 2016-10-28 | 2017-03-22 | 浙江宇视科技有限公司 | Coordinate conversion method and apparatus |
CN107247591A (en) * | 2017-06-09 | 2017-10-13 | 成都知道创宇信息技术有限公司 | A kind of big data displaying interface alternation method based on map |
CN107424209A (en) * | 2016-12-14 | 2017-12-01 | 广东科诺勘测工程有限公司 | A kind of conversion method and system of highway three-dimensional modeling data |
CN108267154A (en) * | 2018-02-09 | 2018-07-10 | 城市生活(北京)资讯有限公司 | A kind of map-indication method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6724386B2 (en) * | 2001-10-23 | 2004-04-20 | Sony Corporation | System and process for geometry replacement |
US20070211070A1 (en) * | 2006-03-13 | 2007-09-13 | Sony Computer Entertainment Inc. | Texture unit for multi processor environment |
-
2018
- 2018-08-29 CN CN201811007016.XA patent/CN109062416B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1349202A (en) * | 2000-10-06 | 2002-05-15 | 松下电器产业株式会社 | Apparatus and method for map display, computer program of said display apparatus |
CN1491403A (en) * | 2001-10-29 | 2004-04-21 | ���ṫ˾ | Non-flat image processing apparatus and image processing method, and recording medium and computer program |
CN1609910A (en) * | 2003-10-20 | 2005-04-27 | Lg电子有限公司 | Method for displaying three-dimensional map |
CN102184571A (en) * | 2011-05-18 | 2011-09-14 | 深圳市凯立德科技股份有限公司 | Method and device for realizing three-dimensional map |
CN102750734A (en) * | 2011-08-26 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method and system for display virtual three-dimensional earth system |
CN102930585A (en) * | 2012-09-19 | 2013-02-13 | 浙江大学 | Method for using Flash to achieve three-dimensional network map diorama |
CN104833360A (en) * | 2014-02-08 | 2015-08-12 | 无锡维森智能传感技术有限公司 | Method for transforming two-dimensional coordinates into three-dimensional coordinates |
CN106296813A (en) * | 2015-05-14 | 2017-01-04 | 上海市测绘院 | Three-dimensional static map producing method |
CN106447774A (en) * | 2016-09-14 | 2017-02-22 | 福州大学 | Mapping method from GPS (global positioning system) map to three-dimensional map |
CN106530218A (en) * | 2016-10-28 | 2017-03-22 | 浙江宇视科技有限公司 | Coordinate conversion method and apparatus |
CN107424209A (en) * | 2016-12-14 | 2017-12-01 | 广东科诺勘测工程有限公司 | A kind of conversion method and system of highway three-dimensional modeling data |
CN107247591A (en) * | 2017-06-09 | 2017-10-13 | 成都知道创宇信息技术有限公司 | A kind of big data displaying interface alternation method based on map |
CN108267154A (en) * | 2018-02-09 | 2018-07-10 | 城市生活(北京)资讯有限公司 | A kind of map-indication method and device |
Non-Patent Citations (2)
Title |
---|
A transformation analysis of 3D virtual object for projection mapping;Sanghoon Lee;《IEEE》;20180423;全文 * |
三维瓦片地图的制作及其二三维坐标转换的研究;禹化强;《测绘与空间地理信息》;20170925;第40卷(第9期);第139-142页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109062416A (en) | 2018-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3534336B1 (en) | Panoramic image generating method and apparatus | |
EP3058451B1 (en) | Techniques for navigation among multiple images | |
US8675013B1 (en) | Rendering spherical space primitives in a cartesian coordinate system | |
CN105005970A (en) | Augmented reality implementation method and apparatus | |
EP3170151A1 (en) | Blending between street view and earth view | |
CN110704770B (en) | Display method and device for expansion tile map based on WebGIS environment | |
CN107154070B (en) | Method and device for superposing vector elements and digital ground model | |
TWI635461B (en) | Projection chart construction method and device | |
Kolivand et al. | Cultural heritage in marker-less augmented reality: A survey | |
CN112581632B (en) | House source data processing method and device | |
Jian et al. | Augmented virtual environment: fusion of real-time video and 3D models in the digital earth system | |
CN109062416B (en) | Map state conversion method and device | |
CN115187729A (en) | Three-dimensional model generation method, device, equipment and storage medium | |
CN111161138A (en) | Target detection method, device, equipment and medium for two-dimensional panoramic image | |
JP6168597B2 (en) | Information terminal equipment | |
CN111476716B (en) | Real-time video stitching method and device | |
CN115727869A (en) | Map display method, map display device, computer equipment, medium and program product | |
CN112825198B (en) | Mobile tag display method, device, terminal equipment and readable storage medium | |
US8982120B1 (en) | Blurring while loading map data | |
CN109214981B (en) | Method for projecting spherical image to plane image | |
Böttger et al. | Detail‐In‐Context Visualization for Satellite Imagery | |
US10078884B2 (en) | System and method for processing geographical information with a central window and frame | |
CN111178300B (en) | Target detection method, device, equipment and medium | |
KR101159705B1 (en) | An object guiding system for producing virtual reality based on the billboard mapping and the method thereof | |
CN117557711B (en) | Method, device, computer equipment and storage medium for determining visual field |
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 |