CN109391773B - Method and device for controlling movement of shooting point during switching of panoramic page - Google Patents

Method and device for controlling movement of shooting point during switching of panoramic page Download PDF

Info

Publication number
CN109391773B
CN109391773B CN201811106465.XA CN201811106465A CN109391773B CN 109391773 B CN109391773 B CN 109391773B CN 201811106465 A CN201811106465 A CN 201811106465A CN 109391773 B CN109391773 B CN 109391773B
Authority
CN
China
Prior art keywords
point
panoramic
page
icon
shooting
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
CN201811106465.XA
Other languages
Chinese (zh)
Other versions
CN109391773A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811106465.XA priority Critical patent/CN109391773B/en
Publication of CN109391773A publication Critical patent/CN109391773A/en
Application granted granted Critical
Publication of CN109391773B publication Critical patent/CN109391773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for controlling movement of a shooting point during switching of a panoramic page, wherein the method comprises the following steps: acquiring a page shooting point of a page, and acquiring a central shooting point of a panoramic icon; acquiring a current viewpoint, and determining a first mobile relay point according to the current viewpoint; determining a curve track according to the first mobile relay point; and when receiving the panoramic page switching instruction, controlling the shooting point to move from the page shooting point to the center shooting point of the panoramic icon along the curve track. Therefore, by generating the curve track, the change of the shooting content of the shooting point in the moving process is within a small variation range, the shaking problem during the switching of the panoramic page is solved, the shaking-free and more natural panoramic page switching effect can be formed, the user experience is greatly improved on the premise of ensuring interestingness, and the user is attracted to browse more panoramic contents.

Description

