CN113093901B - Panoramic picture display method, device and equipment - Google Patents

Panoramic picture display method, device and equipment Download PDF

Info

Publication number
CN113093901B
CN113093901B CN202010022316.6A CN202010022316A CN113093901B CN 113093901 B CN113093901 B CN 113093901B CN 202010022316 A CN202010022316 A CN 202010022316A CN 113093901 B CN113093901 B CN 113093901B
Authority
CN
China
Prior art keywords
panoramic
display
initial
initial viewpoint
real
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
CN202010022316.6A
Other languages
Chinese (zh)
Other versions
CN113093901A (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 CN202010022316.6A priority Critical patent/CN113093901B/en
Publication of CN113093901A publication Critical patent/CN113093901A/en
Application granted granted Critical
Publication of CN113093901B publication Critical patent/CN113093901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/08Projecting images onto non-planar surfaces, e.g. geodetic screens

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application provides a panoramic picture display method, a device and equipment, which relate to the technical field of panorama, and specifically comprise the following steps: acquiring an initial viewpoint and display parameters of the panoramic spherical model, wherein the initial position of the initial viewpoint is positioned in the non-center of the panoramic spherical model; and controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset movement track, determining a display picture in the movement process according to the real-time position and the display parameter of the initial viewpoint in the movement process, and displaying the display picture. This can improve the panoramic display effect.

Description

Panoramic picture display method, device and equipment
Technical Field
The application relates to the technical field of image processing, in particular to the technical field of panorama, and provides a panorama picture display method, device and equipment.
Background
Panoramic exhibition can be processed according to live-action images, for example, panoramic scenes are exhibited in a three-dimensional model mode, so that a user can preview the panoramic scenes from any angle, and the panoramic exhibition brings the user with the feeling of being in the scene.
At present, spherical panorama display is single in panorama display mode, and panorama display effect needs to be improved.
Disclosure of Invention
The present application aims to solve at least one of the technical problems in the related art to some extent.
Therefore, a first object of the present application is to provide a panoramic picture display method capable of improving panoramic display effect by controlling an initial viewpoint to move from an initial position to a center of a panoramic sphere model and displaying a display picture during the movement.
A second object of the present application is to provide a panoramic picture display device.
A third object of the present application is to propose an electronic device.
A fourth object of the present application is to propose a computer readable storage medium.
An embodiment of a first aspect of the present application provides a panoramic image display method, including:
acquiring an initial viewpoint and display parameters of a panoramic sphere model, wherein the initial position of the initial viewpoint is positioned in the non-center of the panoramic sphere model;
and controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset movement track, determining a display picture in the movement process according to the real-time position of the initial viewpoint and the display parameter in the movement process, and displaying the display picture.
In addition, the panoramic picture display method according to the above embodiment of the present application may further have the following additional technical features:
optionally, the display parameters include a line of sight direction and a view angle, and the determining the display picture in the motion process according to the real-time position of the initial viewpoint and the display parameters includes: acquiring a sight line direction and a sight angle corresponding to the real-time position of the initial viewpoint in the motion process; determining a target area in a visual field range in the panoramic sphere model according to the real-time position of the initial viewpoint, the visual line direction corresponding to the real-time position and the visual field included angle; and mapping the target area to a far clipping surface corresponding to the initial viewpoint according to the sight line direction corresponding to the real-time position, and generating the display picture.
Optionally, the acquiring the line of sight direction corresponding to the real-time position of the initial viewpoint in the motion process includes: acquiring the offset direction of the real-time position of the initial viewpoint relative to the center of the panoramic spherical model; and adjusting the sight line direction according to the offset direction so that the sight line direction is opposite to the offset direction.
Optionally, the controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset movement track includes: acquiring a midpoint between the initial position and the center of the panoramic sphere model; and taking the midpoint as a circle center, and controlling the initial viewpoint to circularly move to the center of the panoramic sphere model around the midpoint.
Optionally, before acquiring the initial viewpoint and the display parameters of the panoramic spherical model, the method further comprises: and obtaining a panoramic image, and mapping the panoramic image to the surface of the panoramic sphere model.
An embodiment of a second aspect of the present application provides a panoramic image display device, including:
the acquisition module is used for acquiring an initial viewpoint and display parameters of the panoramic sphere model, wherein the initial position of the initial viewpoint is positioned in the non-center of the panoramic sphere model;
the control module is used for controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset motion track;
and the display module is used for determining a display picture in the motion process according to the real-time position of the initial viewpoint and the display parameter in the motion process and displaying the display picture.
In addition, the panorama screen display apparatus according to the above-described embodiment of the present application may further have the following additional technical features:
optionally, the display parameters include a line of sight direction and a field of view angle, and the display module includes: the acquisition unit is used for acquiring a sight line direction and a sight angle corresponding to the real-time position of the initial viewpoint in the movement process; the determining unit is used for determining a target area in the view field range in the panoramic sphere model according to the real-time position of the initial view point, the view direction corresponding to the real-time position and the view angle; and the generating unit is used for mapping the target area to a far clipping surface corresponding to the initial viewpoint according to the sight line direction corresponding to the real-time position, and generating the display picture.
Optionally, the acquiring unit is specifically configured to: acquiring the offset direction of the real-time position of the initial viewpoint relative to the center of the panoramic spherical model; and adjusting the sight line direction according to the offset direction so that the sight line direction is opposite to the offset direction.
Optionally, the control module is specifically configured to: acquiring a midpoint between the initial position and the center of the panoramic sphere model; and taking the midpoint as a circle center, and controlling the initial viewpoint to circularly move to the center of the panoramic sphere model around the midpoint.
Optionally, the apparatus further comprises: and the generation module is used for acquiring a panoramic image and mapping the panoramic image to the surface of the panoramic sphere model.
An embodiment of a third aspect of the present application provides an electronic device, including at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the panoramic picture display method as described in the embodiment of the first aspect.
An embodiment of a fourth aspect of the present application proposes a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the panoramic picture display method according to the embodiment of the first aspect.
One embodiment of the above application has the following advantages or benefits: due to the adoption of the initial viewpoint and the display parameters for acquiring the panoramic spherical model, the initial position of the initial viewpoint is positioned in the non-center of the panoramic spherical model. And further, controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset movement track, determining a display picture in the movement process according to the real-time position and the display parameter of the initial viewpoint in the movement process, and displaying the display picture. From this, can simulate the asteroid effect to when getting into the panorama visual angle, cut into the panorama picture with the gesture that the asteroid flies to ground, improve panorama bandwagon effect, promote user experience.
Other effects of the above alternative will be described below in connection with specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present application and are not to be construed as limiting the application. Wherein:
fig. 1 is a flow chart of a panoramic image display method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating another panoramic image display method according to an embodiment of the present application;
FIG. 3 is a schematic view of a panoramic sphere model according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a panoramic image display device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another panoramic image display device according to an embodiment of the present application;
fig. 6 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the application.
Detailed Description
Exemplary embodiments of the present application will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present application are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a flow chart of a panoramic image display method according to an embodiment of the present application, as shown in fig. 1, the method includes:
and step 101, acquiring an initial viewpoint and display parameters of the panoramic spherical model, wherein the initial position of the initial viewpoint is positioned in the non-center of the panoramic spherical model.
In this embodiment, when the spherical panorama is displayed by the panoramic sphere model, the initial viewpoint and the display parameters of the panoramic sphere model may be obtained, so that the user previews the spherical panorama by the initial viewpoint and the display parameters.
Wherein the initial position of the initial viewpoint is located in a non-center of the panoramic sphere model, for example, the initial position may be located in an upper hemisphere of the panoramic sphere model, and the display parameters include a line of sight direction and a view angle. As an example, the view angle is set to 135 degrees, the initial position is located on the line connecting the center of the ball model and the north pole of the ball model, the direction of the line of sight is from the initial position to the direction of the south pole of the ball model, and then, according to the initial position of the initial viewpoint, the direction of the line of sight and the view angle, the display picture of the spherical panorama previewed by the user through the initial viewpoint at the initial position can be determined.
In one embodiment of the present application, a panoramic sphere model is built in advance, and a panoramic image is acquired. And mapping the panoramic image to the surface of the panoramic sphere model. For example, a space polar coordinate system is established according to the spherical model, a plane rectangular coordinate system is established according to the panoramic image, spherical polar coordinates of the spherical model and coordinates of the panoramic image are obtained, and the panoramic image is correspondingly mapped to the surface of the panoramic spherical model according to the mapping relation between the spherical polar coordinates and the coordinates of the panoramic image.
Step 102, controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset movement track, determining a display picture in the movement process according to the real-time position and the display parameters of the initial viewpoint in the movement process, and displaying the display picture.
In this embodiment, when entering the panoramic view angle, the initial view point is controlled to move from the initial position to the center of the panoramic sphere model according to the preset motion trail, and a display picture in the motion process is displayed. And in the moving process, determining a display picture in the moving process according to the real-time position of the initial viewpoint and the display parameters, and displaying the display picture. As an example, an instruction for starting panoramic exhibition is received, an initial viewpoint is controlled to move from an initial position to the center of a panoramic sphere model according to a preset motion track, and a display picture in the motion process is exhibited, so that the panoramic view is entered. And when the initial viewpoint moves to the center of the panoramic sphere model, enabling a user to preview the spherical panoramic view through the initial viewpoint and the display parameters.
In one embodiment of the present application, controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to the preset motion trajectory includes: and acquiring a midpoint between the initial position and the center of the panoramic sphere model, taking the midpoint as a circle center, taking half of the distance between the initial position and the center of the panoramic sphere model as a radius, and controlling the initial viewpoint to circularly move to the center of the panoramic sphere model around the midpoint.
In one embodiment of the present application, controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to the preset motion trajectory includes: and acquiring a connecting line of the initial position and the center of the panoramic sphere model as a long axis of the ellipse, and controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to the motion track of the ellipse.
It should be noted that, the implementation manner of moving the initial viewpoint from the initial position to the center of the panoramic spherical model according to the preset motion trajectory is merely exemplary, and the specific motion trajectory may be set according to needs, which is not limited herein.
At present, spherical panorama display is carried out, when entering the panorama, the default of the viewpoint is arranged in the center of the spherical model to experience the panorama, the panorama display mode is single, and the requirement of a user on the panorama display effect is difficult to meet.
According to the panoramic picture display method, the initial viewpoint and the display parameters of the panoramic sphere model are obtained, wherein the initial position of the initial viewpoint is located in the non-center of the panoramic sphere model. And further, controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset movement track, determining a display picture in the movement process according to the real-time position and the display parameter of the initial viewpoint in the movement process, and displaying the display picture. From this, can simulate the asteroid effect to when getting into the panorama visual angle, cut into the panorama picture with the gesture that the asteroid flies to ground, improve panorama bandwagon effect, promote user experience.
Based on the above embodiments, the following description will be given of controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to the preset motion trajectory, and determining the display screen during the motion.
Fig. 2 is a flow chart of another panoramic image display method according to an embodiment of the present application, as shown in fig. 2, the method includes:
step 201, obtaining a sight line direction and a sight angle corresponding to a real-time position of an initial viewpoint in a motion process.
In this embodiment, the initial viewpoint moves from the initial position to the center of the panoramic sphere model according to a preset motion track, wherein the real-time position of the initial viewpoint in the motion process is obtained, and further, the corresponding sight line direction is determined according to the real-time position, and the view angle is preset, and specifically, the view angle can be set according to the need, and the larger the view angle is, the larger the extrusion degree of the intermediate image of the finally obtained asteroid view is.
In one embodiment of the present application, acquiring a line of sight direction corresponding to a real-time position of an initial viewpoint during a movement includes: and acquiring the offset direction of the real-time position of the initial viewpoint relative to the center of the panoramic spherical model, and adjusting the sight line direction according to the offset direction so that the sight line direction is opposite to the offset direction.
As an example, the initial viewpoint moves circumferentially to the center of the panoramic sphere model, the initial position of the initial viewpoint is located on a line connecting the center of the sphere model and the north pole of the sphere model, and the offset direction is from the center of the sphere model toward the north pole of the sphere model, and the line of sight direction is from the initial position toward the south pole of the sphere model. And in the initial viewpoint moving process, acquiring an offset direction corresponding to the real-time position of the initial viewpoint, so that the sight line direction is always opposite to the offset direction, and when the initial viewpoint moves to the center of the ball model, the sight line direction faces the equatorial direction of the ball model from the center of the ball model.
And 202, determining a target area in the view field range in the panoramic sphere model according to the real-time position of the initial view point, the view direction corresponding to the real-time position and the view angle.
In this embodiment, according to the real-time position of the initial viewpoint, the line of sight direction and the view angle, the view range can be determined, and then the target area in the view range in the panoramic sphere model can be determined. For example, mapping the panoramic image to the surface of the panoramic sphere model, determining a visual field range according to the real-time position of the initial viewpoint, the visual line direction corresponding to the real-time position and a preset visual field included angle in the motion process, and acquiring a target area of the surface of the panoramic sphere model in the visual field range so as to further generate a display picture according to the target area.
In step 203, the target area is mapped to the far clipping surface corresponding to the initial viewpoint according to the line-of-sight direction corresponding to the real-time position, and a display screen is generated.
In this embodiment, the intersection point of the line of sight direction and the panoramic sphere model may be used as a tangent plane of the panoramic sphere model, a far-cut surface corresponding to the initial viewpoint may be generated, and then the far-cut surface may be used as a projection surface, and the image of the target area may be projected onto the projection surface, thereby generating the display screen.
As an example, taking the initial viewpoint as the initial position as an example, taking the initial viewpoint as the center as a horizontal tangent plane, generating a near-cut plane, and ensuring the transformation of the spherical model and projection in the field of view. Referring to fig. 3, a hatched portion is a panorama ball model, an initial position of an initial viewpoint is located in an upper hemisphere of the panorama ball model, a conical portion represents a field of view, a south pole of the panorama ball model is used as a center to generate a far cut surface, and the far cut surface is used as a projection surface. And determining a target area of the panoramic sphere model in the visual field range according to the initial position, the visual line direction and the visual field included angle, and projecting the target area to a projection surface in a perspective projection mode to generate a display picture.
According to the panoramic picture display method, the sight direction and the visual field included angle corresponding to the real-time position of the initial viewpoint in the movement process are obtained, and then the target area in the visual field range in the panoramic sphere model is determined according to the real-time position of the initial viewpoint, the sight direction and the visual field included angle corresponding to the real-time position, and further the target area is mapped to the far cutting surface corresponding to the initial viewpoint according to the sight direction corresponding to the real-time position, so that a display picture is generated. Therefore, through generating and displaying a display picture in the motion process, when entering a panoramic view angle, the panoramic picture can be cut into in a posture that the asteroid flies to the ground, the visual effect of panoramic display is improved, and the user experience is improved.
In order to achieve the above embodiment, the present application further provides a panoramic image display device.
Fig. 4 is a schematic structural diagram of a panoramic image display device according to an embodiment of the present application, as shown in fig. 4, the device includes: the system comprises an acquisition module 10, a control module 20 and a display module 30.
The obtaining module 10 is configured to obtain an initial viewpoint and a display parameter of the panoramic spherical model, where an initial position of the initial viewpoint is located in a non-center of the panoramic spherical model.
And the control module 20 is used for controlling the initial viewpoint to move from the initial position to the center of the panoramic spherical model according to a preset movement track.
And the display module 30 is used for determining a display picture in the motion process according to the real-time position of the initial viewpoint and the display parameters and displaying the display picture in the motion process.
On the basis of fig. 4, the panorama screen display apparatus shown in fig. 5 further comprises: a generation module 40.
The generating module 40 is configured to obtain a panoramic image, and map the panoramic image to the surface of the panoramic sphere model.
In one embodiment of the present application, the display parameters include a viewing direction and a viewing angle, and the display module 30 includes: an obtaining unit 31, configured to obtain a line of sight direction and a view angle corresponding to the real-time position of the initial viewpoint during the movement process; a determining unit 32, configured to determine a target area in the panoramic sphere model within a field of view according to a real-time position of the initial viewpoint, a line of sight direction and a field of view angle corresponding to the real-time position; and a generating unit 33 configured to map the target area to a far clipping surface corresponding to the initial viewpoint according to a line of sight direction corresponding to the real-time position, and generate the display screen.
In one embodiment of the present application, the acquiring unit 10 is specifically configured to: acquiring the offset direction of the real-time position of the initial viewpoint relative to the center of the panoramic spherical model; and adjusting the sight line direction according to the offset direction so that the sight line direction is opposite to the offset direction.
In one embodiment of the present application, the control module 20 is specifically configured to: acquiring a midpoint between the initial position and the center of the panoramic sphere model; and taking the midpoint as a circle center, and controlling the initial viewpoint to circularly move to the center of the panoramic sphere model around the midpoint.
The explanation of the panoramic image display method in the foregoing embodiment is also applicable to the panoramic image display device of the present embodiment, and will not be repeated here.
According to the panoramic picture display device, the initial viewpoint and the display parameters of the panoramic sphere model are obtained, wherein the initial position of the initial viewpoint is located in the non-center of the panoramic sphere model. And further, controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset movement track, determining a display picture in the movement process according to the real-time position and the display parameter of the initial viewpoint in the movement process, and displaying the display picture. Therefore, when the panoramic view angle is entered, the panoramic picture can be cut in a posture that the asteroid flies to the ground, the panoramic display effect is improved, and the user experience is improved.
In order to implement the above embodiments, the present application also proposes a computer program product, which when executed by a processor implements a panoramic picture display method as described in any of the previous embodiments.
According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
As shown in fig. 6, there is a block diagram of an electronic device of a panorama screen display method according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 6, the electronic device includes: one or more processors 601, memory 602, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 601 is illustrated in fig. 6.
The memory 602 is a non-transitory computer readable storage medium provided by the present application. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the panoramic picture display method provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the panoramic picture display method provided by the present application.
The memory 602 is used as a non-transitory computer readable storage medium, and may be used to store a non-transitory software program, a non-transitory computer executable program, and modules, such as program instructions/modules (e.g., the acquisition module 10, the control module 20, and the presentation module 30 shown in fig. 4) corresponding to the panoramic image display method according to the embodiments of the present application. The processor 601 executes various functional applications of the server and data processing by executing non-transitory software programs, instructions, and modules stored in the memory 602, that is, implements the panorama screen display method in the above-described method embodiment.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 602 may optionally include memory located remotely from processor 601, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the panorama screen display method may further include: an input device 603 and an output device 604. The processor 601, memory 602, input device 603 and output device 604 may be connected by a bus or otherwise, for example in fig. 6.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device, such as a touch screen, keypad, mouse, trackpad, touchpad, pointer stick, one or more mouse buttons, trackball, joystick, and like input devices. The output means 604 may include a display device, auxiliary lighting means (e.g., LEDs), tactile feedback means (e.g., vibration motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed embodiments are achieved, and are not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (10)

1. A panoramic picture display method, comprising:
acquiring an initial viewpoint and display parameters of a panoramic sphere model, wherein the initial position of the initial viewpoint is positioned in the non-center of the panoramic sphere model;
controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset movement track, determining a display picture in the movement process according to the real-time position of the initial viewpoint and the display parameter in the movement process, and displaying the display picture;
the display parameters comprise a sight line direction and a sight angle, and the determining the display picture in the motion process according to the real-time position of the initial viewpoint and the display parameters comprises the following steps:
acquiring a sight line direction and a sight angle corresponding to the real-time position of the initial viewpoint in the motion process;
determining a target area in a visual field range in the panoramic sphere model according to the real-time position of the initial viewpoint, the visual line direction corresponding to the real-time position and the visual field included angle;
and mapping the target area to a far clipping surface corresponding to the initial viewpoint according to the sight line direction corresponding to the real-time position, and generating the display picture.
2. The method of claim 1, wherein the acquiring the gaze direction corresponding to the real-time position of the initial viewpoint during the movement comprises:
acquiring the offset direction of the real-time position of the initial viewpoint relative to the center of the panoramic spherical model;
and adjusting the sight line direction according to the offset direction so that the sight line direction is opposite to the offset direction.
3. The method of claim 1, wherein controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset motion profile comprises:
acquiring a midpoint between the initial position and the center of the panoramic sphere model;
and taking the midpoint as a circle center, and controlling the initial viewpoint to circularly move to the center of the panoramic sphere model around the midpoint.
4. The method of claim 1, further comprising, prior to acquiring the initial viewpoint and display parameters of the panoramic sphere model:
and obtaining a panoramic image, and mapping the panoramic image to the surface of the panoramic sphere model.
5. A panoramic picture display device, comprising:
the acquisition module is used for acquiring an initial viewpoint and display parameters of the panoramic sphere model, wherein the initial position of the initial viewpoint is positioned in the non-center of the panoramic sphere model;
the control module is used for controlling the initial viewpoint to move from the initial position to the center of the panoramic sphere model according to a preset motion track;
the display module is used for determining a display picture in the motion process according to the real-time position of the initial viewpoint and the display parameter in the motion process and displaying the display picture;
the display parameters comprise a sight line direction and a sight angle, and the display module comprises:
the acquisition unit is used for acquiring a sight line direction and a sight angle corresponding to the real-time position of the initial viewpoint in the movement process;
the determining unit is used for determining a target area in the view field range in the panoramic sphere model according to the real-time position of the initial view point, the view direction corresponding to the real-time position and the view angle;
and the generating unit is used for mapping the target area to a far clipping surface corresponding to the initial viewpoint according to the sight line direction corresponding to the real-time position, and generating the display picture.
6. The apparatus of claim 5, wherein the acquisition unit is specifically configured to:
acquiring the offset direction of the real-time position of the initial viewpoint relative to the center of the panoramic spherical model;
and adjusting the sight line direction according to the offset direction so that the sight line direction is opposite to the offset direction.
7. The apparatus of claim 5, wherein the control module is specifically configured to:
acquiring a midpoint between the initial position and the center of the panoramic sphere model;
and taking the midpoint as a circle center, and controlling the initial viewpoint to circularly move to the center of the panoramic sphere model around the midpoint.
8. The apparatus as recited in claim 5, further comprising:
and the generation module is used for acquiring a panoramic image and mapping the panoramic image to the surface of the panoramic sphere model.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the panoramic picture display method of any one of claims 1-4.
10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the panoramic picture display method of any one of claims 1-4.
CN202010022316.6A 2020-01-09 2020-01-09 Panoramic picture display method, device and equipment Active CN113093901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010022316.6A CN113093901B (en) 2020-01-09 2020-01-09 Panoramic picture display method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010022316.6A CN113093901B (en) 2020-01-09 2020-01-09 Panoramic picture display method, device and equipment

Publications (2)

Publication Number Publication Date
CN113093901A CN113093901A (en) 2021-07-09
CN113093901B true CN113093901B (en) 2023-11-17

Family

ID=76663492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010022316.6A Active CN113093901B (en) 2020-01-09 2020-01-09 Panoramic picture display method, device and equipment

Country Status (1)

Country Link
CN (1) CN113093901B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014110037A (en) * 2012-12-04 2014-06-12 Nintendo Co Ltd Information processing program, display control device, display system and display method
CN106296815A (en) * 2015-06-24 2017-01-04 程昊 The structure of a kind of interactive three-dimensional digital city and display packing
CN107911737A (en) * 2017-11-28 2018-04-13 腾讯科技(深圳)有限公司 Methods of exhibiting, device, computing device and the storage medium of media content

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102519592B1 (en) * 2016-09-02 2023-04-10 삼성전자주식회사 Display apparatus and controlling method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014110037A (en) * 2012-12-04 2014-06-12 Nintendo Co Ltd Information processing program, display control device, display system and display method
CN106296815A (en) * 2015-06-24 2017-01-04 程昊 The structure of a kind of interactive three-dimensional digital city and display packing
CN107911737A (en) * 2017-11-28 2018-04-13 腾讯科技(深圳)有限公司 Methods of exhibiting, device, computing device and the storage medium of media content

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
月面近距离探测仿真***的实现与应用;张静;刘建军;高兴烨;陈铮;;天文研究与技术(04);全文 *

Also Published As

Publication number Publication date
CN113093901A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
KR102590841B1 (en) virtual object driving Method, apparatus, electronic device, and readable storage medium
CN111722245B (en) Positioning method, positioning device and electronic equipment
CN111860167B (en) Face fusion model acquisition method, face fusion model acquisition device and storage medium
CN113115023B (en) Panoramic scene switching method, device and equipment
CN112652016A (en) Point cloud prediction model generation method, pose estimation method and device
CN112101209B (en) Method and apparatus for determining world coordinate point cloud for roadside computing device
CN112150551A (en) Object pose acquisition method and device and electronic equipment
CN112230836B (en) Object moving method and device, storage medium and electronic device
KR102432561B1 (en) Edge-based three-dimensional tracking and registration method and apparatus for augmented reality, and electronic device
US20190259198A1 (en) Systems and methods for generating visual representations of a virtual object for display by user devices
CN111612852A (en) Method and apparatus for verifying camera parameters
CN111949816B (en) Positioning processing method, device, electronic equipment and storage medium
CN111858996B (en) Indoor positioning method and device, electronic equipment and storage medium
CN111275803B (en) 3D model rendering method, device, equipment and storage medium
CN110631603B (en) Vehicle navigation method and device
CN105282535A (en) 3D projection system and 3D projection method in 3D space environment
CN111915642B (en) Image sample generation method, device, equipment and readable storage medium
CN111369571B (en) Three-dimensional object pose accuracy judging method and device and electronic equipment
CN113052753B (en) Panoramic topological structure generation method, device and equipment and readable storage medium
CN113093901B (en) Panoramic picture display method, device and equipment
CN112530173A (en) Roadside sensing method and device, electronic equipment, storage medium and roadside equipment
CN111553972A (en) Method, apparatus, device and storage medium for rendering augmented reality data
CN113129456A (en) Vehicle three-dimensional model deformation method and device and electronic equipment
US20220321798A1 (en) Shooting method, apparatus, and electronic device
CN113727164B (en) Live broadcasting room entrance display method and device, electronic equipment and storage medium

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