CN113961078B - Panoramic roaming method, device, equipment and readable storage medium - Google Patents

Panoramic roaming method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113961078B
CN113961078B CN202111301498.1A CN202111301498A CN113961078B CN 113961078 B CN113961078 B CN 113961078B CN 202111301498 A CN202111301498 A CN 202111301498A CN 113961078 B CN113961078 B CN 113961078B
Authority
CN
China
Prior art keywords
roaming
information
grid point
panoramic
celestial body
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
Application number
CN202111301498.1A
Other languages
Chinese (zh)
Other versions
CN113961078A (en
Inventor
刘俊
李观
徐涛
李晓兴
单桂华
魏萍
高阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Computer Network Information Center of CAS
Original Assignee
Computer Network Information Center of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Computer Network Information Center of CAS filed Critical Computer Network Information Center of CAS
Priority to CN202111301498.1A priority Critical patent/CN113961078B/en
Publication of CN113961078A publication Critical patent/CN113961078A/en
Application granted granted Critical
Publication of CN113961078B publication Critical patent/CN113961078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/012Head tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/04Indexing scheme for image data processing or generation, in general involving 3D image data
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a panoramic roaming method, a device, 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 celestial body images at first moments corresponding to each grid point, and the first moments are starting moments of the acquisition time; obtaining 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 initial grid point of roaming. According to the invention, meshing division is performed on the space of panoramic roaming, only the data on each grid point is stored, and the data storage capacity is reduced.

Description

Panoramic roaming method, device, equipment and readable storage medium
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 supercomputer, the resolution of generating celestial photos or celestial videos according to the simulation data is improved, the data scale is rapidly expanded, and great challenges are brought to data storage. For time-series three-dimensional in-situ data, it is not practical to fully store the raw analog data for each time step.
Disclosure of Invention
The invention aims to provide a panoramic roaming method, a device, equipment and a readable storage medium, so as to solve the problems. In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, the present application provides a panoramic roaming method, the 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 celestial body images at first moments corresponding to each grid point, and the first moments are starting moments of the acquisition time;
obtaining 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 initial grid point of roaming.
Further, the generating panoramic roaming base data includes:
transmitting a first command, wherein the first command comprises a command for controlling a data acquisition unit to acquire position information of celestial bodies in each grid point at preset time intervals, and the grid points are grid points obtained by dividing the panoramic roaming area range according to preset lengths;
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 panoramic roaming basic data according to the second information includes:
generating celestial body images corresponding to each grid point according to the second information;
generating celestial body change videos corresponding to the grid points according to the celestial body images and the second information, wherein the video length of the celestial body change videos is acquisition time;
and generating two first transition change videos between each two adjacent grid points according to the position information of the celestial bodies in each grid point at the first moment and the position information of the celestial bodies in each grid point at the second moment, wherein the second moment is the cut-off moment of the acquisition time.
Further, the generating a roaming picture according to the user roaming requirement information and the panoramic roaming basic data 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;
and if the first user selection information is in a time evolution roaming state, generating a first panoramic roaming mobile picture according to the first user mobile roaming path information and the user roaming requirement information, wherein the first panoramic roaming mobile picture starts with a celestial body change video corresponding to a roaming initial grid point, the first roaming termination grid point corresponds to a video ending with the celestial body change video, the 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 by the second information.
Further, the generating a roaming picture according to the user roaming requirement information and the panoramic roaming basic data 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;
And if the second user selection information is in a single-moment roaming state, generating a second panoramic roaming mobile 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 mobile picture is a video which starts with a celestial body image corresponding to a roaming initial grid point, ends with the celestial body image corresponding to a second roaming termination grid point, and the roaming initial grid point is a first grid point which starts in the first user mobile roaming path information, and the roaming termination grid point is a last grid point in the first user mobile roaming path information.
In a second aspect, the application further provides a panoramic roaming apparatus, which includes a first acquisition module, a first generation module, a second acquisition module, and a second generation module, wherein,
the first acquisition module is used for acquiring first information, wherein the first information is a panoramic roaming area range and acquisition time;
the first generation module is used for generating panoramic roaming basic data, wherein the panoramic roaming basic data comprises celestial body images at a first moment corresponding to each grid point, and the first moment is the starting moment of the acquisition time;
The second acquisition module is used for acquiring user roaming demand information, wherein the user roaming demand information comprises roaming initial grid points;
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 initial grid point of roaming.
Further, the first generating module includes:
the first sending unit is used for 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 preset time intervals, and the grid points are grid points obtained by dividing the panoramic roaming area range according to preset lengths;
the first acquisition unit is used for acquiring second information, wherein the second information is the image information acquired by the data acquisition unit;
the first generation unit is used for generating the panoramic roaming basic data according to the second information.
Further, the panorama roaming device further comprises:
the third acquisition module is used for acquiring the mobile roaming path information of the first user and the first user selection information, wherein the first user selection information comprises a time evolution roaming state;
The first judging module is configured to generate a first panoramic roaming moving picture according to the first user mobile roaming path information and the user roaming requirement information if the first user selection information is in a time evolution roaming state, where the first panoramic roaming moving picture starts with a celestial body change video corresponding to a roaming initial grid point, the first roaming termination grid point corresponds to a video ending with a celestial body change video, the 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 by the second information.
Further, the panorama roaming device further comprises:
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;
and the second judging module is used for 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 if the second user selection information is in a single-moment roaming state, wherein the second panoramic roaming moving picture is a video which starts with a celestial body image corresponding to a roaming initial grid point and ends with a celestial body image corresponding to a second roaming termination grid point, the roaming initial grid point is a first grid point started in the first user mobile roaming path information, and the roaming termination grid point is a last grid 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;
and the processor is used for realizing 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 having stored thereon a computer program which, when executed by a processor, implements the steps of the panoramic roaming method described above.
The beneficial effects of the invention are as follows:
according to the invention, meshing division is carried out on the space of panoramic roaming, only the data on each grid point is stored, the data storage capacity is reduced, and meanwhile, the data of the grid points at fixed interval time points are reserved only by carrying out data sampling at fixed time intervals, so that the data storage capacity is further reduced; meanwhile, aiming at time-skip data and space-skip data, the invention compensates the data skip by a difference value to realize the transition consistency of the video; in order to reduce the calculation load of the computer, each part of the roaming video is generated in advance, the data end interacting with the user only needs to calculate the grid points and the passing sequence which need to pass according to the roaming path of the user, and then the corresponding roaming video part is correspondingly extracted, so that the purpose of reducing the calculation load is achieved in sequence.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by 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 thereof 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 that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a panoramic roaming method according to an embodiment of the invention;
fig. 2 is a schematic diagram of grid 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
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the 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 invention, as 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 made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only to distinguish 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, the method is shown to include 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 the space range of the required panoramic roaming, and the acquisition time is defined as the length of data acquisition, and the panoramic roaming area range and the specific size of the acquisition time are determined according to the actual requirements of those skilled in the art.
And S200, generating panoramic roaming basic data, wherein the panoramic roaming basic data comprises celestial body images at first moments corresponding to each grid point, and the first moments are starting moments of the acquisition time.
Step S300, obtaining user roaming requirement information, wherein the user roaming requirement information comprises a roaming initial grid point.
And step 400, 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 initial grid point of roaming.
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 data acquisition scale 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.
S210, sending a first command, wherein the first command comprises a command for controlling a data acquisition unit to acquire position information of celestial bodies in each grid point at preset time intervals in acquisition time, and the grid points are grid points obtained by dividing the panoramic roaming area range according to preset lengths.
It can be understood that in this step, the space range of panoramic roaming is divided into grids according to preset requirements, and grid points are used as basic roaming units and data processing units in the process of post-simulation data processing and the process of panoramic roaming.
In the embodiment, in order to reduce the pressure of data on storage while retaining the characteristics of celestial body data, in space, the simulation data is subjected to grid division through the panoramic roaming area range, so that the data on each grid point are only reserved; meanwhile, in time, in the embodiment, the data is sampled at fixed time intervals, namely preset time intervals, namely, only analog data on grid points at time points with fixed intervals are reserved, so that the stored data size is effectively reduced.
S220, acquiring second information, wherein the second information is image information acquired by the data acquisition unit.
S230, generating panoramic roaming basic data according to the second information, wherein the panoramic roaming basic data comprises celestial body images at first moments corresponding to each grid point, and the first moments are starting moments 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 data acquisition scale 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 celestial body images corresponding to each grid point according to the second information;
it can be understood that the celestial body image generated in this step is a simulated photo directly generated according to the position information corresponding to the first time.
S232, generating celestial body change videos corresponding to each grid point according to celestial body images and second information, wherein the video length of the celestial body change videos is acquisition time;
s233, generating two first transition change videos for each adjacent grid point 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 cut-off moment of the acquisition time.
It should be noted that the contents of the first transition video mentioned in this step S233 are not the same, 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 that data interpolation is carried out on collected data in the first time to the second time, the problem of space and time incoherence is solved, and space jumping sense is reduced. And finally, generating two first transition change videos 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 corresponding video to the data processing center when the user roams.
Meanwhile, in the step S230, a unique index number can be directly set for each first transition video and celestial body image, so that the waiting client can directly calculate the index number in the later use, and then can 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 the second information, wherein the transition image is an image generated by celestial body position information acquired at preset time intervals within acquisition time at one time;
s2322, generating a celestial body change video of the acquisition time through interpolation frame compensation based on the initial image and all transition images.
In this embodiment, the final celestial body change video is obtained by performing interpolation compensation on the image. So that the celestial changes within each grid point can be continuously transitioned in time.
Meanwhile, the modes for generating analog videos in S232 and S233 may be used interchangeably in the present embodiment.
Further, in some specific embodiments, step S500 and step S600 may be further included after step S400.
S500, acquiring first user mobile roaming path information 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, a first panoramic roaming moving picture is generated according to the first user mobile roaming path information and the user roaming requirement information, the first panoramic roaming moving picture starts with a celestial body change video corresponding to a roaming initial grid point, the first roaming termination grid point corresponds to a video ending with the celestial body change video, the 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 by second information.
That is, in step S500 and step S600, panorama roaming with time evolution information is performed according to the user' S selection. It should be noted that the generation process of the celestial body change video is described above. Wherein the first roaming termination grid point is the last grid point ending 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 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 required to pass through by the user roaming, and the user roaming direction is the direction from one path grid point to the other path grid point of the user roaming;
s620, in the panoramic roaming basic data, a first panoramic roaming moving picture is generated according to the panoramic roaming basic data and the third information, wherein the first panoramic roaming moving picture is a video which sequentially plays celestial body change videos corresponding to each path lattice point and first transition change videos between each path lattice point according to roaming path information, and the first transition change videos are generated by the second information.
It can be understood that the direction extracted in S610 is for the first transition video corresponding thereto, so as to implement continuity of the first panoramic roaming moving picture.
Meanwhile, in this embodiment, for the user side, referring to fig. 2, a grid point division schematic diagram is shown in the figure, by extracting the directions of passing grid points and passing two grid points of the user according to the roaming path information, and then directly extracting the corresponding video through the index numbers mentioned above or other types of search labels, the requirement of real-time interactive roaming is met, meanwhile, the original data is not saved, and in order to reduce the storage scale and the simulation operation load of the computer.
In some specific embodiments, step S234 and step S235 may be further included in step S230.
S234, generating celestial body images at a first moment corresponding to each grid point according to the second information;
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 steps, in the embodiment, the single-moment transitional switching process of the grid point is realized by a frame inserting dynamic compensation mode.
Meanwhile, it should be noted that the content of the second transition video mentioned in this step is not the same as the content of the first transition video, and the difference is that the first frame is the last frame. Meanwhile, the generation modes of the two videos are that interpolation is carried out on data corresponding to one grid point to data corresponding to the other grid point at the first moment, so that the problem of incoherence of space and time is solved, and the space jumping sense is reduced. And finally, generating two first transition change videos 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 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;
s800, if the second user selection information is in a single-moment roaming state, a second panoramic roaming mobile picture is generated according to the second user mobile roaming path information, the user mobile roaming state information, the user roaming demand information and panoramic roaming basic data, wherein the second panoramic roaming mobile picture starts with a celestial body image corresponding to a roaming initial grid point, the roaming initial grid point is a first grid point starting in the first user mobile roaming path information, a celestial body image corresponding to a second roaming termination grid point is a video ending in the first user mobile roaming path information, 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, panoramic roaming is performed at a single time according to the selection of the user.
Further, in some specific embodiments, step S810 and step S820 are further included in step S800.
S810, extracting fourth information according to roaming path information, wherein the fourth 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 required to pass through by the user roaming, and the user roaming direction is the direction from the user roaming through one path grid point to the other path grid point.
S820, in the panoramic roaming basic data, a second panoramic roaming moving picture is generated according to the panoramic roaming basic data and fourth information, wherein the second panoramic roaming moving picture is a video which sequentially plays celestial body images corresponding to each path lattice point and transitional change videos between each path lattice point according to roaming path information.
It is understood that the direction extracted in S810 is for the second transition video corresponding thereto. And realizing the continuity of the first panoramic roaming moving picture.
Meanwhile, in this embodiment, for the user side, only the directions of the passing grid points and the passing two grid points of the user can be 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 search labels, so that the requirement of real-time interactive roaming is met, meanwhile, the original data is not saved, and the purpose of reducing the storage scale and the simulation calculation load of the computer is achieved.
Example 2:
as shown in fig. 3, the present embodiment provides a panoramic roaming apparatus, which includes a first acquisition module 1, a first generation module 2, a second acquisition module 3, and a second generation module 4.
The first acquisition module 1 is used for acquiring first information, wherein 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 celestial body images at a first moment corresponding to each grid point, and the first moment is a starting moment of the acquisition time;
a second obtaining module 3, configured to obtain user roaming requirement information, where the user roaming requirement information includes a roaming initial grid point;
and the second generation module 4 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 initial grid point of roaming.
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 the data acquisition unit to acquire, at a preset time interval, position information of celestial bodies in each grid point, where the grid point is obtained by performing grid division on the panoramic roaming area according to a preset length;
A first acquiring unit 22, configured to acquire second information, where the second information is image information acquired by the data acquiring unit;
a first generating unit 23, configured to generate the panoramic roaming base data according to the second information. In some specific embodiments, the first generating unit 23 comprises:
a first generation subunit 2301, configured to generate, according to the second information, a celestial body image corresponding to each grid point;
a second generation subunit 2302, configured to generate, according to the celestial body image and the second information, a celestial body change video corresponding to each grid point, where a video length of the celestial body change video is an acquisition time;
a third generating subunit 2303 is configured to generate two first transitional video for 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 the cut-off time of the acquisition time.
In some specific embodiments, the second generation subunit 2302 includes:
a fourth generation 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 using celestial body position information acquired at a preset time interval within an acquisition time at a time;
The first compensation unit 23022 is configured to generate a celestial change video of the acquisition time by interpolation based on the initial image and all transition images.
In some specific embodiments, the panoramic roaming apparatus further comprises:
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 judging 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 requirement information if the first user selection information is in a time evolution roaming state, where the first panoramic roaming moving picture starts with a celestial body change video corresponding to a roaming initial grid point, the first roaming termination grid point corresponds to a video ending with the celestial body change video, the 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 by the second information.
In some specific embodiments, the first determining module 6 includes:
a first extracting unit 61, configured to extract third information according to roaming path information, where the third information includes at least two path lattice points and at least one user roaming direction, the path lattice points are location information of grid points through which the user roams, and the user roaming direction is a direction from one path lattice point to another path lattice point;
The second generating unit 62 is configured to extract and generate, in the panoramic roaming base data, a first panoramic roaming moving picture according to the panoramic roaming base data and the third information, where the first panoramic roaming moving picture is a video in which celestial body change videos corresponding to each path lattice point and first transition change videos between each path lattice point are sequentially played according to the roaming path information, and the first transition change videos are generated by the second information.
In some specific embodiments, the first generating unit 23 may further include:
a fifth generation subunit 2304, configured to generate, according to the second information, a celestial body image at a first time corresponding to each grid point;
a sixth generation subunit 2305 is configured to generate two second transitional video for frame interpolation between each adjacent grid point according to the position information of the celestial body in each grid point at the first moment.
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;
the second judging module 8 is 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 requirement 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 starts with a celestial body image corresponding to a roaming initial grid point, the 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 ending in the first user mobile roaming path information, 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 roaming path information, where the fourth information includes at least two path lattice points and at least one user roaming direction, the path lattice points are location information of grid points through which the user roams, and the user roaming direction is a direction in which the user roams from one path lattice point to another path lattice point;
and a third generating unit 82, configured to extract and generate, in the panoramic roaming base data, a second panoramic roaming moving picture according to the panoramic roaming base data and the fourth information, where the second panoramic roaming moving picture is a video that sequentially plays, according to the roaming path information, a celestial body image corresponding to each path lattice point and a transitional video between each path lattice point.
It should be noted that, regarding the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiments regarding the method, and will not be described in detail herein.
Example 3:
corresponding to the above method embodiment, a panoramic roaming apparatus is also provided in this embodiment, and a panoramic roaming apparatus described below and a panoramic roaming method described above may be referred to correspondingly.
Fig. 4 is a block diagram of a panoramic roaming apparatus 800, shown in accordance with an exemplary embodiment. As shown in fig. 4, the panorama rover 800 may include: a processor 801, a memory 802. The panoramic roaming apparatus 800 may also include one or more of a multimedia component 803, an i/O interface 804, and a communication component 805.
Wherein the processor 801 is configured to control the overall operation of the panoramic roaming apparatus 800 to perform all or part of the steps of the panoramic roaming method described above. The memory 802 is used to store various types of data to support operation at the panoramic roaming apparatus 800, which may include, for example, instructions for any application or method operating on the panoramic roaming apparatus 800, as well as application-related data, such as contact data, transceived messages, pictures, audio, video, and the like. The Memory 802 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 802 or transmitted through the communication component 805. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is configured to perform wired or wireless communication between the panoramic roaming apparatus 800 and other apparatuses. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near FieldCommunication, NFC for short), 2G, 3G or 4G, or a combination of one or more thereof, the respective communication component 805 may thus comprise: wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the panoramic roaming apparatus 800 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated ASIC), digital signal processor (DigitalSignal Processor, abbreviated DSP), digital signal processing apparatus (Digital Signal Processing Device, abbreviated DSPD), programmable logic device (Programmable Logic Device, abbreviated PLD), field programmable gate array (Field Programmable Gate Array, abbreviated FPGA), controller, microcontroller, microprocessor, or other electronic components for performing the panoramic roaming method described above.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the panorama roaming method described above. For example, the computer readable storage medium may be the memory 802 described above including program instructions executable by the processor 801 of the panoramic roaming apparatus 800 to perform the panoramic roaming method described above.
Example 4:
corresponding to the above method embodiment, there is further provided a readable storage medium in this embodiment, and a readable storage medium described below and a panorama roaming method described above may be referred to correspondingly.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the panoramic roaming method of the above-described method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, and the like.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
The foregoing is merely illustrative 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 think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (8)