Method and device for controlling movement of shooting point during switching of panoramic page
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for controlling movement of a shooting point during switching of a panoramic page.
Background
At present, the mode of switching the panoramic page is generally divided into two modes, namely a page jump refresh mode and a single-page non-refresh mode, wherein the first mode enables a user to sense the change of the page (such as a flashing screen and a white screen) through the destruction and reconstruction of the page, so that the waiting time of the user for experiencing the panoramic view is increased; the second mode reduces waiting time and provides smoother panoramic switching experience. However, although the above two approaches provide a better panorama switching experience, a problem of page fluttering may occur when entering a new panorama.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first object of the present invention is to provide a method for controlling movement of a shooting point during switching of a panoramic page, comprising the following steps:
acquiring a page shooting point of a page, and acquiring a central shooting point of a panoramic icon; acquiring a current viewpoint, and determining a first mobile relay point according to the current viewpoint; determining a curve track according to the first mobile relay point; and when a panoramic page switching instruction is received, controlling a shooting point to move from the page shooting point to a central shooting point of the panoramic icon along the curve track.
To achieve the above object, a second aspect of the present invention provides a device for controlling movement of a shooting point during switching of a panoramic page, including: the first acquisition module is used for acquiring a page shooting point of a page and acquiring a central shooting point of the panoramic icon; the first determining module is used for acquiring a current viewpoint and determining a first mobile relay point according to the current viewpoint; the second determining module is used for determining a curve track according to the first mobile relay point; and the control module is used for controlling the shooting point to move from the page shooting point to the center shooting point of the panoramic icon along the curve track when a panoramic page switching instruction is received.
To achieve the above object, a third embodiment of the present invention provides a computer program product, which when executed by an instruction processor in the computer program product, executes a method for controlling movement of a shooting point at panorama page switching as described in the above embodiments.
In order to achieve the above object, a fourth aspect embodiment of the present invention proposes a non-transitory computer-readable storage medium, which when executed by a processor, implements the movement control method of a shooting point at panorama page switching described in the above embodiments.
The technical scheme provided by the invention at least has the following beneficial technical effects:
the method comprises the steps of obtaining a page shooting point of a page, obtaining a central shooting point of a panoramic icon, obtaining a current viewpoint, determining a first moving relay point according to the current viewpoint, determining a curve track according to the first moving relay point, and controlling the shooting point to move from the page shooting point to the central shooting point of the panoramic icon along the curve track when a panoramic page switching instruction is received. Therefore, by generating the curve track, the change of the shooting content of the shooting point in the moving process is within a small variation range, the shaking problem during the switching of the panoramic page is solved, the shaking-free and more natural panoramic page switching effect can be formed, on the premise of ensuring interestingness, the user experience is greatly improved, the user is attracted to browse more panoramic contents, and the vertical range of the panoramic contents is expanded.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a method for controlling movement of a shot point when a panorama page is switched according to an embodiment of the present invention;
FIGS. 2 a-2 d are schematic diagrams illustrating the coordinates of the moving control of the shot point during the switching of the panoramic page according to an embodiment of the present invention;
3 a-3 d are schematic views of a scene for panoramic page switching according to an embodiment of the present invention;
fig. 4 is a flowchart of a moving control method of a shot point at the time of panorama page switching according to another embodiment of the present invention;
fig. 5 is a flowchart of a moving control method of a shot point at the time of panorama page switching according to still another embodiment of the present invention;
6 a-6 d are schematic views of a scene of a panoramic page switch according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a device for controlling movement of a shooting point when a panoramic page is switched according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a movement control device of a shooting point at the time of panoramic page switching according to another embodiment of the present invention; and
fig. 9 is a schematic structural diagram of a device for controlling movement of a shooting point at panorama page switching according to still another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the embodiment of the invention, a shake-free and more natural panoramic page switching effect can be formed, on the premise of ensuring interestingness, user experience is greatly improved, a user is attracted to browse more panoramic contents, and the vertical range of the panoramic contents is expanded.
The following describes a method and an apparatus for controlling movement of a shooting point when a panoramic page is switched according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for controlling movement of a shot point when a panorama page is switched, as shown in fig. 1, the method including the steps of:
step 101, acquiring a page shooting point of a page, and acquiring a center shooting point of a panoramic icon.
Specifically, a panoramic page refers to rendering 3D (3 Dimensions) scene content on a webpage through webgl (Web Graphics Library) technology, providing a more stereoscopic and spatial visualized content form, and virtualizing a 3D box space, generally using the principle of light reflection, and virtualizing a 3D box space, where panoramic content displayed on the surface of a 3D sphere or cube, that is, a pixel combination of a reflection point of a current viewpoint in the virtual 3D box space.
It can be understood that the panoramic page may be composed of 6 frames, i.e., front, back, left, right, up, and down, and in the initial state, the front frame is displayed, and the user may drag the page or may browse other frames by means of a gyroscope or the like.
In the webgl technology, the shooting direction of the shooting equipment is a 3-dimensional space coordinate, and the shooting equipment shoots the content in the space towards the corresponding space point and then renders the content on a webpage.
It should be noted that the picture direction in front of the panorama page means that the coordinates of the current viewpoint are set as the coordinates of the center shooting point, then the z-axis coordinate z of the current viewpoint is z +1, and the shooting device shoots the picture direction in front of the panorama toward the current viewpoint.
Therefore, after the switching of the panoramic page is triggered by clicking, pressing and the like, the current viewpoint moves to the central shooting point of the panoramic icon (wherein, when z is greater than 0, z is equal to z +1, and when z is less than 0, z is equal to z-1), the experience given to the user is that the panoramic icon moves to the central position of the screen, then the shooting device moves linearly towards the central shooting point of the panoramic icon in the 3D space, and the experience given to the user is that the panoramic icon passes through to a new panoramic space.
As shown in fig. 2a, the photographing apparatus moves from the page shot point O to the center shot point Q of the panoramic icon and always photographs toward the current viewpoint Q', and as the photographing apparatus approaches the center shot point Q of the panoramic icon, the variation of the photographing contents during the movement becomes larger and larger, for example, the BA amplitude is larger than CB, thereby causing the page shake.
Therefore, in the embodiment of the present invention, by changing the moving manner from the shooting point to the center shooting point of the panoramic icon and generating a moving path of a curved track, the change of the shooting content of the shooting device in the moving process is within a small fluctuation range, so that the jitter interference can be eliminated, and the specific moving path is the OPQ curved track shown in fig. 2 b.
As can be seen from fig. 2B, when the imaging device (i.e., the shooting point) shoots the point B of the panoramic icon at the point P, the range of the change of the shot content during the moving process is smaller than that of the original mode, i.e., the point B of the panoramic icon is shot at the point P in fig. 2a, so that the page can smoothly enter a new panorama without shaking.
In one embodiment of the invention, the panoramic icon is a 3D hover ball.
And 102, acquiring a current viewpoint, and determining a first mobile relay point according to the current viewpoint.
And 103, determining a curve track according to the first moving relay point.
It can be understood that there are many ways to obtain the current viewpoint and determine the first mobile relay point according to the current viewpoint, for example, as follows:
in a first example, a first reference point of the panoramic icon is determined according to the page shot point and the current viewpoint, a second reference point of the panoramic icon is determined according to the center shot point and the current viewpoint, a third reference point of the panoramic icon is determined according to the first reference point and the second reference point of the panoramic icon, and a first mobile relay point is determined according to the third reference point and the current viewpoint.
Taking fig. 2b as an example, determining a first reference point of the panorama icon as C according to the page shot point O and the current viewpoint Q'; and determining a second reference point of the panoramic icon as A according to the central shooting point Q and the current viewpoint Q ', determining a third reference point of the panoramic icon as B according to the first reference point C and the second reference point A of the panoramic icon, and determining a first mobile relay point P according to the third reference point B and the current viewpoint Q'.
In a second example, a function is simulated by acquiring a plurality of moving relay points corresponding to a plurality of current viewpoints in different scenes, and when the input of the function is the current viewpoint, the output is the corresponding first moving relay point.
Thus, a curved trajectory, such as the curved trajectory OPQ shown in fig. 2b, is determined from the first moving relay point. Therefore, by generating a curve moving path, the variation of the shooting content of the shooting device in the moving process is within a small variation range, and the jitter interference can be eliminated.
And 104, when a panoramic page switching instruction is received, controlling the shooting point to move from the page shooting point to the center shooting point of the panoramic icon along the curve track.
Therefore, when a panoramic page switching instruction (a mode of dragging a page or a gyroscope or the like) is received, the shooting point can be controlled to move from the page shooting point to the center shooting point of the panoramic icon along a curve track. For example, in fig. 2b, the control point moves along a curved path OPQ.
As a scene implementation, as shown in fig. 3a to 3D, the panoramic icon is a 3D floating ball, and by generating a curved track, the shooting point is switched from the sulwood lake to the summer tower within a small variation range during the moving process, so that a jitter-free and more natural panoramic page switching effect can be formed.
To sum up, the method for controlling movement of a shot point during switching of a panoramic page according to the embodiments of the present invention obtains a page shot point of a page, obtains a center shot point of a panoramic icon, obtains a current viewpoint, and determines a first moving relay point according to the current viewpoint, thereby determining a curved track according to the first moving relay point, and when a panoramic page switching instruction is received, controls the shot point to move from the page shot point to the center shot point of the panoramic icon along the curved track. Therefore, by generating the curve track, the change of the shooting content of the shooting point in the moving process is within a small variation range, the shaking problem during the switching of the panoramic page is solved, the shaking-free and more natural panoramic page switching effect can be formed, on the premise of ensuring interestingness, the user experience is greatly improved, the user is attracted to browse more panoramic contents, and the vertical range of the panoramic contents is expanded.
Fig. 4 is a flowchart of a moving control method of a shot point at the time of panorama page switching according to another embodiment of the present invention, as shown in fig. 4, the method including the steps of:
step 201, acquiring a page shooting point of a page, and acquiring a center shooting point of a panoramic icon.
It should be noted that step 201 can refer to the description of step 101, and is not described in detail here.
Step 202, determining a first reference point of the panoramic icon according to the page shooting point and the current viewpoint, determining a second reference point of the panoramic icon according to the central shooting point and the current viewpoint, determining a third reference point of the panoramic icon according to the first reference point and the second reference point of the panoramic icon, and determining a first mobile relay point according to the third reference point and the current viewpoint.
And 203, determining a fourth reference point of the random panorama icon according to the second reference point, the current viewpoint and the central shooting point, and taking the fourth reference point as a second mobile relay point, wherein a curve track is determined according to the first mobile relay point, the second mobile relay point and the page shooting point.
And step 204, controlling the shooting point to move to the second moving relay point from the page shooting point along the curve track, and controlling the shooting point to move linearly to the center shooting point of the panoramic icon from the second moving relay point.
Specifically, continuing with fig. 2B for explanation, a first reference point of the panoramic icon is determined to be C according to the page shot point O and the current viewpoint Q ', a second reference point of the panoramic icon is determined to be a according to the center shot point Q and the current viewpoint Q ', a third reference point of the panoramic icon is determined to be B according to the first reference point C and the second reference point a of the panoramic icon, and a first mobile relay point P is determined according to the third reference point B and the current viewpoint Q '.
Therefore, as shown in fig. 2c, a fourth reference point D of the panoramic icon at any time is determined according to the second reference point a, the current viewpoint Q' and the central shooting point Q, and the fourth reference point D is used as a second moving relay point, so that the shooting point is controlled to move from the page shooting point O to the second moving relay point along the curved track OPQ, and the shooting point is controlled to move linearly from the second moving relay point to the central shooting point of the panoramic icon, thereby generating a curved moving path, so that the change of the shooting content of the shooting device in the moving process is within a small variation range, and the jitter interference can be eliminated. And the method can help the user browse the panoramic content well, expand the vertical range of the panoramic content, deepen the user viscosity in the fields of real estate, tourism, education and the like, and trigger the deep-level service fusion.
Based on the above description of the embodiments, it can be understood that, for a panoramic icon with z <0, if the current viewpoint is set to z ═ z-1 (z represents the z coordinate of the central shot point of the panoramic icon), the same dithering noise is generated as described above, and at the same time, the moving range of the shot content during the moving process is larger, and the dithering noise is larger, because the moving range does not go to the front picture but to the back picture of the new panorama. How to process the following pictures into the new panorama is described below in connection with fig. 5.
Fig. 5 is a flowchart of a moving control method of a shot point at the time of panorama page switching according to still another embodiment of the present invention, as shown in fig. 5, the method including the steps of:
step 301, obtaining position information of the panoramic icon.
And step 302, judging whether a preset condition is met according to the position information of the panoramic icon.
And 303, if the preset condition is met, reversely mapping the panoramic icon.
It will be appreciated that the jitter disturbance occurs before the new panorama page is displayed, the current viewpoint z-bin is set to z-1 (z initially represents the center shot of the panorama icon), the latter pictures of the new panorama are entered, and the former pictures are not.
Specifically, the position information z of the panoramic icon is acquired, and the preset condition that z is less than 0 is satisfied, and in addition to the curved moving path in the above manner, the panoramic icon needs to be reverse-mapped, that is, the front picture and the rear picture of the original panoramic icon are interchanged, the left picture and the right picture are interchanged, the upper picture and the lower picture are turned upside down and turned upside down, the current viewpoint is set to be z-1 (z initially represents the central shooting point of the panoramic icon), and the moving path is as shown in fig. 2 d.
The preset conditions can be set according to actual use requirements, and only the panoramic icon needs to be subjected to reverse mapping, that is, the rear picture entering a new panorama can be determined, and the front picture is not entered.
In fig. 2d, the shooting point moves from point O to point Q along the OPQ curve, and the direction of point Q' is always shot (the current viewpoint is the direction of the screen on the back of the panorama).
The traversal effect of the panoramic icon on the back of the panorama can be known, for example, by observing a gyro sector on the page, which represents the position of front z >0 facing upwards and the position of back z <0 facing downwards, whether the panoramic icon is on the screen on the back of the panorama.
It should be noted that, if the reverse mapping is not performed, a large rotation angle of the picture occurs during the traversing process, which affects the user experience. Therefore, the jitter interference can be eliminated by enabling the shooting content of the shooting device to change within a small fluctuation range in the moving process through the reverse mapping.
As a scene implementation, as shown in fig. 6a to 6D, the panoramic icon is a 3D floating ball, and by performing reverse mapping on the 3D floating ball, a picture on the back side of the panoramic icon is actually a front picture of the panoramic icon, and smooth switching effect can be generated by a shooting device with a small rotation.
In order to implement the above embodiments, the present invention further provides a device for controlling movement of a shooting point during panorama page switching, fig. 7 is a schematic structural diagram of a device for controlling movement of a shooting point during panorama page switching according to an embodiment of the present invention, as shown in fig. 7, the device includes a first obtaining module 100, a first determining module 200, a second determining module 300, and a control module 400, wherein,
the first obtaining module 100 is configured to obtain a page shot point of a page and obtain a center shot point of a panoramic icon.
A first determining module 200, configured to obtain a current viewpoint and determine a first mobile relay point according to the current viewpoint;
a second determining module 300, configured to determine a curved track according to the first moving relay point. And
and the control module 400 is configured to control the shooting point to move from the page shooting point to the center shooting point of the panoramic icon along the curved track when the panoramic page switching instruction is received.
In one embodiment of the present invention, as shown in fig. 8, on the basis of the description in fig. 7, the first determination module reading module 200 includes a detection unit first determination unit 210, a second determination obtaining unit 220, a third determination unit 230, and a fourth determination updating unit 2340, wherein,
a first determining unit 210, configured to determine a first reference point of the panorama icon according to the page shot point and the current viewpoint.
A second determining unit 220 for determining a second reference point of the panorama icon according to the center photographing point and the current viewpoint.
A third determining unit 230 for determining a third reference point of the panorama icon according to the first reference point and the second reference point of the panorama icon.
A fourth determining unit 240, configured to determine the first mobile relay point according to the third reference point and the current viewpoint.
In an embodiment of the present invention, the control module 400 is specifically configured to control the shot point to move from the page shot point to the second moving relay point along the curved track; and controlling the shooting point to move linearly from the second moving relay point to the center shooting point of the panoramic icon.
In an embodiment of the present invention, as shown in fig. 9, on the basis of fig. 7, the apparatus further includes a second obtaining module monitoring processing module 500, where the monitoring processing module 500 is configured to monitor whether an error occurs in a third-party component injected into a global variable of an application program running environment, and if the error occurs, display an abnormal injection prompt message, a determining module 600, and a processing module 700.
The second obtaining module 500 is configured to obtain position information of the panoramic icon.
The judging module 600 is configured to judge whether a preset condition is met according to the position information of the panoramic icon. And
and the processing module 700 is configured to perform reverse mapping on the panoramic icon if a preset condition is met.
It should be noted that the foregoing explanation of the embodiment of the method for controlling movement of a shooting point during switching of a panoramic page is also applicable to the device for controlling movement of a shooting point during switching of a panoramic page in this embodiment, and is not repeated here.
To sum up, the device for controlling movement of a shooting point during switching of a panoramic page according to the embodiments of the present invention obtains a page shooting point of a page, obtains a center shooting point of a panoramic icon, obtains a current viewpoint, and determines a first moving relay point according to the current viewpoint, thereby determining a curved track according to the first moving relay point, and when a panoramic page switching instruction is received, controls the shooting point to move from the page shooting point to the center shooting point of the panoramic icon along the curved track. Therefore, by generating the curve track, the change of the shooting content of the shooting point in the moving process is within a small variation range, the shaking problem during the switching of the panoramic page is solved, the shaking-free and more natural panoramic page switching effect can be formed, on the premise of ensuring interestingness, the user experience is greatly improved, the user is attracted to browse more panoramic contents, and the vertical range of the panoramic contents is expanded.
In order to implement the foregoing embodiments, the present invention further provides a computer program product, including: and a processor, wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the method for controlling movement of a shooting point at panorama page switching described in the above embodiments.
In order to achieve the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium, in which instructions, when executed by a processor, enable execution of the movement control method of a shooting point at panorama page switching shown in the above embodiments.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (9)

