CN109859328B - Scene switching method, device, equipment and medium - Google Patents

Scene switching method, device, equipment and medium Download PDF

Info

Publication number
CN109859328B
CN109859328B CN201711242167.9A CN201711242167A CN109859328B CN 109859328 B CN109859328 B CN 109859328B CN 201711242167 A CN201711242167 A CN 201711242167A CN 109859328 B CN109859328 B CN 109859328B
Authority
CN
China
Prior art keywords
picture
scene
switching
blurred
blurred picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711242167.9A
Other languages
Chinese (zh)
Other versions
CN109859328A (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 CN201711242167.9A priority Critical patent/CN109859328B/en
Publication of CN109859328A publication Critical patent/CN109859328A/en
Application granted granted Critical
Publication of CN109859328B publication Critical patent/CN109859328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a scene switching method, a device, equipment and a medium, and relates to the field of application of virtual reality technology. The method comprises the following steps: responding to a scene switching event, and performing fuzzy operation of a set fuzzy algorithm on the current scene picture to generate a first fuzzy picture; performing fuzzy operation of the set fuzzy algorithm on the target scene picture to generate a second fuzzy picture; and based on the switching display of the first blurred picture and the second blurred picture, switching between the current scene and the target scene is realized. The embodiment of the invention provides a scene switching method, device, equipment and medium, which are used for realizing natural and smooth switching from a current scene to a target scene.

Description

Scene switching method, device, equipment and medium
Technical Field
The embodiment of the invention relates to the field of application of virtual reality technology, in particular to a scene switching method, device, equipment and medium.
Background
Panoramic, also called 3D live action, is to use live action photos, and synthesize viewpoint images through special stitching and processing, so that people stand in the drawing. Wherein scene point switching is always a key function in panorama.
Currently, panoramic images are generally realized by adopting a direct switching method when scenes are switched.
The inventors have found that the following drawbacks exist in the prior art in the process of implementing the present invention: when the panoramic image is switched, the switching process of directly switching from the current scene to the target scene is very abrupt and hard, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a scene switching method, device, equipment and medium, which are used for realizing natural and smooth switching from a current scene to a target scene.
In a first aspect, an embodiment of the present invention provides a scene switching method, where the method includes:
responding to a scene switching event, and performing fuzzy operation of a set fuzzy algorithm on the current scene picture to generate a first fuzzy picture;
performing fuzzy operation of the set fuzzy algorithm on the target scene picture to generate a second fuzzy picture;
and based on the switching display of the first blurred picture and the second blurred picture, switching between the current scene and the target scene is realized.
Further, the set blurring algorithm is a gaussian blurring algorithm.
Further, based on the switching display of the first blurred picture and the second blurred picture, the switching of the current scene and the target scene includes:
and based on fading out the first blurred picture, fading in the second blurred picture, and realizing the switching of the current scene and the target scene.
Further, based on the switching display of the first blurred picture and the second blurred picture, the switching of the current scene and the target scene includes:
adding a layer mask to the first blurred picture and the second blurred picture;
and fading out the first blurred image and fading in the second blurred image by adjusting the transparency of the layer mask, so as to realize the switching between the current scene and the target scene.
Further, based on the switching display of the first blurred picture and the second blurred picture, the switching of the current scene and the target scene includes:
taking the first blurred picture as a background picture layer, taking a gray picture with a set gray value as a foreground picture layer, and adding a picture layer mask for the first blurred picture;
taking the second blurred picture as a background picture layer, taking the gray picture as a foreground picture layer, and adding a picture layer mask for the second blurred picture;
and fading out the first blurred image and fading in the second blurred image by adjusting the transparency of the layer mask, so as to realize the switching between the current scene and the target scene.
In a second aspect, an embodiment of the present invention further provides a scene switching device, where the device includes:
the first blurring module is used for responding to the scene switching event, carrying out blurring operation of a set blurring algorithm on the current scene picture and generating a first blurring picture;
the second blurring module is used for carrying out blurring operation of the set blurring algorithm on the target scene picture to generate a second blurring picture;
and the switching module is used for switching the current scene and the target scene based on the switching display of the first blurred picture and the second blurred picture.
Further, the switching module includes:
a mask adding unit, configured to add a layer mask to the first blurred picture and the second blurred picture;
and the first scene switching unit is used for fading out the first blurred picture and fading in the second blurred picture by adjusting the transparency of the layer mask so as to realize the switching between the current scene and the target scene.
Further, the switching module includes:
the first adding unit is used for taking the first blurred picture as a background, taking a gray picture with a set gray value as a foreground picture layer and adding a picture layer mask for the first blurred picture;
the second adding unit is used for taking the second blurred picture as a background, taking the gray picture as a foreground picture layer and adding a picture layer mask for the second blurred picture;
and the second scene switching unit is used for fading out the first blurred picture and fading in the second blurred picture by adjusting the transparency of the layer mask so as to realize the switching between the current scene and the target scene.
In a third aspect, an embodiment of the present invention further provides an apparatus, including:
one or more processors;
storage means for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the scene change method according to any one of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a scene change method according to any of claims 1-5.
According to the embodiment of the invention, the current scene picture and the target scene picture are subjected to the fuzzy operation of a set fuzzy algorithm; and then, based on the switching display of the first blurred picture and the second blurred picture, switching between the current scene and the target scene is realized. The blurring operation of the blurring algorithm is set to reduce noise in the current scene picture and the target scene picture and reduce the detail level of the current scene picture and the target scene picture. Therefore, when the first blurred picture and the second blurred picture are used for switching the scenes, the impact of the switching of the two scene pictures on the vision of a user can be reduced, the switching between the pictures becomes softer, and the tearing feeling of the pictures caused by the problems of distortion and the like is weakened.
Drawings
Fig. 1 is a flowchart of a scene switching method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a scene switching method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a scene switching device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a scene switching method according to an embodiment of the present invention. The embodiment is applicable to scene picture switching, and typically, can be applied to scene switching in a virtual reality environment. The method may be performed by a scene cut device, which may be implemented in software and/or hardware, typically the decoration may be a virtual reality device, such as virtual reality glasses. Referring to fig. 1, the scene switching method provided in this embodiment includes:
s110, responding to a scene switching event, and performing fuzzy operation of a set fuzzy algorithm on the current scene picture to generate a first fuzzy picture.
Specifically, the current scene picture is a picture of a current scene, optionally, the current scene picture may be a panoramic picture of the current scene, and further, the current scene picture may be a panoramic picture of the current scene in the virtual environment.
The scene switching event is an event triggering the scene to be switched from the current scene to the target scene, and the event can be the detection of the movement of the user from the current position to the target position, or the detection of the selection of the target position by the user through a mouse, for example, in a street view map, the user can click a specific position in the street view through the mouse to switch the scene in the street view.
The set-up fuzzy algorithm may be any fuzzy algorithm in the prior art, and typically may be a gaussian fuzzy algorithm.
S120, performing fuzzy operation of the set fuzzy algorithm on the target scene picture to generate a second fuzzy picture.
Similarly, the target scene picture is a picture of a target scene, alternatively the target scene picture may be a panoramic picture of the target scene, further the target scene picture may be a panoramic picture of the target scene in a virtual environment.
S130, based on the switching display of the first blurred picture and the second blurred picture, switching between the current scene and the target scene is achieved.
Optionally, based on the switching display of the first blurred picture and the second blurred picture, implementing switching between the current scene and the target scene may include: after the first blurred picture is generated, switching display content from the current scene to the first blurred picture; after the first setting condition is met, switching display content into a second blurred picture; and after the second setting condition is met, switching the display content into a target scene picture, so that the switching of the current scene and the target scene is realized.
The first setting condition may be that after the second blurred image is generated, the first blurred image is displayed for a set time, no movement of the user is detected within the set time, or the like. Similarly, the second display picture may be a second blurred picture after the second blurred picture is displayed for a set time, or no movement of the user is detected within the set time, or the like. Many other ways of implementing the invention will be apparent to those skilled in the art based on the above technical teaching, and the present embodiment is not limited in any way.
To further reduce impact on user vision, so that switching between pictures becomes softer, based on the switching display of the first blurred picture and the second blurred picture, implementing switching between a current scene and a target scene may include:
and based on fading out the first blurred picture, fading in the second blurred picture, and realizing the switching of the current scene and the target scene.
Alternatively, the fade-out of the first blurred picture and the fade-in of the second blurred picture may be achieved by adjusting picture parameters, which may be contrast, color curves, etc.
The fade-out can also be achieved by gradually setting the pixels of the first blurred picture to the pixels of the set color according to the set rule.
For example, the first blurred image is a gray level image of 4*4 pixels, and the preset rule may be that gray level values corresponding to pixels of a first column and a third column in the first row are set to 0, gray level values corresponding to pixels of a second column and a fourth column in the second row are set to 0, gray level values corresponding to pixels of the first column and the third column in the third row are set to 0, and gray level values corresponding to pixels of the second column and the fourth column in the fourth row are set to 0; then, the gradation value of the pixel whose gradation value is not zero in the gradation map is set to 0.
In order to further improve smoothness of the switching of the fade-out and fade-in pictures, based on the switching display of the first blurred picture and the second blurred picture, implementing the switching of the current scene and the target scene may include:
adding a layer mask to the first blurred picture and the second blurred picture;
and fading out the first blurred image and fading in the second blurred image by adjusting the transparency of the layer mask, so as to realize the switching between the current scene and the target scene.
It should be noted that, in the above teaching, those skilled in the art may have an incentive to combine the embodiments mentioned in the present invention to implement scene switching, which is not limited in any way.
Example two
Fig. 2 is a flowchart of a scene switching method according to a second embodiment of the present invention. This embodiment is an alternative to the embodiments described above. Referring to fig. 2, the scene switching method provided in this embodiment includes:
s210, responding to a scene switching event, and performing fuzzy operation of a set fuzzy algorithm on the current scene picture to generate a first fuzzy picture.
S220, taking the first blurred picture as a background picture layer, taking a gray picture with a set gray value as a foreground picture layer, and adding a picture layer mask for the first blurred picture.
The gray value of the gray picture can be set according to the requirement, and can also be determined according to the picture parameter of the first blurred picture.
For example, when the brightness of the first blurred picture is high, the gray value of the gray picture may be set slightly larger (gray value 0 represents black, 255 represents white); when the brightness of the first blurred picture is low, then the gray value of the gray picture may be set slightly smaller. An effect is achieved by setting the grey picture to be brighter if the first blurred picture is brighter; if the first blurred picture is darker, the gray picture is set to be darker, so that smooth switching of the scene is realized.
S230, taking the second blurred picture as a background picture layer, taking the gray picture as a foreground picture layer, and adding a picture layer mask for the second blurred picture.
Alternatively, the gray value of the gray picture may be determined according to the picture parameter of the first blurred picture and the picture parameter of the second blurred picture.
For example, the average luminance of the first blurred picture is 20% and the average luminance of the second blurred picture is 50%, and the luminance of the gray picture of the foreground layer may be set to (0.2+0.5)/2×100% =35%.
S240, fading out the first blurred image and fading in the second blurred image by adjusting the transparency of the layer mask, so that the switching between the current scene and the target scene is realized.
When the transparency of the layer mask is 0, the background layer is displayed, and when the transparency is 100%, the foreground layer is displayed. Therefore, the first blurred picture can be faded out and the second blurred picture can be faded in by adjusting the transparency of the layer mask.
From the view point of the user, the display effect of the scene switching can be achieved through the steps: responding to a scene switching event in the process of displaying the current scene picture; switching display content from a current scene picture to a first blurred picture, wherein the initial transparency of a layer mask of the first blurred picture is 0, namely, the first blurred picture is in a state; the first blurred picture gradually appears as a gray picture state by adjusting the transparency of the layer mask of the first blurred picture; switching display content into a second blurred picture, wherein the initial transparency of a layer mask of the second blurred picture is 100%, namely the second blurred picture is in a gray picture state; the second blurred picture is gradually presented as a second blurred picture state from the gray picture by adjusting the transparency of the layer mask of the second blurred picture; and switching the display content into the target scene picture. Thereby realizing smooth switching of scenes.
According to the technical scheme, the foreground image layer is set to be a gray image for transition through the gap of switching the current scene into the target scene. Therefore, the problem of short black screen or flickering caused by large brightness difference between the current common picture and the target scene picture is solved.
Example III
Fig. 3 is a schematic structural diagram of a scene switching device according to a third embodiment of the present invention. Referring to fig. 3, the scene switching device provided in this embodiment includes: a first blurring module 10, a second blurring module 20 and a switching module 30.
The first blurring module 10 is configured to respond to a scene switching event, perform a blurring operation of setting a blurring algorithm on a current scene picture, and generate a first blurred picture;
the second blurring module 20 is configured to perform a blurring operation of the set blurring algorithm on the target scene picture, and generate a second blurred picture;
and the switching module 30 is used for realizing the switching between the current scene and the target scene based on the switching display of the first blurred picture and the second blurred picture.
According to the technical scheme, the current scene picture and the target scene picture are subjected to fuzzy operation of setting a fuzzy algorithm; and then, based on the switching display of the first blurred picture and the second blurred picture, switching between the current scene and the target scene is realized. The blurring operation of the blurring algorithm is set to reduce noise in the current scene picture and the target scene picture and reduce the detail level of the current scene picture and the target scene picture. Therefore, when the first blurred picture and the second blurred picture are used for switching the scenes, the impact of the switching of the two scene pictures on the vision of a user can be reduced, the switching between the pictures becomes softer, and the tearing feeling of the pictures caused by the problems of distortion and the like is weakened.
Further, the switching module 30 includes: and a mask adding unit and a first scene switching unit.
The mask adding unit is used for adding a layer mask for the first blurred picture and the second blurred picture;
and the first scene switching unit is used for fading out the first blurred picture and fading in the second blurred picture by adjusting the transparency of the layer mask so as to realize the switching between the current scene and the target scene.
Further, the switching module 30 includes: the device comprises a first adding unit, a second adding unit and a second scene switching unit.
The first adding unit is used for taking the first blurred picture as a background, taking a gray picture with a set gray value as a foreground picture layer, and adding a picture layer mask for the first blurred picture;
the second adding unit is used for taking the second blurred picture as a background, taking the gray picture as a foreground picture layer and adding a picture layer mask for the second blurred picture;
and the second scene switching unit is used for fading out the first blurred picture and fading in the second blurred picture by adjusting the transparency of the layer mask so as to realize the switching between the current scene and the target scene.
Further, the set blurring algorithm is a gaussian blurring algorithm.
Further, the switching module 30 includes:
and the progressive display unit is used for fading in the second blurred picture based on fading out the first blurred picture so as to realize the switching between the current scene and the target scene.
Example IV
Fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. Fig. 4 shows a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 4 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 4, device 12 is in the form of a general purpose computing device. Components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with device 12, and/or any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via network adapter 20. As shown, network adapter 20 communicates with other modules of device 12 over bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the scene switching method provided by the embodiment of the present invention.
Example five
The fifth embodiment of the present invention further provides a computer readable storage medium having a computer program stored thereon, the program when executed by a processor implementing the scene switching method according to any one of the embodiments of the present invention, the method comprising:
responding to a scene switching event, and performing fuzzy operation of a set fuzzy algorithm on the current scene picture to generate a first fuzzy picture;
performing fuzzy operation of the set fuzzy algorithm on the target scene picture to generate a second fuzzy picture;
and based on the switching display of the first blurred picture and the second blurred picture, switching between the current scene and the target scene is realized.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: 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 this document, 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.
The computer readable signal medium may include 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 any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. A scene change method, comprising:
responding to a scene switching event, and performing fuzzy operation of a set fuzzy algorithm on the current scene picture to generate a first fuzzy picture;
performing fuzzy operation of the set fuzzy algorithm on the target scene picture to generate a second fuzzy picture; the current scene picture is a panoramic picture of a current scene in the virtual environment; the target scene picture is a panoramic picture of a target scene in the virtual environment;
and based on the switching display of the first blurred picture and the second blurred picture, switching between the current scene and the target scene is realized.
2. The method of claim 1, wherein the set-up blur algorithm is a gaussian blur algorithm.
3. The method of claim 1, wherein implementing switching of a current scene and a target scene based on a switched display of the first blurred picture and the second blurred picture comprises:
and based on fading out the first blurred picture, fading in the second blurred picture, and realizing the switching of the current scene and the target scene.
4. The method of claim 1, wherein implementing switching of a current scene and a target scene based on a switched display of the first blurred picture and the second blurred picture comprises:
adding a layer mask to the first blurred picture and the second blurred picture;
and fading out the first blurred image and fading in the second blurred image by adjusting the transparency of the layer mask, so as to realize the switching between the current scene and the target scene.
5. The method of claim 1, wherein implementing switching of a current scene and a target scene based on a switched display of the first blurred picture and the second blurred picture comprises:
taking the first blurred picture as a background picture layer, taking a gray picture with a set gray value as a foreground picture layer, and adding a picture layer mask for the first blurred picture;
taking the second blurred picture as a background picture layer, taking the gray picture as a foreground picture layer, and adding a picture layer mask for the second blurred picture;
and fading out the first blurred image and fading in the second blurred image by adjusting the transparency of the layer mask, so as to realize the switching between the current scene and the target scene.
6. A scene cut-off device, characterized by comprising:
the first blurring module is used for responding to the scene switching event, carrying out blurring operation of a set blurring algorithm on the current scene picture and generating a first blurring picture;
the second blurring module is used for carrying out blurring operation of the set blurring algorithm on the target scene picture to generate a second blurring picture; the current scene picture is a panoramic picture of a current scene in the virtual environment; the target scene picture is a panoramic picture of a target scene in the virtual environment;
and the switching module is used for switching the current scene and the target scene based on the switching display of the first blurred picture and the second blurred picture.
7. The apparatus of claim 6, wherein the switching module comprises:
a mask adding unit, configured to add a layer mask to the first blurred picture and the second blurred picture;
and the first scene switching unit is used for fading out the first blurred picture and fading in the second blurred picture by adjusting the transparency of the layer mask so as to realize the switching between the current scene and the target scene.
8. The apparatus of claim 7, wherein the switching module comprises:
the first adding unit is used for taking the first blurred picture as a background, taking a gray picture with a set gray value as a foreground picture layer and adding a picture layer mask for the first blurred picture;
the second adding unit is used for taking the second blurred picture as a background, taking the gray picture as a foreground picture layer and adding a picture layer mask for the second blurred picture;
and the second scene switching unit is used for fading out the first blurred picture and fading in the second blurred picture by adjusting the transparency of the layer mask so as to realize the switching between the current scene and the target scene.
9. An apparatus, the apparatus comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the scene cut method of any of claims 1-5.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the scene-switching method according to any of claims 1-5.
CN201711242167.9A 2017-11-30 2017-11-30 Scene switching method, device, equipment and medium Active CN109859328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711242167.9A CN109859328B (en) 2017-11-30 2017-11-30 Scene switching method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711242167.9A CN109859328B (en) 2017-11-30 2017-11-30 Scene switching method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN109859328A CN109859328A (en) 2019-06-07
CN109859328B true CN109859328B (en) 2023-06-23

Family

ID=66888732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711242167.9A Active CN109859328B (en) 2017-11-30 2017-11-30 Scene switching method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109859328B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110509769B (en) * 2019-08-27 2022-07-08 大陆汽车车身电子系统(芜湖)有限公司 Fade-in and fade-out switching method
CN110889384A (en) * 2019-11-30 2020-03-17 北京城市网邻信息技术有限公司 Scene switching method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101208723A (en) * 2005-02-23 2008-06-25 克雷格·萨默斯 Automatic scene modeling for the 3D camera and 3D video
CN103763536A (en) * 2014-01-29 2014-04-30 中达电通股份有限公司 Method and system for controlling seamless switching of DLP projector equipment on the basis of CS framework
CN106910250A (en) * 2017-02-28 2017-06-30 百度在线网络技术(北京)有限公司 For the method and apparatus of the operation pages in virtual reality scenario

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI527463B (en) * 2010-08-25 2016-03-21 Chunghwa Telecom Co Ltd Multi - camera smoothing scene switching method
US10179543B2 (en) * 2013-02-27 2019-01-15 Magna Electronics Inc. Multi-camera dynamic top view vision system
CN106293375B (en) * 2015-06-03 2019-09-17 深圳市腾讯计算机系统有限公司 A kind of method for changing scenes and equipment
CN105282622B (en) * 2015-10-20 2018-07-03 海信集团有限公司 A kind of method and apparatus of handoff scenario
US20170153698A1 (en) * 2015-11-30 2017-06-01 Nokia Technologies Oy Method and apparatus for providing a view window within a virtual reality scene
CN105869201A (en) * 2016-03-25 2016-08-17 北京全景思维科技有限公司 Method and device for achieving smooth switching of panoramic views in panoramic roaming
CN105959528B (en) * 2016-07-09 2019-04-16 深圳市辰卓科技有限公司 Operative scenario switching method, device and test equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101208723A (en) * 2005-02-23 2008-06-25 克雷格·萨默斯 Automatic scene modeling for the 3D camera and 3D video
CN103763536A (en) * 2014-01-29 2014-04-30 中达电通股份有限公司 Method and system for controlling seamless switching of DLP projector equipment on the basis of CS framework
CN106910250A (en) * 2017-02-28 2017-06-30 百度在线网络技术(北京)有限公司 For the method and apparatus of the operation pages in virtual reality scenario

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Using virtual environments for the assessment of cybersecurity issues in IoT scenarios;Angelo Furfaro 等;《Simulation Modelling Practice and Theory》;第73卷;43-54 *
开源全景软件与地图结合制作街景的技术探究;刘俊颖;《价值工程》;第33卷(第27期);240-241 *

Also Published As

Publication number Publication date
CN109859328A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
US8384738B2 (en) Compositing windowing system
US20220360736A1 (en) Method for frame interpolation and related products
US9424767B2 (en) Local rendering of text in image
KR102463304B1 (en) Video processing method and device, electronic device, computer-readable storage medium and computer program
CN110377264B (en) Layer synthesis method, device, electronic equipment and storage medium
US20110292060A1 (en) Frame buffer sizing to optimize the performance of on screen graphics in a digital electronic device
WO2020108098A1 (en) Video processing method and apparatus, and electronic device and computer-readable medium
US7616220B2 (en) Spatio-temporal generation of motion blur
CN112596843B (en) Image processing method, device, electronic equipment and computer readable storage medium
US10497396B2 (en) Detecting and correcting whiteboard images while enabling the removal of the speaker
US20160252730A1 (en) Image generating system, image generating method, and information storage medium
CN109859328B (en) Scene switching method, device, equipment and medium
CN114399437A (en) Image processing method and device, electronic equipment and storage medium
CN113825020B (en) Video definition switching method, device, equipment, storage medium and program product
CN113655975A (en) Image display method, image display device, electronic apparatus, and medium
CN111833262A (en) Image noise reduction method and device and electronic equipment
CN113810755B (en) Panoramic video preview method and device, electronic equipment and storage medium
JP2022515709A (en) Methods, computer programs, and devices for generating images
CN111010606B (en) Video processing method and device
CN109727315B (en) One-to-many cluster rendering method, device, equipment and storage medium
CN112949252B (en) Text display method, apparatus and computer readable medium
CN111292392A (en) Unity-based image display method, apparatus, device and medium
CN111078785A (en) Method and device for visually displaying data, electronic equipment and storage medium
CN110766599A (en) Method and system for preventing white screen from appearing when Qt Quick is used for drawing image
CN113160377B (en) Method, apparatus, device and storage medium for processing image

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