1. A panoramic roaming method, 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 celestial body images at first moments corresponding to each grid point, and the first moments are starting moments of the acquisition time;
obtaining user roaming demand information, wherein the user roaming demand information comprises roaming initial grid points;
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 initial grid point of roaming;
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 if the second user selection information is in a single-moment roaming state, generating a second panoramic roaming mobile 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 mobile picture is a video which starts with a celestial body image corresponding to a roaming initial grid point, ends with the celestial body image corresponding to a second roaming termination grid point, and the roaming initial grid point is a first grid point which starts in the first user mobile roaming path information, and the roaming termination grid point is a last grid point in the first user mobile roaming path information.
2. The panorama roaming method of claim 1, wherein the generating panorama roaming base data comprises:
transmitting a first command, wherein the first command comprises a command for controlling a data acquisition unit to acquire position information of celestial bodies in each grid point at preset time intervals, and the grid points are grid points obtained by dividing the panoramic roaming area range according to preset lengths;
acquiring second information, wherein the second information is image information acquired by the data acquisition unit;
generating the panoramic roaming basic data according to the second information;
wherein generating the panoramic roaming base data according to the second information includes:
generating celestial body images corresponding to each grid point according to the second information;
generating celestial body change videos corresponding to each grid point according to the celestial body images and the second information, wherein the video length of the celestial body change videos is acquisition time;
generating two first transition change videos between each 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 cut-off moment of the acquisition time;
Generating celestial body change video corresponding to each grid point according to the celestial body image and the second information, wherein the celestial body change video comprises:
generating at least one transition image corresponding to each grid point according to the second information, wherein the transition image is an image generated by celestial body position information acquired at preset time intervals within acquisition time at one time;
and generating celestial body change video of acquisition time through interpolation based on the initial image and all transition images.
3. The panorama roaming method according to claim 2, wherein the generating a roaming picture according to the user roaming requirement information and the panorama roaming base data, 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;
and if the first user selection information is in a time evolution roaming state, generating a first panoramic roaming mobile picture according to the first user mobile roaming path information and the user roaming requirement information, wherein the first panoramic roaming mobile picture starts with a celestial body change video corresponding to a roaming initial grid point, the first roaming termination grid point corresponds to a video ending with the celestial body change video, the 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 by the second information.
4. A panoramic roaming apparatus, comprising:
the first acquisition module is used for acquiring first information, wherein the first information is a panoramic roaming area range and acquisition time;
the first generation module is used for generating panoramic roaming basic data, wherein the panoramic roaming basic data comprises celestial body images at a first moment corresponding to each grid point, and the first moment is the starting moment of the acquisition time;
the second acquisition module is used for acquiring user roaming demand information, wherein the user roaming demand information comprises roaming initial grid points;
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 initial grid point of roaming;
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;
and the second judging module is used for 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 if the second user selection information is in a single-moment roaming state, wherein the second panoramic roaming moving picture is a video which starts with a celestial body image corresponding to a roaming initial grid point and ends with a celestial body image corresponding to a second roaming termination grid point, the roaming initial grid point is a first grid point started in the first user mobile roaming path information, and the roaming termination grid point is a last grid point in the first user mobile roaming path information.
5. The panoramic roaming apparatus of claim 4, wherein the first generation module comprises:
the first sending unit is used for 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 preset time intervals, and the grid points are grid points obtained by dividing the panoramic roaming area range according to preset lengths;
the first acquisition unit is used for acquiring second information, wherein the second information is the image information acquired by the data acquisition unit;
the first generation unit is used for generating the panoramic roaming basic data according to the second information;
wherein the first generation unit includes:
a first generation subunit, configured to generate, according to the second information, a celestial body image corresponding to each grid point;
the second generation subunit is used for generating celestial body change videos corresponding to each grid point according to the celestial body images and the second information, and the video length of the celestial body change videos is the acquisition time;
a third generation subunit, configured to generate two first transition change videos for each adjacent grid point 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, where the second moment is a cut-off moment of the acquisition time;
Wherein the second generation subunit includes:
a fourth generation subunit, 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 using celestial body position information acquired at a preset time interval within an acquisition time at a time;
the first compensation unit is used for generating a celestial body change video of the acquisition time through interpolation based on the initial image and all transition images.
6. The panoramic roaming apparatus of claim 5, comprising:
the third acquisition module is used for acquiring the mobile roaming path information of the first user and the first user selection information, wherein the first user selection information comprises a time evolution roaming state;
the first judging module is configured to generate a first panoramic roaming moving picture according to the first user mobile roaming path information and the user roaming requirement information if the first user selection information is in a time evolution roaming state, where the first panoramic roaming moving picture starts with a celestial body change video corresponding to a roaming initial grid point, the first roaming termination grid point corresponds to a video ending with a celestial body change video, the 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 by the second information.
7. A panoramic roaming apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the panoramic roaming method as claimed in any one of claims 1 to 3 when executing said computer program.
8. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the panoramic roaming method of any one of claims 1 to 3.
CN202111301498.1A 2021-11-04 2021-11-04 Panoramic roaming method, device, equipment and readable storage medium Active CN113961078B (en)

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 CN113961078A (en) 2022-01-21
CN113961078B true 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 (2)