1. A method for controlling movement of a shooting point during switching of a panoramic page is characterized by comprising the following steps:
acquiring a page shooting point of a page, and acquiring a central shooting point of a panoramic icon;
acquiring a current viewpoint, and determining a first mobile relay point according to the current viewpoint;
determining a curve track according to the first mobile relay point, the second mobile relay point and the page shooting point; determining a second reference point of the panoramic icon according to the central shooting point and the current viewpoint, and determining a second mobile relay point of the panoramic icon according to the second reference point, the current viewpoint and the central shooting point; and
and when a panoramic page switching instruction is received, controlling a shooting point to move from the page shooting point to a central shooting point of the panoramic icon along the curve track.
2. The method for controlling movement of a shot point during panorama page switching as recited in claim 1, wherein said determining a first mobile relay point according to said current viewpoint comprises:
determining a first reference point of the panoramic icon according to the page shooting point and the current viewpoint;
determining a second reference point of the panoramic icon according to the central shooting point and the current viewpoint;
determining a third reference point of the panoramic icon according to the first reference point and the second reference point of the panoramic icon;
and determining the first mobile relay point according to the third reference point and the current viewpoint.
3. The method for controlling movement of a shot point at the time of panorama page switching as recited in claim 1, wherein said controlling the shot point to move from the page shot point to a center shot point of the panorama icon along the curved trajectory comprises:
controlling the shooting point to move from the page shooting point to the second moving relay point along the curve track; and
and controlling the shooting point to move linearly from the second moving relay point to the central shooting point of the panoramic icon.
4. The method for controlling movement of a shot point when switching a panoramic page as recited in claim 1, further comprising:
acquiring the position information of the panoramic icon;
judging whether a preset condition is met or not according to the position information of the panoramic icon; and
and if the preset conditions are met, performing reverse mapping on the panoramic icon.
5. The method for controlling movement of a shooting point during panoramic page switching according to claim 1, wherein the panoramic icon is a 3D hover ball.
6. A movement control device of a shooting point when a panoramic page is switched is characterized by comprising:
the first acquisition module is used for acquiring a page shooting point of a page and acquiring a central shooting point of the panoramic icon;
the first determining module is used for acquiring a current viewpoint and determining a first mobile relay point according to the current viewpoint;
the second determining module is used for determining a curve track according to the first moving relay point, the second moving relay point and the page shooting point; determining a second reference point of the panoramic icon according to the central shooting point and the current viewpoint, and determining a second mobile relay point of the panoramic icon according to the second reference point, the current viewpoint and the central shooting point; and
and the control module is used for controlling the shooting point to move from the page shooting point to the center shooting point of the panoramic icon along the curve track when a panoramic page switching instruction is received.
7. The apparatus of claim 6, wherein the first determining module comprises:
a first determining unit, configured to determine a first reference point of the panoramic icon according to the page shot point and the current viewpoint;
a second determining unit configured to determine a second reference point of the panoramic icon according to the center photographing point and the current viewpoint;
a third determining unit, configured to determine a third reference point of the panoramic icon according to the first reference point and the second reference point of the panoramic icon;
a fourth determining unit, configured to determine the first mobile relay point according to the third reference point and the current viewpoint.
8. A device for controlling movement of a shot point at panorama page switching, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the method for controlling movement of a shot point at panorama page switching according to any one of claims 1-5.
9. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method for controlling movement of a shooting point at panorama page switching time according to any one of claims 1-5.
CN201811106465.XA 2018-09-21 2018-09-21 Method and device for controlling movement of shooting point during switching of panoramic page Active CN109391773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811106465.XA CN109391773B (en) 2018-09-21 2018-09-21 Method and device for controlling movement of shooting point during switching of panoramic page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811106465.XA CN109391773B (en) 2018-09-21 2018-09-21 Method and device for controlling movement of shooting point during switching of panoramic page

