CN114357348A - Display method and device and electronic equipment - Google Patents
Display method and device and electronic equipment Download PDFInfo
- Publication number
- CN114357348A CN114357348A CN202111647296.2A CN202111647296A CN114357348A CN 114357348 A CN114357348 A CN 114357348A CN 202111647296 A CN202111647296 A CN 202111647296A CN 114357348 A CN114357348 A CN 114357348A
- Authority
- CN
- China
- Prior art keywords
- position information
- point
- roaming
- dimensional
- source 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the disclosure discloses a display method and device and electronic equipment. One embodiment of the method comprises: determining acquisition point position information of an image acquisition point in a three-dimensional room source model, and determining floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model; determining the position information of a roaming point corresponding to the image acquisition point in the three-dimensional house source model according to the acquisition point position information and the floor position information; and when the three-dimensional panoramic image corresponding to the three-dimensional house source model is obtained, displaying a roaming point control at the position indicated by the roaming point position information. Thus, a new display mode is provided.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a display method and apparatus, and an electronic device.
Background
With the development of computers, users can implement various functions using electronic devices. For example, the user may search for the house source through the electronic device and browse the house source situation at the terminal device.
In some scenes, a vivid picture is rendered based on the three-dimensional house source model, so that the scene of viewing the house source in the field can be simulated, and a user can view the house source condition without going out.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, an embodiment of the present disclosure provides a display method, including: determining acquisition point position information of an image acquisition point in a three-dimensional room source model, and determining floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model; determining the position information of a roaming point corresponding to the image acquisition point in the three-dimensional house source model according to the acquisition point position information and the floor position information; and when the three-dimensional panoramic image corresponding to the three-dimensional house source model is obtained, displaying a roaming point control at the position indicated by the roaming point position information.
In a second aspect, an embodiment of the present disclosure provides a display device, including: the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for determining the position information of an image acquisition point in an acquisition point of a three-dimensional room source model and determining the floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model; the second determining unit is used for determining the position information of the roaming point corresponding to the image acquisition point in the three-dimensional house source model according to the acquisition point position information and the floor position information; and the display unit is used for displaying the control of the roaming point at the position indicated by the position information of the roaming point when the three-dimensional panoramic image corresponding to the three-dimensional house source model is obtained.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the display method according to the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the display method according to the first aspect.
According to the display method, the display device and the electronic equipment provided by the embodiment of the disclosure, the acquisition point position information of an image acquisition point in a three-dimensional house source model can be determined, and the floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional house source model can be determined; then, according to the acquisition point position information and the floor position information, determining roaming point position information of a roaming point corresponding to the image acquisition point in the three-dimensional house source model; through the method, the determined position information of the roaming point is accurate, and when the three-dimensional panoramic image corresponding to the three-dimensional house source model is obtained, the control of the roaming point is displayed at the position indicated by the position information of the roaming point, so that the displayed control of the roaming point can be attached to the floor image instead of being separated from the floor, and the objective cognition of human beings on the roaming point is met.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow diagram of one embodiment of a display method according to the present disclosure;
FIG. 2 is a schematic diagram of one application scenario of a display method according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of a display method according to the present disclosure;
FIG. 4 is a flow chart of another embodiment of a display method according to the present disclosure;
FIG. 5 is a schematic structural diagram of one embodiment of a display device according to the present disclosure;
FIG. 6 is an exemplary system architecture to which the display method of one embodiment of the present disclosure may be applied;
fig. 7 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Referring to fig. 1, a flow of one embodiment of a display method according to the present disclosure is shown. The display method as shown in fig. 1 includes the steps of:
In this embodiment, an execution subject (for example, a server and/or a terminal device) of the display method may determine acquisition point position information of an image acquisition point in a three-dimensional room source model, and determine floor position information of a room floor of a room in which the image acquisition point is located in the three-dimensional room source model.
In some scenarios, a worker may go to a room source site to take a picture in the field, and in each room of the room source, one or more image acquisition points may be set, that is, room source images are acquired at one or more positions (room source acquisition points), and a three-dimensional room source model is built according to the acquired room source images.
Based on the three-dimensional room source model, Virtual Reality (VR) panoramic Virtual roaming can be realized. So-called virtual roaming, i.e. roaming in virtual reality. The specific implementation mode is that the virtual reality panorama is taken as a main body, various media such as pictures, videos, audios and characters are selectively added, and various scenes including house sources or scenic spots are integrally and comprehensively displayed, so that a viewer can not only obtain integral knowledge, but also can go deep into one scene and one detail to browse and watch.
In a related implementation scene of virtual roaming of the VR panorama, roaming point controls of other VR panoramas can be added in the VR panoramas or maps, the roaming point controls can be in the form of arrows or footprints, and when a browser clicks the roaming point controls of other VR panoramas, the browser can switch to other three-dimensional panoramas to browse.
It will be appreciated that one or more of the source image capture points may be included in the source. The image acquisition point in this embodiment may be any image acquisition point in the house source, that is, any image acquisition point in the house source may be processed by the method of this embodiment.
In this embodiment, the image capture point of the house source site may be position information in the real house source space. The acquisition point position information can indicate the position corresponding to the image acquisition point in the three-dimensional house source model and the position in the virtual space.
In this embodiment, the floor of the room where the image capturing point is located may be an actual floor of a room source site, that is, an object in a real room source control. And the floor position information can indicate the position in the three-dimensional house source model, namely the floor position in the virtual space.
It will be appreciated that the floor in a room may or may not be a plane. For example, a room may have steps and thus floors, which may form a plane or planes.
And 102, determining the roaming point position information of the roaming point corresponding to the image acquisition point in the three-dimensional house source model according to the acquisition point position information and the floor position information.
In this embodiment, the execution main body may determine roaming point position information of a roaming point corresponding to the image acquisition point in the house source model according to the acquisition point position information and the floor position information.
In this embodiment, the roaming point position information may indicate a roaming point position, and the roaming point position may display a roaming point. When a user watches the house source image in the virtual reality panoramic roaming scene, the displayed virtual scene can simulate the user to watch the house source scene at the real position corresponding to the roaming point.
As an example, an intersection of the acquisition point and the roaming point may be determined as the roaming point.
And 103, displaying a roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model is obtained.
In this embodiment, when a three-dimensional panoramic image corresponding to the three-dimensional room source model is displayed, that is, when virtual reality panoramic roaming is performed, the roaming point control may be displayed at a position (that is, a roaming point) indicated by the roaming point position information.
Here, the waypoint controls may include various forms of information, such as text, e.g., images. If the waypoint controls include images, the specific styles for the images may also be varied, such as arrows, footprint images, circular images, and the like.
It should be noted that, in the display method provided in this embodiment, first, the acquisition point position information of the image acquisition point in the three-dimensional room source model is determined, and the floor position information of the floor of the room in which the image acquisition point is located in the three-dimensional room source model is determined; then, according to the acquisition point position information and the floor position information, determining roaming point position information of a roaming point corresponding to the image acquisition point in the three-dimensional house source model; through the method, the determined position information of the roaming point is accurate, and when the three-dimensional panoramic image corresponding to the three-dimensional house source model is obtained, the control of the roaming point is displayed at the position indicated by the position information of the roaming point, so that the displayed control of the roaming point can be attached to the floor image instead of being separated from the floor, and the objective cognition of human beings on the roaming point is met.
In contrast, if a roaming point location is determined based on the room height of the house source, it may result in the roaming point control being suspended in half-air or embedded in the floor. Specifically, in general, for each floor of each house source, an overall room height is determined. In real life, however, the room heights of the individual rooms in a floor may differ, for example, the room heights of a bathroom and a living room may differ; and a single room may also have multiple room heights, e.g., with steps in the room, dividing the room into two planes. Therefore, for the case of inconsistent room heights, if the floor position is calculated algebraically based on the room height to determine the roaming point position, some roaming point positions in the house source may not be on the floor, and the displayed roaming point control element may be suspended in mid-air or embedded in the floor accordingly.
In some embodiments, the step 102 may include: generating a target perpendicular line; and acquiring intersection point position information of the intersection point of the target perpendicular line and the virtual floor plane as the roaming point position information.
Here, the target perpendicular line passes through a virtual acquisition point indicated by the acquisition position information and is perpendicular to a virtual floor plane indicated by the floor position information. It is understood that the target perpendicular to the plane is perpendicular to the plane, and may mean that any straight line in the plane is perpendicular to the target perpendicular.
As an example, a perpendicular line may be drawn to the virtual floor plane from the virtual collection point. Thereby, the target perpendicular line can be obtained.
Referring to fig. 2, fig. 2 illustrates a scenario of generating a target vertical line and determining roaming point location information.
In fig. 2, a virtual pick-up point 201, a target perpendicular 202 and a virtual floor plane 203 are illustrated. The target vertical line may be perpendicular to the virtual floor screen 203 and pass through the virtual collection point 201.
It should be noted that the intersection point of the target perpendicular line and the virtual floor plane can accurately reflect the position of the floor at the virtual acquisition point, and the situation that the roaming point control element is not accurately positioned due to the fact that multiple planes exist in a room or the heights of the rooms are different is avoided. Therefore, the indication position of the roaming point can be quickly and accurately determined according to the actual situation of the floor of the room at the image acquisition point.
In some embodiments, prior to step 101, the method further comprises: and the server loads the three-dimensional room source model.
Here, the server may be the execution main body or other electronic device.
Here, the three-dimensional room source model may be loaded at the server, and then the above steps 101 and 102 are performed, and step 103 is performed. In other words, the three-dimensional house source model can be used for calculation to determine the position information of the roaming point without displaying the three-dimensional panoramic image corresponding to the three-dimensional house source model. Therefore, timely display of the roaming point control can be achieved.
In contrast, if a three-dimensional house source model is loaded by a browser, a corresponding three-dimensional panoramic image is displayed, and then the position information of the roaming point is determined, the position information of the roaming point may not be displayed in time.
In some embodiments, the server loads a three-dimensional room source model, which may include: aiming at an interface of a browser called by a webpage graphic library, establishing a corresponding server-side interface; modifying an interface used for calling a browser in the webpage graphic library into the interface for calling the server; and running the modified webpage graphic library at the server side, and loading the three-dimensional house source model.
In some scenarios, the web page graphics library may invoke some functionality in the browser, enabling rendering of high-performance interactive 3D and 2D graphics. And the interface used for calling the browser in the webpage graphic library is modified to be the interface for calling the server, and the server correspondingly establishes the functions required by the webpage graphic library, so that the webpage graphic library can run at the server, and the three-dimensional house source model can be loaded by using the modified webpage graphic library at the server.
Here, the Web page graphics library (WebGL or Web graphics library) is a JavaScript API that can render high-performance interactive 3D and 2D graphics in a compatible Web browser without using a plug-in.
Therefore, the dependence of the WebGL on the browser can be stripped, and the WebGL can be used for rendering on the server side. The modified WebGL enables the browser-only loaded model to be loaded at a server side (without the browser), and the loading is carried out in a three-dimensional space.
In some embodiments, the displaying a roaming point control at a position indicated by the roaming point position information when the three-dimensional panoramic image corresponds to the three-dimensional room source model includes: and displaying the control of the roaming point by taking the position indicated by the position information of the roaming point as the center of the control of the roaming point.
The interface area occupied by the waypoint controls may be of various shapes. The center of the occupied interface area may be located at the position indicated by the roaming point position information.
Therefore, the roaming point controls can be uniformly distributed at the positions of the roaming points as much as possible, so that the roaming point controls can accurately indicate the image acquisition points, and a user triggers the roaming point controls to indicate the three-dimensional panoramic image which is consistent with the image seen at the image acquisition points as much as possible.
In some embodiments, the waypoint controls comprise circular controls or elliptical controls. The circular or oval roaming point is similar to the shape of the finger belly click when the terminal is operated by a human, so that the triggering operation of the user can be received to the maximum extent, and the operation efficiency of the user is improved.
In some embodiments, the displaying the roaming point control with the position indicated by the roaming point position information as the center of the roaming point control includes: and displaying a circular control or an elliptical control in the roaming point control by taking the position indicated by the roaming point position information as a circle center.
FIG. 3 illustrates an exemplary scenario of a roam point control.
In FIG. 3, waypoint controls 301 may include elliptical controls centered about the intersection of the target perpendicular 202 and the virtual floor plane 203.
In some embodiments, the method further comprises: and responding to the detected trigger operation aiming at the roaming point control, and displaying the house source image corresponding to the roaming point control.
In some scenarios, the screen may display a three-dimensional panoramic image corresponding to room a, and the user may click on a roam point control, such as roam point control 301 shown in fig. 3, where roam point control 301 may indicate a three-dimensional panoramic image of room b. The screen may then switch to the three-dimensional panoramic image of room b for display.
Therefore, the user can conveniently operate according to the indication of the roaming point control, and the speed of browsing the three-dimensional panoramic image corresponding to the house source is improved.
Referring to fig. 4, fig. 4 shows another embodiment of a display method according to the present application. The embodiment shown in fig. 4 may comprise step 401, step 402, step 403 and step 404.
Here, the server may be the execution main body or other electronic device.
Here, the three-dimensional room source model may be loaded at the server, and then the above steps 101 and 102 are performed, and step 103 is performed. In other words, the three-dimensional house source model can be used for calculation to determine the position information of the roaming point without displaying the three-dimensional panoramic image corresponding to the three-dimensional house source model. Therefore, timely display of the roaming point control can be achieved.
In contrast, if a three-dimensional house source model is loaded by a browser, a corresponding three-dimensional panoramic image is displayed, and then the position information of the roaming point is determined, the position information of the roaming point may not be displayed in time.
In this embodiment, the server may determine acquisition point position information of an image acquisition point in the three-dimensional room source model, and determine floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model.
In this embodiment, the server may determine roaming point position information of a roaming point corresponding to the image acquisition point in the house source model according to the acquisition point position information and the floor position information.
In this embodiment, the roaming point position information may indicate a roaming point position, and the roaming point position may display a roaming point. When a user watches the house source image in the virtual reality panoramic roaming scene, the displayed virtual scene can simulate the user to watch the house source scene at the real position corresponding to the roaming point.
As an example, an intersection of the acquisition point and the roaming point may be determined as the roaming point.
And 404, displaying a roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model is obtained.
In this embodiment, the terminal device may display the roaming point control at a position (i.e., a roaming point) indicated by the roaming point position information when displaying the three-dimensional panoramic image corresponding to the three-dimensional room source model, i.e., when performing virtual reality panoramic roaming.
Here, the waypoint controls may include various forms of information, such as text, e.g., images. If the waypoint controls include images, the specific styles for the images may also be varied, such as arrows, footprint images, circular images, and the like.
Here, details of implementation and technical effects of each step corresponding to fig. 4 may refer to related descriptions of other parts of the present application, and are not described herein again.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a display device, which corresponds to the embodiment of the method shown in fig. 1, and which is particularly applicable in various electronic devices.
As shown in fig. 5, the display device of the present embodiment includes: a first determination unit 501, a second determination unit 502, and a display unit 503. The system comprises a first determining unit, a second determining unit and a control unit, wherein the first determining unit is used for determining acquisition point position information of an image acquisition point in a three-dimensional room source model and determining floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model; the second determining unit is used for determining the position information of the roaming point corresponding to the image acquisition point in the three-dimensional house source model according to the acquisition point position information and the floor position information; and the display unit is used for displaying the control of the roaming point at the position indicated by the position information of the roaming point when the three-dimensional panoramic image corresponding to the three-dimensional house source model is obtained.
In this embodiment, specific processing of the first determining unit 501, the second determining unit 502, and the display unit 503 of the display device and technical effects thereof can refer to related descriptions of step 101, step 102, and step 103 in the corresponding embodiment of fig. 1, which are not described herein again.
In some embodiments, the determining, according to the acquisition point location information and the floor location information, roaming point location information of a roaming point corresponding to the image acquisition point in the three-dimensional house source model includes: generating a target perpendicular line; acquiring intersection point position information of an intersection point of the target perpendicular line and a virtual floor plane as the roaming point position information; the target perpendicular line passes through the virtual acquisition point indicated by the acquisition position information and is perpendicular to the virtual floor plane indicated by the floor position information.
In some embodiments, the apparatus is further configured to: and the server loads the three-dimensional room source model.
In some embodiments, the server loads a three-dimensional room source model, including: aiming at an interface of a browser called by a webpage graphic library, establishing a corresponding server-side interface; modifying an interface used for calling a browser in the webpage graphic library into the interface for calling the server; and running the modified webpage graphic library at the server side, and loading the three-dimensional house source model.
In some embodiments, the displaying a roaming point control at a position indicated by the roaming point position information when the three-dimensional panoramic image corresponds to the three-dimensional room source model includes: and displaying the control of the roaming point by taking the position indicated by the position information of the roaming point as the center of the control of the roaming point.
In some embodiments, the waypoint controls comprise circular controls or elliptical controls; and the position indicated by the roaming point position information is used as the center of a roaming point control, and the displaying of the roaming point control comprises the following steps: and displaying a circular control or an elliptical control in the roaming point control by taking the position indicated by the roaming point position information as a circle center.
In some embodiments, the apparatus is further configured to: and responding to the detected trigger operation aiming at the roaming point control, and displaying the house source image corresponding to the roaming point control.
Referring to fig. 6, fig. 6 illustrates an exemplary system architecture to which the display method of one embodiment of the present disclosure may be applied.
As shown in fig. 6, the system architecture may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 601, 602, 603 may interact with the server 605 via the network 604 to receive or send messages or the like. The terminal devices 601, 602, 603 may have various client applications installed thereon, such as a web browser application, a search-type application, and a news-information-type application. The client application in the terminal device 601, 602, 603 may receive the instruction of the user, and complete the corresponding function according to the instruction of the user, for example, add the corresponding information in the information according to the instruction of the user.
The terminal devices 601, 602, 603 may be hardware or software. When the terminal devices 601, 602, 603 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal device 601, 602, 603 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 605 may be a server providing various services, for example, receiving an information acquisition request sent by the terminal devices 601, 602, and 603, and acquiring the presentation information corresponding to the information acquisition request in various ways according to the information acquisition request. And the relevant data of the presentation information is sent to the terminal devices 601, 602, 603.
It should be noted that the display method provided by the embodiment of the present disclosure may be executed by a terminal device, and accordingly, the display apparatus may be disposed in the terminal device 601, 602, 603. In addition, the display method provided by the embodiment of the present disclosure may also be executed by the server 605, and accordingly, the display apparatus may be disposed in the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 7, shown is a schematic diagram of an electronic device (e.g., a terminal device or a server of fig. 6) suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, the electronic device may include a processing device (e.g., central processing unit, graphics processor, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage device 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining acquisition point position information of an image acquisition point in a three-dimensional room source model, and determining floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model; determining the position information of a roaming point corresponding to the image acquisition point in the three-dimensional house source model according to the acquisition point position information and the floor position information; and when the three-dimensional panoramic image corresponding to the three-dimensional house source model is obtained, displaying a roaming point control at the position indicated by the roaming point position information.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a cell does not in some cases constitute a limitation of the cell itself, for example, a selection cell may also be described as a "cell selecting a first type of pixel".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims (10)
1. A display method, comprising:
determining acquisition point position information of an image acquisition point in a three-dimensional room source model, and determining floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model;
determining the position information of a roaming point corresponding to the image acquisition point in the three-dimensional house source model according to the acquisition point position information and the floor position information;
and when the three-dimensional panoramic image corresponding to the three-dimensional house source model is obtained, displaying a roaming point control at the position indicated by the roaming point position information.
2. The method according to claim 1, wherein the determining the roaming point position information of the roaming point corresponding to the image acquisition point in the three-dimensional house source model according to the acquisition point position information and the floor position information comprises:
generating a target perpendicular line;
acquiring intersection point position information of an intersection point of the target perpendicular line and a virtual floor plane as the roaming point position information;
the target perpendicular line passes through the virtual acquisition point indicated by the acquisition position information and is perpendicular to the virtual floor plane indicated by the floor position information.
3. The method according to claim 1, wherein before determining the acquisition point position information of the image acquisition point in the three-dimensional house source model and determining the floor position information of the floor of the room where the image acquisition point is located in the three-dimensional house source model, the method further comprises:
and the server loads the three-dimensional room source model.
4. The method of claim 3, wherein the server loads the three-dimensional room source model, comprising:
aiming at an interface of a browser called by a webpage graphic library, establishing a corresponding server-side interface;
modifying an interface used for calling a browser in the webpage graphic library into the interface for calling the server;
and running the modified webpage graphic library at the server side, and loading the three-dimensional house source model.
5. The method according to claim 1, wherein displaying a roaming point control at a position indicated by the roaming point position information when the three-dimensional panoramic image corresponds to the three-dimensional house source model comprises:
and displaying the control of the roaming point by taking the position indicated by the position information of the roaming point as the center of the control of the roaming point.
6. The method of claim 5, wherein the waypoint controls comprise a circular control or an elliptical control; and
the displaying of the roaming point control by using the position indicated by the roaming point position information as the center of the roaming point control comprises:
and displaying a circular control or an elliptical control in the roaming point control by taking the position indicated by the roaming point position information as a circle center.
7. The method according to any one of claims 1-6, further comprising:
and responding to the detected trigger operation aiming at the roaming point control, and displaying the house source image corresponding to the roaming point control.
8. A display device, comprising:
the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for determining the position information of an image acquisition point in an acquisition point of a three-dimensional room source model and determining the floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model;
the second determining unit is used for determining the position information of the roaming point corresponding to the image acquisition point in the three-dimensional house source model according to the acquisition point position information and the floor position information;
and the display unit is used for displaying the control of the roaming point at the position indicated by the position information of the roaming point when the three-dimensional panoramic image corresponding to the three-dimensional house source model is obtained.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111647296.2A CN114357348B (en) | 2021-12-29 | 2021-12-29 | Display method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111647296.2A CN114357348B (en) | 2021-12-29 | 2021-12-29 | Display method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114357348A true CN114357348A (en) | 2022-04-15 |
CN114357348B CN114357348B (en) | 2023-05-09 |
Family
ID=81103972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111647296.2A Active CN114357348B (en) | 2021-12-29 | 2021-12-29 | Display method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114357348B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108257219A (en) * | 2018-01-31 | 2018-07-06 | 广东三维家信息科技有限公司 | A kind of method for realizing the roaming of panorama multiple spot |
US20200008169A1 (en) * | 2018-06-29 | 2020-01-02 | Cisco Technology, Inc. | Access point proximity graphing |
CN111597466A (en) * | 2020-04-30 | 2020-08-28 | 北京字节跳动网络技术有限公司 | Display method and device and electronic equipment |
CN111597414A (en) * | 2020-04-30 | 2020-08-28 | 北京字节跳动网络技术有限公司 | Display method and device and electronic equipment |
CN112596836A (en) * | 2020-12-23 | 2021-04-02 | 北京城市网邻信息技术有限公司 | House source data processing method and device |
CN113178015A (en) * | 2021-03-26 | 2021-07-27 | 瑞庭网络技术(上海)有限公司 | House source interaction method and device, electronic equipment and storage medium |
WO2021249390A1 (en) * | 2020-06-12 | 2021-12-16 | 贝壳技术有限公司 | Method and apparatus for implementing augmented reality, storage medium, and electronic device |
-
2021
- 2021-12-29 CN CN202111647296.2A patent/CN114357348B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108257219A (en) * | 2018-01-31 | 2018-07-06 | 广东三维家信息科技有限公司 | A kind of method for realizing the roaming of panorama multiple spot |
US20200008169A1 (en) * | 2018-06-29 | 2020-01-02 | Cisco Technology, Inc. | Access point proximity graphing |
CN111597466A (en) * | 2020-04-30 | 2020-08-28 | 北京字节跳动网络技术有限公司 | Display method and device and electronic equipment |
CN111597414A (en) * | 2020-04-30 | 2020-08-28 | 北京字节跳动网络技术有限公司 | Display method and device and electronic equipment |
WO2021249390A1 (en) * | 2020-06-12 | 2021-12-16 | 贝壳技术有限公司 | Method and apparatus for implementing augmented reality, storage medium, and electronic device |
CN112596836A (en) * | 2020-12-23 | 2021-04-02 | 北京城市网邻信息技术有限公司 | House source data processing method and device |
CN113178015A (en) * | 2021-03-26 | 2021-07-27 | 瑞庭网络技术(上海)有限公司 | House source interaction method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114357348B (en) | 2023-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230360337A1 (en) | Virtual image displaying method and apparatus, electronic device and storage medium | |
CN112488783B (en) | Image acquisition method and device and electronic equipment | |
CN111597466A (en) | Display method and device and electronic equipment | |
CN111652675A (en) | Display method and device and electronic equipment | |
CN111710017A (en) | Display method and device and electronic equipment | |
CN114598824A (en) | Method, device and equipment for generating special effect video and storage medium | |
CN112988032B (en) | Control display method and device and electronic equipment | |
CN114417782A (en) | Display method and device and electronic equipment | |
CN112423142B (en) | Image processing method, device, electronic equipment and computer readable medium | |
CN111586295B (en) | Image generation method and device and electronic equipment | |
CN111833459B (en) | Image processing method and device, electronic equipment and storage medium | |
CN111818265B (en) | Interaction method and device based on augmented reality model, electronic equipment and medium | |
CN113628097A (en) | Image special effect configuration method, image recognition method, image special effect configuration device and electronic equipment | |
CN111710046A (en) | Interaction method and device and electronic equipment | |
CN111597414B (en) | Display method and device and electronic equipment | |
CN114529452A (en) | Method and device for displaying image and electronic equipment | |
CN114357348B (en) | Display method and device and electronic equipment | |
CN113730905A (en) | Method and device for realizing free migration in virtual space | |
CN114332224A (en) | Method, device and equipment for generating 3D target detection sample and storage medium | |
CN114419298A (en) | Virtual object generation method, device, equipment and storage medium | |
CN111696214A (en) | House display method and device and electronic equipment | |
CN111460334A (en) | Information display method and device and electronic equipment | |
CN114417204A (en) | Information generation method and device and electronic equipment | |
CN111835917A (en) | Method, device and equipment for showing activity range and computer readable medium | |
CN112348748B (en) | Image special effect processing method, device, electronic equipment and computer 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 |