* Cited by examiner, † Cited by third party
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
CN108320334A (en) * 2018-01-30 2018-07-24 公安部物证鉴定中心 The method for building up of three-dimensional scenic roaming system based on cloud

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056015B (en) * 2009-11-04 2012-12-05 沈阳迅景科技有限公司 Streaming media application method in panoramic virtual reality roaming
CN103456043B (en) * 2012-05-29 2016-05-11 深圳市腾讯计算机系统有限公司 A kind of viewpoint internetwork roaming method and apparatus based on panorama sketch
CN104503570B (en) * 2014-12-10 2018-01-09 北京诺亚星云科技有限责任公司 User behavior data processing system and equipment based on Panoramic Warping
CN106548516B (en) * 2015-09-23 2021-05-14 清华大学 Three-dimensional roaming method and device
KR101675567B1 (en) * 2016-03-29 2016-11-22 주식회사 투아이즈테크 Apparatus and system for acquiring panoramic images, method using it, computer program and computer readable recording medium for acquiring panoramic images
CN107230179A (en) * 2017-04-27 2017-10-03 北京小鸟看看科技有限公司 Storage method, methods of exhibiting and the equipment of panoramic picture
CN109948398B (en) * 2017-12-20 2024-02-13 深圳开阳电子股份有限公司 Image processing method for panoramic parking and panoramic parking device
KR20200081527A (en) * 2018-12-19 2020-07-08 삼성전자주식회사 Electronic apparatus and control method thereof
CN111062875B (en) * 2019-12-19 2021-11-12 广州启量信息科技有限公司 Coordinate conversion method and device for air panoramic roaming data
CN111246096B (en) * 2020-01-19 2021-10-08 广州启量信息科技有限公司 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
CN108320334A (en) * 2018-01-30 2018-07-24 公安部物证鉴定中心 The method for building up of three-dimensional scenic roaming system based on cloud