Publications (2)

Publication Number Publication Date
CN109391773A CN109391773A (en) 2019-02-26
CN109391773B true CN109391773B (en) 2021-08-10

Family

ID=65418837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811106465.XA Active CN109391773B (en) 2018-09-21 2018-09-21 Method and device for controlling movement of shooting point during switching of panoramic page

Country Status (1)

Country Link
CN (1) CN109391773B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115023B (en) * 2020-01-09 2022-09-27 百度在线网络技术(北京)有限公司 Panoramic scene switching method, device and equipment
CN111415386B (en) * 2020-03-16 2023-05-26 如你所视(北京)科技有限公司 Shooting device position prompting method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530799A (en) * 2013-10-22 2014-01-22 惠州Tcl移动通信有限公司 Browsing method for realizing palm apartment viewing according to 3D (three-dimensional) galleries and 3D apartment viewing system
CN104679434A (en) * 2015-03-17 2015-06-03 北京合生共济投资咨询有限责任公司 Method for switching client pages
JP2016502171A (en) * 2012-10-16 2016-01-21 ジョン、ジェ ウンJEON, Jae Woong Method, system and computer-readable recording medium for controlling a virtual camera in a three-dimensional virtual space
CN106155499A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 The method and apparatus of page layout switch
CN106412424A (en) * 2016-09-20 2017-02-15 乐视控股(北京)有限公司 View adjusting method and device for panoramic video
CN106485772A (en) * 2016-09-30 2017-03-08 北京百度网讯科技有限公司 Panorama changing method and system
CN108038820A (en) * 2017-11-14 2018-05-15 深圳岚锋创视网络科技有限公司 A kind of method, apparatus and panorama camera for realizing bullet time shooting effect

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016502171A (en) * 2012-10-16 2016-01-21 ジョン、ジェ ウンJEON, Jae Woong Method, system and computer-readable recording medium for controlling a virtual camera in a three-dimensional virtual space
CN103530799A (en) * 2013-10-22 2014-01-22 惠州Tcl移动通信有限公司 Browsing method for realizing palm apartment viewing according to 3D (three-dimensional) galleries and 3D apartment viewing system
CN104679434A (en) * 2015-03-17 2015-06-03 北京合生共济投资咨询有限责任公司 Method for switching client pages
CN106155499A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 The method and apparatus of page layout switch
CN106412424A (en) * 2016-09-20 2017-02-15 乐视控股(北京)有限公司 View adjusting method and device for panoramic video
CN106485772A (en) * 2016-09-30 2017-03-08 北京百度网讯科技有限公司 Panorama changing method and system
CN108038820A (en) * 2017-11-14 2018-05-15 深圳岚锋创视网络科技有限公司 A kind of method, apparatus and panorama camera for realizing bullet time shooting effect

