CN113961078A - Panoramic roaming method, device and equipment and readable storage medium - Google Patents
Panoramic roaming method, device and equipment and readable storage medium Download PDFInfo
- Publication number
- CN113961078A CN113961078A CN202111301498.1A CN202111301498A CN113961078A CN 113961078 A CN113961078 A CN 113961078A CN 202111301498 A CN202111301498 A CN 202111301498A CN 113961078 A CN113961078 A CN 113961078A
- Authority
- CN
- China
- Prior art keywords
- roaming
- information
- panoramic
- user
- grid point
- 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; 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/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/012—Head tracking input arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/01—Indexing scheme relating to G06F3/01
- G06F2203/012—Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/04—Indexing scheme for image data processing or generation, in general involving 3D image data
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention provides a panoramic roaming method, a panoramic roaming device, panoramic roaming equipment and a readable storage medium, which relate to the technical field of celestial body roaming, and are used for acquiring first information, wherein the first information comprises a panoramic roaming area range and acquisition time; generating panoramic roaming basic data, wherein the panoramic roaming basic data comprises a celestial body image at a first moment corresponding to each grid point, and the first moment is the starting moment of the acquisition time; acquiring user roaming demand information, wherein the user roaming demand information comprises roaming initial grid points; and generating a roaming picture according to the user roaming demand information and the panoramic roaming basic data, wherein the roaming picture is a celestial body image corresponding to the roaming initial grid point. The invention only stores the data of each grid point by carrying out gridding division on the space of panoramic roaming, thereby reducing the data storage capacity.
Description
Technical Field
The invention relates to the technical field of celestial body roaming, in particular to a panoramic roaming method, a panoramic roaming device, panoramic roaming equipment and a readable storage medium.
Background
With the improvement of the computing power of the super computer, the resolution of the celestial body photo or the celestial body video generated according to the simulation data is improved, the data scale is sharply enlarged, and great challenges are brought to data storage. For time-series three-dimensional in-situ data, it is impractical to store the raw simulation data at each time step completely.
Disclosure of Invention
The present invention is directed to a method, an apparatus, a device and a readable storage medium for panoramic roaming, so as to improve the above problems. In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, the present application provides a panoramic roaming method, including:
acquiring first information, wherein the first information comprises a panoramic roaming area range and acquisition time;
generating panoramic roaming basic data, wherein the panoramic roaming basic data comprises a celestial body image at a first moment corresponding to each grid point, and the first moment is the starting moment of the acquisition time;
acquiring user roaming demand information, wherein the user roaming demand information comprises roaming initial grid points;
and generating a roaming picture according to the user roaming demand information and the panoramic roaming basic data, wherein the roaming picture is a celestial body image corresponding to the roaming initial grid point.
Further, the generating the panoramic roaming basic data includes:
sending a first command, wherein the first command comprises a command for controlling a data acquisition unit to acquire the position information of celestial bodies in each grid point at a preset time interval, and the grid points are obtained by carrying out grid division on the panoramic roaming area range according to a preset length;
acquiring second information, wherein the second information is image information acquired by the data acquisition unit;
and generating the panoramic roaming basic data according to the second information.
Further, the generating the panoramic roaming basic data according to the second information includes:
generating a celestial body image corresponding to each grid point according to the second information;
generating a celestial body change video corresponding to each grid point according to the celestial body image and the second information, wherein the video length of the celestial body change video is acquisition time;
and generating two first transition change videos between each adjacent grid point according to the position information of the celestial bodies in each grid point at a first moment and the position information of the celestial bodies in each grid point at a second moment, wherein the second moment is the ending moment of the acquisition time.
Further, the generating a roaming picture according to the user roaming demand information and the panoramic roaming basic data, then includes:
acquiring first user mobile roaming path information and first user selection information, wherein the first user selection information comprises a time evolution roaming state;
if the first user selection information is in a time evolution roaming state, generating a first panoramic roaming moving picture according to the first user mobile roaming path information and the user roaming demand information, wherein the first panoramic roaming moving picture is a video which starts from a roaming initial grid point corresponding to a celestial body change video and ends from a first roaming termination grid point corresponding to a celestial body change video, the first roaming initial grid point is a first grid point which starts from the first user mobile roaming path information, the first roaming termination grid point is a last grid point in the first user mobile roaming path information, and the celestial body change video is generated from the second information.
Further, the generating a roaming picture according to the user roaming demand information and the panoramic roaming basic data, then includes:
acquiring second user mobile roaming path information and second user selection information, wherein the second user selection information comprises a single-moment roaming state;
if the second user selection information is in a single-time roaming state, generating a second panoramic roaming moving picture according to the second user mobile roaming path information, the user mobile roaming state information, the user roaming demand information and the panoramic roaming basic data, wherein the second panoramic roaming moving picture is a video starting from a celestial body image corresponding to a roaming initial lattice point and ending from a celestial body image corresponding to a second roaming termination lattice point, the first roaming initial lattice point is a first lattice point starting in the first user mobile roaming path information, and the roaming termination lattice point is a last lattice point in the first user mobile roaming path information.
In a second aspect, the present application further provides a panoramic roaming apparatus, which includes a first obtaining module, a first generating module, a second obtaining module, and a second generating module, wherein,
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring first information, and the first information is a panoramic roaming area range and acquisition time;
a first generation module, configured to generate panoramic roaming basic data, where the panoramic roaming basic data includes a celestial body image at a first time corresponding to each grid point, and the first time is a starting time of the acquisition time;
the second acquisition module is used for acquiring the user roaming demand information, and the user roaming demand information comprises roaming initial grid points;
and the second generation module is used for generating a roaming picture according to the user roaming demand information and the panoramic roaming basic data, wherein the roaming picture is a celestial body image corresponding to the roaming initial grid point.
Further, the first generating module includes:
the system comprises a first sending unit, a second sending unit and a control unit, wherein the first sending unit is used for sending a first command, the first command comprises a command for controlling the data acquisition unit to acquire the position information of celestial bodies in each grid point at a preset time interval, and the grid points are obtained by carrying out grid division on the panoramic roaming area range according to a preset length;
the first acquisition unit is used for acquiring second information, and the second information is the image information acquired by the data acquisition unit;
and the first generating unit is used for generating the panoramic roaming basic data according to the second information.
Further, the panoramic roaming apparatus further includes:
a third obtaining module, configured to obtain first user mobile roaming path information and first user selection information, where the first user selection information includes a time evolution roaming state;
a first determining module, configured to generate a first panoramic roaming moving picture according to the first user mobile roaming path information and the user roaming demand information if the first user selection information is in a time-evolution roaming state, where the first panoramic roaming moving picture starts with a video with a roaming initial grid point corresponding to a celestial body change video, and a first roaming termination grid point ends with a video with a celestial body change video, the first roaming initial grid point is a first grid point starting in the first user mobile roaming path information, the first roaming termination grid point is a last grid point in the first user mobile roaming path information, and the celestial body change video is generated from the second information.
Further, the panoramic roaming apparatus further includes:
a fourth obtaining module, configured to obtain second user mobile roaming path information and second user selection information, where the second user selection information includes a single-time roaming state;
a second judging module, configured to generate a second panoramic roaming moving picture according to the second user mobile roaming path information, the user mobile roaming state information, the user roaming demand information, and the panoramic roaming basic data if the second user selection information is in a single-time roaming state, where the second panoramic roaming moving picture is a video starting with a celestial body image corresponding to a roaming initial lattice point and ending with a celestial body image corresponding to a second roaming termination lattice point, the first roaming initial lattice point is a first lattice point starting in the first user mobile roaming path information, and the roaming termination lattice point is a last lattice point in the first user mobile roaming path information.
In a third aspect, the present application further provides a panoramic roaming apparatus, including:
a memory for storing a computer program;
a processor for implementing the steps of the panoramic roaming method when executing the computer program.
In a fourth aspect, the present application further provides a readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-mentioned panorama-based roaming method.
The invention has the beneficial effects that:
the method only stores the data of each grid point by carrying out gridding division on the panoramic roaming space, reduces the data storage capacity, and only reserves the data of the grid points at fixed time intervals by carrying out data sampling according to the fixed time intervals, thereby further reducing the data storage capacity; meanwhile, aiming at the data of time jump and the data of space jump, the data jump is compensated through the difference value in the invention, so that the transitional continuity of the video is realized; in order to reduce the operation load of a computer, each part of the roaming video is generated in advance, the data end interacting with the user only needs to calculate the required passing grid points and the passing sequence according to the user roaming path, and then the corresponding roaming video part is correspondingly extracted, so that the aim of reducing the operation load is sequentially achieved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flow chart illustrating a panoramic roaming method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating mesh point division according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a panoramic roaming apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a panoramic roaming apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. 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: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1:
the embodiment provides a panoramic roaming method.
Referring to fig. 1, it is shown that the method includes step S100, step S200, step S300 and step S400.
S100, acquiring first information, wherein the first information can be a panoramic roaming area range and acquisition time.
It can be understood that the panoramic roaming area range referred to in this step is a space range of the required panoramic roaming, the acquisition time is the length of data acquisition as the name implies, and the specific size of the panoramic roaming area range and the acquisition time can be determined according to the actual needs of those skilled in the art.
S200, generating panoramic roaming basic data, wherein the panoramic roaming basic data comprises a celestial body image at a first moment corresponding to each grid point, and the first moment is the starting moment of the acquisition time.
Step S300, user roaming requirement information is obtained, wherein the user roaming requirement information comprises roaming initial grid points.
And S400, generating a roaming picture according to the user roaming demand information and the panoramic roaming basic data, wherein the roaming picture is a celestial body image corresponding to the roaming initial grid point.
According to the method, the space grid division is adopted for the acquisition of the original data, and the step-by-step acquisition mode is adopted on the time sequence, so that the acquisition scale of the data can be effectively reduced on the basis, and the requirement on the data storage space is reduced.
In some specific embodiments, step S200 may further include step S210, step S220, and step S230.
And S210, sending a first command, wherein the first command comprises a command for controlling the data acquisition unit to acquire the position information of the celestial body in each grid point at a preset time interval in the acquisition time, and the grid points are obtained by carrying out grid division on the panoramic roaming area range according to a preset length.
It can be understood that, in this step, the space range of the panoramic roaming is divided into grids according to the preset requirement, and in the later analog data processing process and the panoramic roaming process, the grid point is used as the basic roaming unit and the data processing unit.
In the embodiment, in order to reduce the pressure of data on storage while preserving the celestial body data characteristics, in space, the embodiment performs meshing through the panoramic roaming area range, so that the purpose of performing meshing on analog data is achieved, and only data on each grid point is preserved; meanwhile, in terms of time, in this embodiment, the data is also sampled at fixed time intervals, that is, preset time intervals, that is, only analog data on grid points at time points of the fixed time intervals are reserved, so that the amount of stored data is effectively reduced.
And S220, acquiring second information, wherein the second information is image information acquired by the data acquisition unit.
And S230, generating panoramic roaming basic data according to the second information, wherein the panoramic roaming basic data comprises a celestial body image at a first moment corresponding to each grid point, and the first moment is the starting moment of acquisition time.
According to the method, the space grid division is adopted for the acquisition of the original data, and the step-by-step acquisition mode is adopted on the time sequence, so that the acquisition scale of the data can be effectively reduced on the basis, and the requirement on the data storage space is reduced.
In some specific embodiments, step S230 may further include step S231, step S232, and step S233.
S231, generating a celestial body image corresponding to each grid point according to the second information;
it is understood that the celestial body image generated in this step is a simulated photograph directly generated from the position information corresponding to the first time.
S232, generating a celestial body change video corresponding to each grid point according to the celestial body image and the second information, wherein the video length of the celestial body change video is acquisition time;
and S233, generating two first transition change videos between every two adjacent grid points according to the position information of the celestial body in each grid point at the first moment and the position information of the celestial body in each grid point at the second moment, wherein the second moment is the ending moment of the acquisition time.
It should be noted that the two contents of the first transition change video mentioned in step S233 are different, and the difference is that the first frame from one is the last frame of the other. Meanwhile, the generation modes of the two videos are both data interpolation of the collected data from the first moment to the second moment, so that the problem of discontinuous space and time is solved, and the sense of spatial jumping is reduced. And finally, two first transition change videos are generated according to the intermediate interpolation data, so that the first transition videos can realize continuous transition in space and time, wherein the two first transition change videos respectively correspond to two directions of moving from one grid point to the other grid point.
In the step, the mode of generating the video and the image in advance before the user roams can effectively reduce the pressure of the user on generating the corresponding video to the data processing center when the user roams.
Meanwhile, in step S230, a unique index number may be directly set for each first transition change video and each celestial body image, so that the client can directly calculate the index number in the later use process, and then directly call the corresponding image.
Further, in some specific embodiments, step S232 includes step S2321 and step S2322.
S2321, respectively generating at least one transition image corresponding to each grid point according to second information, wherein the transition images are images generated by celestial body position information acquired at preset time intervals within the acquisition time;
s2322, generating a celestial body change video of the acquisition time through frame interpolation compensation based on the initial image and all the transition images.
In the embodiment, the final celestial body change video is obtained by performing frame interpolation compensation on the image. So that the celestial changes in each grid point achieve a continuous transition in time.
Meanwhile, the modes for generating analog videos in S232 and S233 may be used alternatively to each other in the present embodiment.
Further, in some specific embodiments, after step S400, step S500 and step S600 may be further included.
S500, acquiring mobile roaming path information of a first user and first user selection information, wherein the first user selection information comprises a time evolution roaming state;
s600, if the first user selection information is in a time evolution roaming state, generating a first panoramic roaming moving picture according to the first user mobile roaming path information and the user roaming requirement information, wherein the first panoramic roaming moving picture is a video which starts from a celestial body change video corresponding to a roaming initial grid point and ends from a celestial body change video corresponding to a first roaming termination grid point, the first roaming initial grid point is a first grid point which starts from the first user mobile roaming path information, the first roaming termination grid point is a last grid point in the first user mobile roaming path information, and the celestial body change video is generated from second information.
That is, in step S500 and step S600, the panoramic roaming with the time-evolution information is performed according to the selection of the user. It should be noted that the generation process of the celestial body change video is described above. The first roaming termination grid point is the last grid point ended in the first user mobile roaming path information.
Further, in some specific embodiments, step S600 further includes step S610 and step S620.
S610, extracting third information according to the roaming path information, wherein the third information comprises at least two path grid points and at least one user roaming direction, the path grid points are position information of grid points which are required to be passed by the user roaming, and the user roaming direction is the direction from one path grid point to another path grid point when the user roams;
and S620, extracting and generating a first panoramic roaming moving picture according to the panoramic roaming basic data and the third information in the panoramic roaming basic data, wherein the first panoramic roaming moving picture is a video for sequentially playing the celestial body change video corresponding to each path lattice point and the first transition change video between each path lattice point according to the roaming path information, and the first transition change video is generated by the second information.
It is understood that the direction extracted in S610 is for the first transition change video corresponding thereto, and the continuity of the first panorama roaming moving picture is achieved.
Meanwhile, in this embodiment, for the user side, referring to fig. 2, a schematic diagram of grid point division is shown, directions of passing through a grid point and passing through two grid points by the user are extracted according to the roaming path information, and then, the corresponding video can be directly extracted through the index numbers mentioned above or other types of retrieval tags, so that the requirement of real-time interactive roaming is met, and meanwhile, the original data is not saved, so as to reduce the storage scale and the load of analog operation of the computer.
In some specific embodiments, step S230 may further include step S234 and step S235.
S234, generating a celestial body image at a first moment corresponding to each grid point according to the second information;
and S235, generating two second transition change videos for interpolation frame compensation between each adjacent grid point according to the position information of the celestial body in each grid point at the first moment.
Through the above steps, in this embodiment, a single-time transition switching process of the grid point is realized by means of frame interpolation dynamic compensation.
Meanwhile, it should be noted that the two contents of the second transition change video mentioned in this step are different, and the difference is that the first frame from one start is the last frame of the other. Meanwhile, the generation modes of the two videos are interpolation from the data corresponding to one grid point to the data corresponding to the other grid point at the first moment, so that the problem of discontinuous space and time is solved, and the sense of spatial jumping is reduced. And finally, two first transition change videos are generated according to the intermediate interpolation data, so that the first transition videos can realize continuous transition in space and time, wherein the two first transition change videos respectively correspond to two directions of moving from one grid point to the other grid point.
In the step, the mode of generating the video and the image in advance before the user roams can effectively reduce the pressure of the user on generating the corresponding video to the data processing center when the user roams.
In some specific embodiments, step S400 is followed by step S700 and step S800.
S700, acquiring second user mobile roaming path information and second user selection information, wherein the second user selection information comprises a single-moment roaming state;
and S800, if the second user selection information is in a single-time roaming state, generating a second panoramic roaming moving picture according to the second user mobile roaming path information, the user mobile roaming state information, the user roaming demand information and the panoramic roaming basic data, wherein the second panoramic roaming moving picture starts from a celestial body image corresponding to a roaming initial grid point, the first roaming initial grid point is a first grid point which starts in the first user mobile roaming path information, a celestial body image corresponding to a second roaming termination grid point is a video which is ended, and the roaming termination grid point is a last grid point in the first user mobile roaming path information.
That is, in step S700 and step S800, the panoramic roaming is performed for a single time in accordance with the selection of the user.
Further, in some specific embodiments, step S800 further includes step S810 and step S820.
S810, extracting fourth information according to the roaming path information, where the fourth information includes at least two path lattice points and at least one user roaming direction, the path lattice point is location information of a lattice point that the user needs to pass through for roaming, and the user roaming direction is a direction in which the user roams from one path lattice point to another path lattice point.
And S820, in the panoramic roaming basic data, extracting and generating a second panoramic roaming moving picture according to the panoramic roaming basic data and the fourth information, wherein the second panoramic roaming moving picture is a video for sequentially playing a celestial body image corresponding to each path lattice point and a transition change video between each path lattice point according to the roaming path information.
It is understood that the direction extracted in S810 is for the second transition change video corresponding thereto. And realizing the consistency of the first panoramic roaming moving picture.
Meanwhile, in this embodiment, for the user side, the mesh point passed by and the direction of the user passing through the two mesh points can be extracted only according to the roaming path information, and then the corresponding video can be directly extracted through the index numbers mentioned above or other types of retrieval tags, so that the requirement of real-time interactive roaming is met, and simultaneously, the original data is not saved, so as to reduce the storage scale and the load of the computer simulation operation.
Example 2:
as shown in fig. 3, the present embodiment provides a panoramic roaming apparatus, which includes a first obtaining module 1, a first generating module 2, a second obtaining module 3, and a second generating module 4.
The system comprises a first acquisition module 1, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring first information, and the first information is a panoramic roaming area range and acquisition time;
the first generation module 2 is configured to generate panoramic roaming basic data, where the panoramic roaming basic data includes a celestial body image at a first time corresponding to each grid point, and the first time is a starting time of the acquisition time;
a second obtaining module 3, configured to obtain user roaming demand information, where the user roaming demand information includes a roaming initial grid point;
and the second generating module 4 is configured to generate a roaming picture according to the user roaming demand information and the panoramic roaming basic data, where the roaming picture is a celestial body image corresponding to the roaming initial grid point.
In some specific embodiments, the first generating module 2 includes:
a first sending unit 21, configured to send a first command, where the first command includes a command for controlling a data acquisition unit to acquire position information of an celestial body in each grid point at a preset time interval, and the grid point is obtained by performing grid division on the panoramic roaming area range according to a preset length;
the first obtaining unit 22 is configured to obtain second information, where the second information is image information collected by the data collecting unit;
a first generating unit 23, configured to generate the panoramic roaming basic data according to the second information. In some specific embodiments, the first generating unit 23 includes:
a first generation subunit 2301, configured to generate a celestial body image corresponding to each grid point according to the second information;
a second generation subunit 2302, configured to generate a celestial body change video corresponding to each grid point according to the celestial body image and the second information, where a video length of the celestial body change video is acquisition time;
a third generating subunit 2303, configured to generate two first transition change videos between each adjacent grid point according to the position information of the celestial body in each grid point at the first time and the position information of the celestial body in each grid point at the second time, where the second time is an end time of the acquisition time.
In some specific embodiments, the second generating subunit 2302 includes:
a fourth generating subunit 23021, configured to generate at least one transition image corresponding to each grid point according to the second information, where the transition image is an image generated by celestial body position information acquired at a preset time interval within the acquisition time at one time;
a first compensation unit 23022, configured to generate a celestial body change video of an acquisition time by frame interpolation based on the initial image and all the transition images.
In some specific embodiments, the panoramic roaming apparatus further includes:
a third obtaining module 5, configured to obtain first user mobile roaming path information and first user selection information, where the first user selection information includes a time evolution roaming state;
the first determining module 6 is configured to generate a first panoramic roaming moving picture according to the first user mobile roaming path information and the user roaming demand information if the first user selection information is in the time-evolution roaming state, where the first panoramic roaming moving picture is a video starting from a roaming initial grid point corresponding to a celestial body change video and ending from a first roaming termination grid point corresponding to a celestial body change video, the first roaming initial grid point is a first grid point starting in the first user mobile roaming path information, the first roaming termination grid point is a last grid point in the first user mobile roaming path information, and the celestial body change video is generated from second information.
In some specific embodiments, the first determining module 6 includes:
a first extracting unit 61, configured to extract third information according to the roaming path information, where the third information includes at least two path grid points and at least one user roaming direction, where a path grid point is location information of a grid point that a user needs to pass through for roaming, and a user roaming direction is a direction in which the user roams from one path grid point to another path grid point;
and a second generating unit 62, configured to extract and generate a first panoramic roaming moving picture according to the panoramic roaming basic data and the third information in the panoramic roaming basic data, where the first panoramic roaming moving picture is a video that sequentially plays the celestial body change video corresponding to each path lattice point and the first transition change video between each path lattice point according to the roaming path information, and the first transition change video is generated from the second information.
In some specific embodiments, the first generating unit 23 may further include:
a fifth generating subunit 2304, configured to generate a celestial body image at the first time corresponding to each mesh point according to the second information;
a sixth generating subunit 2305, configured to generate two second transition change videos for interpolation between each adjacent grid point according to the position information of the celestial body in each grid point at the first time.
In some specific embodiments, the panoramic roaming apparatus may further include:
a fourth obtaining module 7, configured to obtain second user mobile roaming path information and second user selection information, where the second user selection information includes a single-time roaming state;
a second determining module 8, configured to generate a second panoramic roaming moving picture according to the second user mobile roaming path information, the user mobile roaming state information, the user roaming demand information, and the panoramic roaming basic data if the second user selection information is in the single-time roaming state, where the second panoramic roaming moving picture starts from a celestial body image corresponding to a roaming initial grid point, the first roaming initial grid point is a first grid point starting in the first user mobile roaming path information, the celestial body image corresponding to a second roaming termination grid point is a video of the end, and the roaming termination grid point is a last grid point in the first user mobile roaming path information.
In some specific embodiments, the second determining module 8 includes:
a second extracting unit 81, configured to extract fourth information according to the roaming path information, where the fourth information includes at least two path grid points and at least one user roaming direction, where a path grid point is location information of a grid point that a user needs to pass through for roaming, and a user roaming direction is a direction in which the user roams from one path grid point to another path grid point;
a third generating unit 82, configured to extract and generate a second panoramic roaming moving picture according to the panoramic roaming basic data and the fourth information in the panoramic roaming basic data, where the second panoramic roaming moving picture is a video that sequentially plays a celestial body image corresponding to each path lattice point and a transition change video between each path lattice point according to the roaming path information.
It should be noted that, regarding the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated herein.
Example 3:
corresponding to the above method embodiment, the present embodiment further provides a panoramic roaming apparatus, and a panoramic roaming apparatus described below and a panoramic roaming method described above may be referred to in correspondence.
Fig. 4 is a block diagram illustrating a panoramic roaming device 800, according to an example embodiment. As shown in fig. 4, the panorama roaming apparatus 800 may include: a processor 801, a memory 802. The panoramic roaming device 800 may also include one or more of a multimedia component 803, an I/O interface 804, and a communications component 805.
The processor 801 is configured to control the overall operation of the panoramic roaming apparatus 800, so as to complete all or part of the steps of the panoramic roaming method. The memory 802 is used to store various types of data to support operation at the panoramic roaming device 800, such data may include, for example, instructions for any application or method operating on the panoramic roaming device 800, as well as application-related data such as contact data, messaging, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 803 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 802 or transmitted through the communication component 805. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the panoramic roaming device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding communication component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the panorama roaming apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the panorama roaming method described above.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the panoramic roaming method described above is also provided. For example, the computer readable storage medium may be the memory 802 described above that includes program instructions executable by the processor 801 of the panoramic roaming device 800 to perform the panoramic roaming method described above.
Example 4:
corresponding to the above method embodiment, a readable storage medium is also provided in this embodiment, and a readable storage medium described below and a panoramic roaming method described above may be referred to in correspondence.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the panoramic roaming method of the above-mentioned method embodiments.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method of panoramic roaming, comprising:
acquiring first information, wherein the first information comprises a panoramic roaming area range and acquisition time;
generating panoramic roaming basic data, wherein the panoramic roaming basic data comprises a celestial body image at a first moment corresponding to each grid point, and the first moment is the starting moment of the acquisition time;
acquiring user roaming demand information, wherein the user roaming demand information comprises roaming initial grid points;
and generating a roaming picture according to the user roaming demand information and the panoramic roaming basic data, wherein the roaming picture is a celestial body image corresponding to the roaming initial grid point.
2. The panoramic roaming method of claim 1, wherein the generating panoramic roaming base data comprises:
sending a first command, wherein the first command comprises a command for controlling a data acquisition unit to acquire the position information of celestial bodies in each grid point at a preset time interval, and the grid points are obtained by carrying out grid division on the panoramic roaming area range according to a preset length;
acquiring second information, wherein the second information is image information acquired by the data acquisition unit;
and generating the panoramic roaming basic data according to the second information.
3. The panoramic roaming method of claim 2, wherein the generating a roaming picture according to the user roaming requirement information and the panoramic roaming basic data, then comprises:
acquiring first user mobile roaming path information and first user selection information, wherein the first user selection information comprises a time evolution roaming state;
if the first user selection information is in a time evolution roaming state, generating a first panoramic roaming moving picture according to the first user mobile roaming path information and the user roaming demand information, wherein the first panoramic roaming moving picture is a video which starts from a roaming initial grid point corresponding to a celestial body change video and ends from a first roaming termination grid point corresponding to a celestial body change video, the first roaming initial grid point is a first grid point which starts from the first user mobile roaming path information, the first roaming termination grid point is a last grid point in the first user mobile roaming path information, and the celestial body change video is generated from the second information.
4. The panoramic roaming method of claim 1, wherein the generating a roaming picture according to the user roaming requirement information and the panoramic roaming basic data, then comprises:
acquiring second user mobile roaming path information and second user selection information, wherein the second user selection information comprises a single-moment roaming state;
if the second user selection information is in a single-time roaming state, generating a second panoramic roaming moving picture according to the second user mobile roaming path information, the user mobile roaming state information, the user roaming demand information and the panoramic roaming basic data, wherein the second panoramic roaming moving picture is a video starting from a celestial body image corresponding to a roaming initial lattice point and ending from a celestial body image corresponding to a second roaming termination lattice point, the first roaming initial lattice point is a first lattice point starting in the first user mobile roaming path information, and the roaming termination lattice point is a last lattice point in the first user mobile roaming path information.
5. A panoramic roaming apparatus, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring first information, and the first information is a panoramic roaming area range and acquisition time;
a first generation module, configured to generate panoramic roaming basic data, where the panoramic roaming basic data includes a celestial body image at a first time corresponding to each grid point, and the first time is a starting time of the acquisition time;
the second acquisition module is used for acquiring the user roaming demand information, and the user roaming demand information comprises roaming initial grid points;
and the second generation module is used for generating a roaming picture according to the user roaming demand information and the panoramic roaming basic data, wherein the roaming picture is a celestial body image corresponding to the roaming initial grid point.
6. The panoramic roaming apparatus of claim 5, wherein the first generation module comprises:
the system comprises a first sending unit, a second sending unit and a control unit, wherein the first sending unit is used for sending a first command, the first command comprises a command for controlling the data acquisition unit to acquire the position information of celestial bodies in each grid point at a preset time interval, and the grid points are obtained by carrying out grid division on the panoramic roaming area range according to a preset length;
the first acquisition unit is used for acquiring second information, and the second information is the image information acquired by the data acquisition unit;
and the first generating unit is used for generating the panoramic roaming basic data according to the second information.
7. The panoramic roaming apparatus of claim 6, comprising:
a third obtaining module, configured to obtain first user mobile roaming path information and first user selection information, where the first user selection information includes a time evolution roaming state;
a first determining module, configured to generate a first panoramic roaming moving picture according to the first user mobile roaming path information and the user roaming demand information if the first user selection information is in a time-evolution roaming state, where the first panoramic roaming moving picture starts with a video with a roaming initial grid point corresponding to a celestial body change video, and a first roaming termination grid point ends with a video with a celestial body change video, the first roaming initial grid point is a first grid point starting in the first user mobile roaming path information, the first roaming termination grid point is a last grid point in the first user mobile roaming path information, and the celestial body change video is generated from the second information.
8. The panoramic roaming apparatus of claim 5, comprising:
a fourth obtaining module, configured to obtain second user mobile roaming path information and second user selection information, where the second user selection information includes a single-time roaming state;
a second judging module, configured to generate a second panoramic roaming moving picture according to the second user mobile roaming path information, the user mobile roaming state information, the user roaming demand information, and the panoramic roaming basic data if the second user selection information is in a single-time roaming state, where the second panoramic roaming moving picture is a video starting with a celestial body image corresponding to a roaming initial lattice point and ending with a celestial body image corresponding to a second roaming termination lattice point, the first roaming initial lattice point is a first lattice point starting in the first user mobile roaming path information, and the roaming termination lattice point is a last lattice point in the first user mobile roaming path information.
9. A panoramic roaming device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the panoramic roaming method of any one of claims 1 to 4 when executing the computer program.
10. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the panoramic roaming method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111301498.1A CN113961078B (en) | 2021-11-04 | 2021-11-04 | Panoramic roaming method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111301498.1A CN113961078B (en) | 2021-11-04 | 2021-11-04 | Panoramic roaming method, device, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113961078A true CN113961078A (en) | 2022-01-21 |
CN113961078B CN113961078B (en) | 2023-05-26 |
Family
ID=79469313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111301498.1A Active CN113961078B (en) | 2021-11-04 | 2021-11-04 | Panoramic roaming method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113961078B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101055494A (en) * | 2006-04-13 | 2007-10-17 | 上海虚拟谷数码科技有限公司 | Dummy scene roaming method and system based on spatial index cube panoramic video |
CN102056015A (en) * | 2009-11-04 | 2011-05-11 | 沈阳隆惠科技有限公司 | Streaming media application method in panoramic virtual reality roaming |
CN104503570A (en) * | 2014-12-10 | 2015-04-08 | 北京诺亚星云科技有限责任公司 | Panorama roaming-based user behavior data processing system and equipment |
US20150138193A1 (en) * | 2012-05-29 | 2015-05-21 | Tencent Technology (Shenzhen) Company Limited | Method and device for panorama-based inter-viewpoint walkthrough, and machine readable medium |
CN106548516A (en) * | 2015-09-23 | 2017-03-29 | 腾讯科技(深圳)有限公司 | Three-dimensional range method and apparatus |
CN107230179A (en) * | 2017-04-27 | 2017-10-03 | 北京小鸟看看科技有限公司 | Storage method, methods of exhibiting and the equipment of panoramic picture |
US20170289448A1 (en) * | 2016-03-29 | 2017-10-05 | Twoeyes Tech, Inc. | Panoramic imaging apparatus and system, method of generating panoramic image using panoramic imaging system, computer-readable recording medium, and computer program stored in computer-readable recording medium |
CN108320334A (en) * | 2018-01-30 | 2018-07-24 | 公安部物证鉴定中心 | The method for building up of three-dimensional scenic roaming system based on cloud |
CN109948398A (en) * | 2017-12-20 | 2019-06-28 | 深圳开阳电子股份有限公司 | The image processing method and panorama parking apparatus that panorama is parked |
CN111246096A (en) * | 2020-01-19 | 2020-06-05 | 广州启量信息科技有限公司 | System and method for generating three-dimensional panoramic roaming model |
US20200202576A1 (en) * | 2018-12-19 | 2020-06-25 | Samsung Electronics Co., Ltd. | Electronic apparatus and control method thereof |
WO2021120389A1 (en) * | 2019-12-19 | 2021-06-24 | 广州启量信息科技有限公司 | Coordinate transformation method and apparatus for aerial panoramic roaming data |
CN113553452A (en) * | 2021-06-16 | 2021-10-26 | 浙江科技学院 | Spatial domain name processing method and device based on virtual reality |
-
2021
- 2021-11-04 CN CN202111301498.1A patent/CN113961078B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101055494A (en) * | 2006-04-13 | 2007-10-17 | 上海虚拟谷数码科技有限公司 | Dummy scene roaming method and system based on spatial index cube panoramic video |
CN102056015A (en) * | 2009-11-04 | 2011-05-11 | 沈阳隆惠科技有限公司 | Streaming media application method in panoramic virtual reality roaming |
US20150138193A1 (en) * | 2012-05-29 | 2015-05-21 | Tencent Technology (Shenzhen) Company Limited | Method and device for panorama-based inter-viewpoint walkthrough, and machine readable medium |
CN104503570A (en) * | 2014-12-10 | 2015-04-08 | 北京诺亚星云科技有限责任公司 | Panorama roaming-based user behavior data processing system and equipment |
CN106548516A (en) * | 2015-09-23 | 2017-03-29 | 腾讯科技(深圳)有限公司 | Three-dimensional range method and apparatus |
US20170289448A1 (en) * | 2016-03-29 | 2017-10-05 | Twoeyes Tech, Inc. | Panoramic imaging apparatus and system, method of generating panoramic image using panoramic imaging system, computer-readable recording medium, and computer program stored in computer-readable recording medium |
CN107230179A (en) * | 2017-04-27 | 2017-10-03 | 北京小鸟看看科技有限公司 | Storage method, methods of exhibiting and the equipment of panoramic picture |
CN109948398A (en) * | 2017-12-20 | 2019-06-28 | 深圳开阳电子股份有限公司 | The image processing method and panorama parking apparatus that panorama is parked |
CN108320334A (en) * | 2018-01-30 | 2018-07-24 | 公安部物证鉴定中心 | The method for building up of three-dimensional scenic roaming system based on cloud |
US20200202576A1 (en) * | 2018-12-19 | 2020-06-25 | Samsung Electronics Co., Ltd. | Electronic apparatus and control method thereof |
WO2021120389A1 (en) * | 2019-12-19 | 2021-06-24 | 广州启量信息科技有限公司 | Coordinate transformation method and apparatus for aerial panoramic roaming data |
CN111246096A (en) * | 2020-01-19 | 2020-06-05 | 广州启量信息科技有限公司 | System and method for generating three-dimensional panoramic roaming model |
CN113553452A (en) * | 2021-06-16 | 2021-10-26 | 浙江科技学院 | Spatial domain name processing method and device based on virtual reality |
Also Published As
Publication number | Publication date |
---|---|
CN113961078B (en) | 2023-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110189246B (en) | Image stylization generation method and device and electronic equipment | |
US11562466B2 (en) | Image distribution device, image distribution system, image distribution method, and image distribution program | |
CN108492338B (en) | Compression method and device for animation file, storage medium and electronic device | |
CN109036522B (en) | Image processing method, device, equipment and readable storage medium | |
JP2022552333A (en) | MOVIE FILE GENERATION METHOD, DEVICE, TERMINAL AND STORAGE MEDIUM | |
US10922479B2 (en) | Method and electronic device for creating an electronic signature | |
EP4148597A1 (en) | Search result display method and apparatus, readable medium, and electronic device | |
CN109934142B (en) | Method and apparatus for generating feature vectors of video | |
CN113055709B (en) | Video publishing method, device, equipment, storage medium and program product | |
CN111027613A (en) | Scene character recognition method and device, storage medium and terminal | |
GB2590213A (en) | Video publishing method and apparatus, device, and storage medium | |
CN112380365A (en) | Multimedia subtitle interaction method, device, equipment and medium | |
CN112487871A (en) | Handwriting data processing method and device and electronic equipment | |
CN113961078B (en) | Panoramic roaming method, device, equipment and readable storage medium | |
CN116723353A (en) | Video monitoring area configuration method, system, device and readable storage medium | |
CN115953504A (en) | Special effect processing method and device, electronic equipment and storage medium | |
CN111586295A (en) | Image generation method and device and electronic equipment | |
KR20210064353A (en) | Image synthesis method, apparatus, computer device and readable storage medium | |
CN114584709A (en) | Zoom special effect generation method, device, equipment and storage medium | |
JP4947575B2 (en) | Portable electronic device, list image display method and program in portable electronic device | |
CN113724393B (en) | Three-dimensional reconstruction method, device, equipment and storage medium | |
CN113436062B (en) | Image style migration method and device, electronic equipment and storage medium | |
CN115082301B (en) | Customized video generation method, device, equipment and computer readable medium | |
CN114760534B (en) | Video generation method, device, electronic equipment and readable storage medium | |
CN113986850B (en) | Storage method, device, equipment and computer readable storage medium of electronic volume |
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 |