Also Published As

Publication number Publication date
CN113961078A (en) 2022-01-21

Similar Documents

Publication Publication Date Title
US11611701B2 (en) Method and apparatus for video shooting, terminal device and storage medium
CN110058685B (en) Virtual object display method and device, electronic equipment and computer-readable storage medium
CN111641828B (en) Video processing method and device, storage medium and electronic equipment
US11562466B2 (en) Image distribution device, image distribution system, image distribution method, and image distribution program
CN112235604B (en) Rendering method and device, computer readable storage medium and electronic device
CN106375860B (en) Video playing method, device, terminal and server
CN111970562A (en) Video processing method, video processing device, storage medium and electronic equipment
CN113556588B (en) Reverse control method, device, computer equipment and storage medium
EP4319135A1 (en) Image fusion method and apparatus, electronic device, and storage medium
EP3567510A1 (en) Method and electronic device for creating an electronic signature
US20230316529A1 (en) Image processing method and apparatus, device and storage medium
CN109446025B (en) Operation behavior playback method and device, electronic equipment and readable medium
KR102440341B1 (en) Video processing method, apparatus, terminal and storage medium
US10057477B2 (en) Imaging device, imaging system, communication device, imaging method, and computer readable recording medium for generating and transmitting superimposed image data
CN113961078B (en) Panoramic roaming method, device, equipment and readable storage medium
CN114722320A (en) Page switching method and device and interaction method of terminal equipment
CN103200363A (en) Method and apparatus for storing image of camera
CN108345434B (en) Data writing method and device, computer equipment and readable storage medium
JP4947575B2 (en) Portable electronic device, list image display method and program in portable electronic device
CN115576513A (en) Target image display method, display device, electronic device, and storage medium
CN114897688A (en) Video processing method, video processing device, computer equipment and medium
JP6277981B2 (en) Information code image display system, information code image display terminal, information code image display program
US20080030608A1 (en) Electronic camera and combined program
CN105100826A (en) Picture processing method, apparatus and system
KR20210056733A (en) Electronic device for providing streaming data and method for operating thereof

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