Also Published As

Publication number Publication date
CN109391773A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
US10958887B2 (en) Free-viewpoint photorealistic view synthesis from casually captured video
KR102346437B1 (en) Methods, devices and systems for automatic zoom when playing an augmented reality scene
US10521468B2 (en) Animated seek preview for panoramic videos
US20200296348A1 (en) Virtual Reality Parallax Correction
CN104182999B (en) Animation jump method and system in a kind of panorama
CN108805989B (en) Scene crossing method and device, storage medium and terminal equipment
US20140240354A1 (en) Augmented reality apparatus and method
US11044398B2 (en) Panoramic light field capture, processing, and display
CN107945231A (en) A kind of 3 D video playback method and device
WO2014117568A1 (en) Method and device for performing transition between street view images
KR20180091033A (en) Image display method, method for manufacturing irregular screen having curved surface, and head-mounted display device
CN113223130B (en) Path roaming method, terminal equipment and computer storage medium
CN114531553B (en) Method, device, electronic equipment and storage medium for generating special effect video
CN111466113B (en) Apparatus and method for image capture
CN109391773B (en) Method and device for controlling movement of shooting point during switching of panoramic page
CN110047123A (en) A kind of map rendering method, device, storage medium and computer program product
BR112021000289A2 (en) APPARATUS FOR GENERATING IMAGES OF A SCENE, METHOD FOR GENERATING IMAGES OF A SCENE, AND COMPUTER PROGRAM PRODUCT
CN112184922B (en) Fusion method, device, equipment and storage medium of two-dimensional video and three-dimensional scene
US20130342528A1 (en) Apparatus and method for traversing hierarchical acceleration structure
US11948257B2 (en) Systems and methods for augmented reality video generation
US10230933B2 (en) Processing three-dimensional (3D) image through selectively processing stereoscopic images
JP2022051978A (en) Image processing device, image processing method, and program
CN116069435B (en) Method, system and storage medium for dynamically loading picture resources in virtual scene
WO2023056879A1 (en) Model processing method and apparatus, device, and medium
CN108510433B (en) Space display method and device and terminal

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