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

Panoramic picture display method, device and equipment Download PDF

Info

Publication number
CN113093901A
CN113093901A CN202010022316.6A CN202010022316A CN113093901A CN 113093901 A CN113093901 A CN 113093901A CN 202010022316 A CN202010022316 A CN 202010022316A CN 113093901 A CN113093901 A CN 113093901A
Authority
CN
China
Prior art keywords
panoramic
display
initial viewpoint
initial
ball model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010022316.6A
Other languages
Chinese (zh)
Other versions
CN113093901B (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/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 panoramic picture display device and panoramic picture display equipment, which relate to the technical field of panorama, and the specific implementation scheme is as follows: acquiring an initial viewpoint and display parameters of the panoramic ball model, wherein the initial position of the initial viewpoint is located at the non-center of the panoramic ball model; and controlling the initial viewpoint to move from the initial position to the center of the panoramic ball model according to a preset motion track, determining a display picture in the motion process according to the real-time position and the display parameters of the initial viewpoint in the motion 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 method, a device and equipment for displaying a panorama picture.
Background
The panoramic display can be processed according to the live-action image, for example, a panoramic scene is displayed in a three-dimensional model mode, so that a user can preview the panoramic scene from any angle, and the panoramic display brings an experience of being personally on the scene to the user.
The present sphere panorama show, the panorama show mode is comparatively single, and the panorama bandwagon effect remains to be improved.
Disclosure of Invention
The present application 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 application is to provide a panorama display method, which can improve a panorama display effect by controlling an initial viewpoint to move from an initial position to a center of a panorama sphere model and displaying a display screen during the movement.
A second object of the present application is to provide a panoramic image display apparatus.
A third object of the present application is to provide 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 method for displaying a panoramic image, including:
acquiring an initial viewpoint and display parameters of a panoramic ball model, wherein the initial position of the initial viewpoint is located at the non-center of the panoramic ball model;
and controlling the initial viewpoint to move from the initial position to the center of the panoramic ball model according to a preset motion track, 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 addition, the panoramic picture display method according to the above-described embodiment of the present application may further have the following additional technical features:
optionally, the determining the display picture in the motion process according to the real-time position of the initial viewpoint and the display parameter includes: acquiring a sight line direction and a view angle corresponding to the real-time position of the initial viewpoint in the movement process; determining a target area in the panoramic ball model within the visual field range according to the real-time position of the initial viewpoint, the sight line direction corresponding to the real-time position and the visual field included angle; and mapping the target area to a far cutting plane corresponding to the initial viewpoint according to the sight line direction corresponding to the real-time position to generate the display picture.
Optionally, the acquiring the gaze 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 ball model; and adjusting the sight line direction according to the offset direction to enable the sight line direction to be opposite to the offset direction.
Optionally, the controlling the initial viewpoint to move from the initial position to the center of the panoramic ball model according to a preset motion trajectory includes: acquiring a midpoint between the initial position and the center of the panoramic ball model; and controlling the initial viewpoint to circularly move to the center of the panoramic ball model around the midpoint by taking the midpoint as a circle center.
Optionally, before obtaining the initial viewpoint and the display parameters of the panoramic ball model, the method further includes: and acquiring a panoramic image, and mapping the panoramic image to the surface of the panoramic ball model.
An embodiment of a second aspect of the present application provides a panoramic picture display apparatus, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring an initial viewpoint and display parameters of a panoramic ball model, and the initial position of the initial viewpoint is positioned at the non-center of the panoramic ball model;
the control module is used for controlling the initial viewpoint to move from the initial position to the center of the panoramic ball 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 parameters and displaying the display picture.
In addition, the panoramic picture 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 an included angle of field of view, and the display module includes: the acquisition unit is used for acquiring a sight line direction and a view 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 panoramic ball model within a visual field range according to the real-time position of the initial viewpoint, the sight direction corresponding to the real-time position and the visual field included angle; and the generating unit is used for mapping the target area to a far cutting plane corresponding to the initial viewpoint according to the sight direction corresponding to the real-time position, and generating the display picture.
Optionally, the obtaining 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 ball model; and adjusting the sight line direction according to the offset direction to enable the sight line direction to be 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 ball model; and controlling the initial viewpoint to circularly move to the center of the panoramic ball model around the midpoint by taking the midpoint as a circle center.
Optionally, the apparatus further comprises: and the generating module is used for acquiring a panoramic image and mapping the panoramic image to the surface of the panoramic ball model.
The embodiment of the third aspect of the present application provides an electronic device, which includes at least one processor, and a memory communicatively connected 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 according to the first aspect.
A fourth aspect of the present application provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the panoramic picture display method according to the first aspect.
One embodiment in the above application has the following advantages or benefits: the initial viewpoint and the display parameters of the panoramic ball model are obtained, wherein the initial position of the initial viewpoint is located at the non-center of the panoramic ball model. And then, controlling the initial viewpoint to move from the initial position to the center of the panoramic ball model according to a preset motion track, determining a display picture in the motion process according to the real-time position and the display parameters of the initial viewpoint in the motion process, and displaying the display picture. Therefore, the asteroid effect can be simulated, and when the panorama is entered, the panorama picture is cut in the posture that the asteroid flies to the ground, so that the panorama display effect is improved, and the user experience is improved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a schematic flowchart illustrating a panoramic image display method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another panoramic image display method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a panorama ball model provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a panoramic image display apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another panoramic picture display apparatus according to an embodiment of the present disclosure;
FIG. 6 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. 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 present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic flowchart of a panoramic image display method according to an embodiment of the present application, and as shown in fig. 1, the method includes:
step 101, obtaining an initial viewpoint and display parameters of a panoramic ball model, wherein an initial position of the initial viewpoint is located at a non-center of the panoramic ball model.
In this embodiment, when the spherical panorama is displayed through the panoramic ball model, the initial viewpoint and the display parameters of the panoramic ball model may be obtained, so that the user may preview the spherical panorama through the initial viewpoint and the display parameters.
The initial position of the initial viewpoint is located at a non-center of the panorama model, for example, the initial position may be located on an upper hemisphere of the panorama 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 a connection line between the center of the spherical model and the north pole of the spherical model, and the view direction is from the initial position to the south pole direction of the spherical model, and further, according to the initial position of the initial viewpoint, the view direction and the view angle, the display frame of the spherical panorama previewed by the user through the initial viewpoint at the initial position can be determined.
In one embodiment of the application, a panoramic ball model is established in advance, and a panoramic image is acquired. And then, the panoramic image is pasted on the surface of the panoramic ball model. For example, a spatial polar coordinate system is established according to a spherical model, a planar rectangular coordinate system is established according to a 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.
And 102, controlling the initial viewpoint to move from the initial position to the center of the panoramic ball model according to a preset motion track, determining a display picture in the motion process according to the real-time position and the display parameters of the initial viewpoint in the motion process, and displaying the display picture.
In this embodiment, when entering the panoramic view angle, the initial viewpoint is controlled to move from the initial position to the center of the panoramic ball model according to the preset motion trajectory, and the display picture in the moving process is displayed. And during the movement process, determining a display picture during the movement 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 a panoramic view is received, an initial viewpoint is controlled to move from an initial position to the center of a panoramic ball model according to a preset motion track, and a display picture in the motion process is displayed, so that the panoramic view is entered. And furthermore, after the initial viewpoint moves to the center of the panoramic ball model, the user can preview the spherical panoramic image through the initial viewpoint and the display parameters.
In an embodiment of the present application, controlling the initial viewpoint to move from the initial position to the center of the panorama sphere model according to the preset motion trajectory includes: and acquiring a midpoint between the initial position and the center of the panoramic ball model, taking the midpoint as a circle center, taking half of the distance between the initial position and the center of the panoramic ball model as a radius, and controlling the initial viewpoint to circularly move to the center of the panoramic ball model around the midpoint.
In an embodiment of the present application, controlling the initial viewpoint to move from the initial position to the center of the panorama sphere model according to the preset motion trajectory includes: and acquiring a connecting line between the initial position and the center of the panoramic ball 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 ball model according to the motion track of the ellipse.
It should be noted that, the implementation manner of controlling the initial viewpoint to move from the initial position to the center of the panorama model according to the preset motion trajectory is merely exemplary, and the specific motion trajectory may be set as needed, and is not limited herein.
Present sphere panorama show, the point of sight default setting is in order to experience the panorama in ball model center usually when getting into the panorama, and panorama show mode is comparatively single, is difficult to satisfy the user to the demand of panorama bandwagon effect.
According to the panoramic picture display method, the initial viewpoint and the display parameters of the panoramic ball model are obtained, wherein the initial position of the initial viewpoint is located at the non-center of the panoramic ball model. And then, controlling the initial viewpoint to move from the initial position to the center of the panoramic ball model according to a preset motion track, determining a display picture in the motion process according to the real-time position and the display parameters of the initial viewpoint in the motion process, and displaying the display picture. Therefore, the asteroid effect can be simulated, and when the panorama is entered, the panorama picture is cut in the posture that the asteroid flies to the ground, so that the panorama display effect is improved, and the user experience is improved.
Based on the above embodiment, the following describes controlling the initial viewpoint to move from the initial position to the center of the panorama sphere model according to the preset motion trajectory, and determining the display frame during the movement.
Fig. 2 is a schematic flowchart of another panoramic picture display method according to an embodiment of the present application, and as shown in fig. 2, the method includes:
step 201, a sight line direction and a view angle corresponding to the real-time position of the initial viewpoint in the motion process are obtained.
In this embodiment, the initial viewpoint moves from the initial position to the center of the panoramic ball model according to the preset movement track, wherein the real-time position of the initial viewpoint in the movement process is obtained, and then the corresponding sight line direction is determined according to the real-time position, and the view angle is preset, and the view angle can be specifically set as required, and the larger the view angle is, the larger the extrusion degree of the finally obtained intermediate image of the asteroid view is.
In one embodiment of the present application, acquiring a gaze direction corresponding to a real-time position of an initial viewpoint during a movement process includes: and acquiring the offset direction of the real-time position of the initial viewpoint relative to the center of the panoramic ball model, and adjusting the sight line direction according to the offset direction to ensure that the sight line direction is opposite to the offset direction.
As an example, the initial viewpoint moves circularly to the center of the panoramic spherical model, the initial position of the initial viewpoint is located on the connecting line of the center of the spherical model and the north pole of the spherical model, the offset direction is from the center of the spherical model to the north pole of the spherical model, and the sight line direction is from the initial position to the south pole of the spherical model. And in the process of the initial viewpoint movement, acquiring a deviation direction corresponding to the real-time position of the initial viewpoint, so that the sight line direction is always opposite to the deviation direction, and when the initial viewpoint moves to the center of the spherical model, the sight line direction faces the equator direction of the spherical model from the center of the spherical model.
And step 202, determining a target area in the view range in the panoramic ball model according to the real-time position of the initial viewpoint, the sight line direction corresponding to the real-time position and the view angle.
In this embodiment, the visual field range may be determined according to the real-time position of the initial viewpoint, the sight line direction, and the visual field angle, so as to determine a target region in the visual field range in the panoramic ball model. For example, a panoramic image is pasted to the surface of the panoramic ball model, in the process of movement, the visual field range is determined according to the real-time position of the initial viewpoint, the sight line direction corresponding to the real-time position and the preset visual field included angle, and the target area of the surface of the panoramic ball model in the visual field range is obtained, so that a display picture is further generated according to the target area.
And step 203, mapping the target area to a far cutting plane corresponding to the initial viewpoint according to the sight line direction corresponding to the real-time position, and generating a display picture.
In this embodiment, a tangent plane of the panoramic ball model may be made according to an intersection point of the sight line direction and the panoramic ball model, a far clipping plane corresponding to the initial viewpoint is generated, and then the far clipping plane is used as a projection plane, and an image of the target area is projected onto the projection plane, thereby generating a display screen.
As an example, taking the initial viewpoint at the initial position as an example, taking the initial viewpoint as a center to make a horizontal tangent plane, generating a near-cutting plane, and ensuring that the spherical model participates in projection transformation in the visual field. Referring to fig. 3, a shaded portion in the drawing is a panoramic spherical model, an initial position of an initial viewpoint is located on a hemisphere on the panoramic spherical model, a conical portion represents a visual field range, a south pole of the panoramic spherical model is taken as a center to be taken as a horizontal tangent plane, a far clipping plane is generated, and the far clipping plane is taken as a projection plane. And then, determining a target area of the panoramic ball model in the visual field range according to the initial position, the sight line direction and the visual field included angle, and projecting the target area to a projection plane in a perspective projection mode to generate a display picture.
According to the panoramic picture display method, the sight line direction and the view angle corresponding to the real-time position of the initial viewpoint in the motion process are obtained, the target area in the view range in the panoramic ball model is determined according to the real-time position of the initial viewpoint, the sight line direction and the view 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 line direction corresponding to the real-time position to generate the display picture. Therefore, the display picture is generated and displayed in the motion process, and the panoramic picture can be cut in the posture that the asteroid flies to the ground when the panorama visual angle is entered, so that the visual effect of panoramic display is improved, and the user experience is improved.
In order to implement the above embodiments, the present application also provides a panoramic image display apparatus.
Fig. 4 is a schematic structural diagram of a panoramic image display apparatus according to an embodiment of the present application, and as shown in fig. 4, the apparatus 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 display parameters of a panoramic ball model, where an initial position of the initial viewpoint is located at a non-center of the panoramic ball model.
And the control module 20 is configured to control the initial viewpoint to move from the initial position to the center of the panoramic ball model according to a preset motion trajectory.
And the display module 30 is configured to determine a display picture in the motion process according to the real-time position of the initial viewpoint and the display parameter, and display the display picture.
In addition to fig. 4, the panorama screen display apparatus shown in fig. 5 further includes: a module 40 is generated.
The generating module 40 is configured to obtain a panoramic image, and map the panoramic image to the surface of the panoramic ball model.
In one embodiment of the present application, the display parameters include a viewing direction and an included viewing angle, and the display module 30 includes: the acquisition unit 31 is configured to acquire a sight line direction and a view angle corresponding to the real-time position of the initial viewpoint in the movement process; a determining unit 32, configured to determine a target area in the field of view range in the panoramic ball model according to the real-time position of the initial viewpoint, and the sight direction and the field of view included angle corresponding to the real-time position; a generating unit 33, configured to map the target area to a far cropping plane corresponding to the initial viewpoint according to the gaze direction corresponding to the real-time position, and generate the display screen.
In an embodiment of the present application, the obtaining 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 ball model; and adjusting the sight line direction according to the offset direction to enable the sight line direction to be opposite to the offset direction.
In an 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 ball model; and controlling the initial viewpoint to circularly move to the center of the panoramic ball model around the midpoint by taking the midpoint as a circle center.
The explanation of the panoramic picture display method in the foregoing embodiment is also applicable to the panoramic picture display apparatus in this embodiment, and will not be described herein again.
The panoramic picture display device of the embodiment of the application obtains the initial viewpoint and the display parameters of the panoramic ball model, wherein the initial position of the initial viewpoint is located at the non-center of the panoramic ball model. And then, controlling the initial viewpoint to move from the initial position to the center of the panoramic ball model according to a preset motion track, determining a display picture in the motion process according to the real-time position and the display parameters of the initial viewpoint in the motion process, and displaying the display picture. Therefore, when entering a panoramic view angle, the user can cut in a panoramic picture 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, wherein instructions of the computer program product, when executed by a processor, implement the panoramic picture display method according to any of the foregoing embodiments.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 6, is a block diagram of an electronic device according to the panoramic picture display method of the 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 phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. 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 for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the panoramic picture display method provided herein. A 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, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the panorama screen display method in the embodiment of the present application (for example, the obtaining module 10, the control module 20, and the presentation module 30 shown in fig. 4). The processor 601 executes various functional applications of the server and data processing, i.e., implements the panorama screen display method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, 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, the memory 602 optionally includes memory located remotely from the 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 picture display method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
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 apparatus, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. 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 can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. 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 a pointing device (e.g., a mouse or a 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 can 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, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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 clients and servers. A client and server are generally 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 understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A panoramic picture display method, comprising:
acquiring an initial viewpoint and display parameters of a panoramic ball model, wherein the initial position of the initial viewpoint is located at the non-center of the panoramic ball model;
and controlling the initial viewpoint to move from the initial position to the center of the panoramic ball model according to a preset motion track, 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.
2. The method of claim 1, wherein the display parameters comprise a line of sight direction and an angle of view, and the determining the display during the movement according to the real-time position of the initial viewpoint and the display parameters comprises:
acquiring a sight line direction and a view angle corresponding to the real-time position of the initial viewpoint in the movement process;
determining a target area in the panoramic ball model within the visual field range according to the real-time position of the initial viewpoint, the sight line direction corresponding to the real-time position and the visual field included angle;
and mapping the target area to a far cutting plane corresponding to the initial viewpoint according to the sight line direction corresponding to the real-time position to generate the display picture.
3. The method of claim 2, wherein obtaining a gaze direction corresponding to a real-time location 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 ball model;
and adjusting the sight line direction according to the offset direction to enable the sight line direction to be opposite to the offset direction.
4. The method of claim 1, wherein the controlling the initial viewpoint to move from the initial position to the center of the panorama sphere model according to a preset motion trajectory comprises:
acquiring a midpoint between the initial position and the center of the panoramic ball model;
and controlling the initial viewpoint to circularly move to the center of the panoramic ball model around the midpoint by taking the midpoint as a circle center.
5. The method of claim 1, prior to obtaining the initial viewpoint and display parameters of the panoramic ball model, further comprising:
and acquiring a panoramic image, and mapping the panoramic image to the surface of the panoramic ball model.
6. A panoramic image display device, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring an initial viewpoint and display parameters of a panoramic ball model, and the initial position of the initial viewpoint is positioned at the non-center of the panoramic ball model;
the control module is used for controlling the initial viewpoint to move from the initial position to the center of the panoramic ball 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 parameters and displaying the display picture.
7. The apparatus of claim 6, wherein the display parameters include a line of sight direction and an angle of field of view, the display module comprising:
the acquisition unit is used for acquiring a sight line direction and a view 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 panoramic ball model within a visual field range according to the real-time position of the initial viewpoint, the sight direction corresponding to the real-time position and the visual field included angle;
and the generating unit is used for mapping the target area to a far cutting plane corresponding to the initial viewpoint according to the sight direction corresponding to the real-time position, and generating the display picture.
8. The apparatus of claim 7, wherein the obtaining 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 ball model;
and adjusting the sight line direction according to the offset direction to enable the sight line direction to be opposite to the offset direction.
9. The apparatus of claim 6, wherein the control module is specifically configured to:
acquiring a midpoint between the initial position and the center of the panoramic ball model;
and controlling the initial viewpoint to circularly move to the center of the panoramic ball model around the midpoint by taking the midpoint as a circle center.
10. The apparatus of claim 6, further comprising:
and the generating module is used for acquiring a panoramic image and mapping the panoramic image to the surface of the panoramic ball model.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
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 of claims 1-5.
12. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the panoramic picture display method according to any one of claims 1 to 5.
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 true CN113093901A (en) 2021-07-09
CN113093901B 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 (4)

* 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
US20180068639A1 (en) * 2016-09-02 2018-03-08 Samsung Electronics Co., Ltd. Display apparatus and controlling method thereof
CN107911737A (en) * 2017-11-28 2018-04-13 腾讯科技(深圳)有限公司 Methods of exhibiting, device, computing device and the storage medium of media content

Patent Citations (4)

* 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
US20180068639A1 (en) * 2016-09-02 2018-03-08 Samsung Electronics Co., Ltd. Display apparatus and controlling method thereof
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
张静;刘建军;高兴烨;陈铮;: "月面近距离探测仿真系统的实现与应用", 天文研究与技术, no. 04 *

Also Published As

Publication number Publication date
CN113093901B (en) 2023-11-17

Similar Documents

Publication Publication Date Title
CN111722245B (en) Positioning method, positioning device and electronic equipment
CN113115023B (en) Panoramic scene switching method, device and equipment
CN109613984B (en) Method, device and system for processing video images in VR live broadcast
CN112652016A (en) Point cloud prediction model generation method, pose estimation method and device
US20190130599A1 (en) Systems and methods for determining when to provide eye contact from an avatar to a user viewing a virtual environment
CN111860167A (en) Face fusion model acquisition and face fusion method, device and storage medium
US20190259198A1 (en) Systems and methods for generating visual representations of a virtual object for display by user devices
CN112101209B (en) Method and apparatus for determining world coordinate point cloud for roadside computing device
CN111294665A (en) Video generation method and device, electronic equipment and readable storage medium
CN111079079B (en) Data correction method, device, electronic equipment and computer readable storage medium
CN111612852A (en) Method and apparatus for verifying camera parameters
US11449196B2 (en) Menu processing method, device and storage medium in virtual scene
CN115482325B (en) Picture rendering method, device, system, equipment and medium
CN110631603B (en) Vehicle navigation method and device
CN111275803A (en) 3D model rendering method, device, equipment and storage medium
CN111915642B (en) Image sample generation method, device, equipment and readable storage medium
CN105282535A (en) 3D projection system and 3D projection method in 3D space environment
CN111553972A (en) Method, apparatus, device and storage medium for rendering augmented reality data
CN111949816A (en) Positioning processing method and device, electronic equipment and storage medium
CN113093901B (en) Panoramic picture display method, device and equipment
CN112738404B (en) Electronic equipment control method and electronic equipment
CN115494951A (en) Interaction method and device and display equipment
CN113727164B (en) Live broadcasting room entrance display method and device, electronic equipment and storage medium
CN111462072B (en) Point cloud picture quality detection method and device and electronic equipment
CN113052753A (en) Panoramic topological structure generation method, device, equipment and readable 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