CN109859328A - A kind of method for changing scenes, device, equipment and medium - Google Patents

A kind of method for changing scenes, device, equipment and medium Download PDF

Info

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

Landscapes

  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a kind of method for changing scenes, device, equipment and media, are related to virtual reality technology application field.This method comprises: responding scene handover event, the fuzzy operation of setting fuzzy algorithmic approach is carried out to current scene picture, the first blurred picture is generated;The fuzzy operation that the setting fuzzy algorithmic approach is carried out to target scene picture, generates the second blurred picture;Switching based on first blurred picture and second blurred picture is shown, realizes the switching of current scene and target scene.The embodiment of the present invention provides a kind of method for changing scenes, device, equipment and medium, natural from current scene, smooth switches to target scene to realize.

Description

A kind of method for changing scenes, device, equipment and medium
Technical field
The present embodiments relate to virtual reality technology application field more particularly to a kind of method for changing scenes, device, set Standby and medium.
Background technique
Panorama, also known as 3D outdoor scene are, by special split, processing, to be synthesized visual point image with outdoor scene photo, allow people It stands among picturesque scene.The wherein switching of scene point is always the key function in panorama.
Currently, panoramic picture is in scene switching, it is general to be realized using the method directly switched.
In the implementation of the present invention, the discovery prior art has following defects that panoramic picture is cut in scene to inventor When changing, directly seem very lofty and stiff from the handoff procedure that current scene switches to target scene, poor user experience.
Summary of the invention
The embodiment of the present invention provides a kind of method for changing scenes, device, equipment and medium, with realize from current scene from So, smoothly switch to target scene.
In a first aspect, the embodiment of the invention provides a kind of method for changing scenes, this method comprises:
Responding scene handover event carries out the fuzzy operation of setting fuzzy algorithmic approach to current scene picture, generates the first mould Paste picture;
The fuzzy operation that the setting fuzzy algorithmic approach is carried out to target scene picture, generates the second blurred picture;
Switching based on first blurred picture and second blurred picture is shown, realizes current scene and target field The switching of scape.
Further, the fuzzy algorithmic approach that sets is Gaussian Blur algorithm.
Further, the switching based on first blurred picture and second blurred picture shows that front court is worked as in realization The switching of scape and target scene includes:
Based on first blurred picture that fades out, fade in second blurred picture, realizes current scene and target scene Switching.
Further, the switching based on first blurred picture and second blurred picture shows that front court is worked as in realization The switching of scape and target scene includes:
It adds layer mask for first blurred picture and second blurred picture;
By adjusting the transparency of the layer mask, fade out first blurred picture, fades in second fuzzy graph Piece realizes the switching of current scene and target scene.
Further, the switching based on first blurred picture and second blurred picture shows that front court is worked as in realization The switching of scape and target scene includes:
It is using the grey picture for setting gray value as prospect figure layer using first blurred picture as Background From Layer First blurred picture adds layer mask;
It is described second using the grey picture as prospect figure layer using second blurred picture as Background From Layer Blurred picture adds layer mask;
By adjusting the transparency of the layer mask, fade out first blurred picture, fades in second fuzzy graph Piece realizes the switching of current scene and target scene.
Second aspect, the embodiment of the invention also provides a kind of device for changing scenes, which includes:
First obfuscation module is used for responding scene handover event, and the mould of setting fuzzy algorithmic approach is carried out to current scene picture Paste operation, generates the first blurred picture;
Second obfuscation module generates for carrying out the fuzzy operation of the setting fuzzy algorithmic approach to target scene picture Two blurred pictures;
Switching module shows that realization is worked as the switching based on first blurred picture and second blurred picture The switching of preceding scene and target scene.
Further, the switching module includes:
Masking-out adding unit, for adding layer mask for first blurred picture and second blurred picture;
First scene switching unit, for the transparency by adjusting the layer mask, fade out first fuzzy graph Piece fades in second blurred picture, realizes the switching of current scene and target scene.
Further, the switching module includes:
First adding unit, for using first blurred picture as background, the grey picture for setting gray value to be made For prospect figure layer, add layer mask for first blurred picture;
Second adding unit is used for using second blurred picture as background, using the grey picture as foreground picture Layer adds layer mask for second blurred picture;
Second scene switching unit, for the transparency by adjusting the layer mask, fade out first fuzzy graph Piece fades in second blurred picture, realizes the switching of current scene and target scene.
The third aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes any method for changing scenes in the embodiment of the present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes such as method for changing scenes as claimed in any one of claims 1 to 5 when the program is executed by processor.
The embodiment of the present invention, by the mould for carrying out setting fuzzy algorithmic approach to current scene picture and target scene picture first Paste operation;Then, the switching based on first blurred picture and second blurred picture is shown, realizes current scene and mesh Mark the switching of scene.The fuzzy operation of setting fuzzy algorithmic approach reduce current scene picture and noise in target scene picture, Reduce the level of detail of current scene picture and target scene picture.Therefore, the first blurred picture and described second are being utilized The switching of blurred picture, when realizing scene switching, it is possible to reduce impact of the switching of two scene pictures to user's vision, so that figure The tearing sense of picture caused by the problems such as switching between piece becomes softer, weakens distortion.
Detailed description of the invention
Fig. 1 is a kind of flow chart for method for changing scenes that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of method for changing scenes provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for device for changing scenes that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for method for changing scenes that the embodiment of the present invention one provides.The present embodiment is applicable to field The case where scape picture switches, typically, can be applied to the scene switching in reality environment.This method can be by a kind of field Scape switching device executes, which can be realized by the mode of software and/or hardware, and the typical decoration can be virtual existing Real equipment, such as virtual reality glasses.Referring to Fig. 1, method for changing scenes provided in this embodiment includes:
S110, responding scene handover event carry out the fuzzy operation of setting fuzzy algorithmic approach to current scene picture, generate the One blurred picture.
Specifically, current scene picture is the picture for being currently located scene, optionally, which, which can be, works as The panoramic pictures of preceding scene, further, the current scene picture can be the panoramic pictures of current scene in virtual environment.
Scene switching event is the event for triggering scene and switching from current scene to target scene, which can be detection Movement to user from current location to target position is also possible to detect that user passes through selection of the mouse to target position, Such as in streetscape map, user can click the specific location in streetscape by mouse, carry out the switching of scene in streetscape.
Setting fuzzy algorithmic approach can be any fuzzy algorithmic approach in the prior art, typically can be Gaussian Blur algorithm.
S120, the fuzzy operation that the setting fuzzy algorithmic approach is carried out to target scene picture, generate the second blurred picture.
Similar, target scene picture is the picture of target scene, and optionally, which can be target field The panoramic pictures of scape, further, the target scene picture can be the panoramic pictures of target scene in virtual environment.
S130, the switching based on first blurred picture and second blurred picture show, realize current scene and The switching of target scene.
Optionally, the switching based on first blurred picture and second blurred picture is shown, realizes current scene Switching with target scene may include: that display content is switched to first from current scene after generating the first blurred picture Blurred picture;After the setting condition of satisfaction first, display content is switched to the second blurred picture;It imposes a condition in satisfaction second Afterwards, display content is switched to target scene picture, to realize the switching to current scene and target scene.
Wherein, it first imposes a condition and can be after the second blurred picture generates, be also possible to the first blurred picture and show set After fixing time, it is also possible to detect user without mobile etc. within the set time.Similar, the second display picture can be second After blurred picture shows setting time, it is also possible to detect user without mobile etc. within the set time.It is taught based on above-mentioned technology It leads, those skilled in the art will also be appreciated that a lot of other modes are realized, the present embodiment is to this and without any restrictions.
To be further reduced the impact to user's vision, so that the switching between picture becomes softer, based on described The switching of first blurred picture and second blurred picture is shown, realizes that the switching of current scene and target scene can wrap It includes:
Based on first blurred picture that fades out, fade in second blurred picture, realizes current scene and target scene Switching.
Optionally, it can realize that fading out for the first blurred picture is light with the second blurred picture by adjusting image parameters Enter, which can be contrast, colour curve etc..
Can also by by the pixel of the first blurred picture according to setting rule gradually be arranged setpoint color pixel, It is faded out with realizing.
For example, the first blurred picture is the grayscale image of 4*4 pixel, which be can be, first by the first row One column gray value corresponding with tertial pixel is set as 0, and the pixel of secondary series and the 4th column in the second row is corresponding Gray value be set as 0, the first row and the corresponding gray value of tertial pixel in the third line are set as 0, in fourth line Secondary series and the 4th column the corresponding gray value of pixel be set as 0;Then, it is not zero picture by gray value in the grayscale image The gray value of vegetarian refreshments is set as 0.
For the fluency for further increasing the picture to fade over switching, it is based on first blurred picture and described second The switching of blurred picture is shown, realizes that the switching of current scene and target scene may include:
It adds layer mask for first blurred picture and second blurred picture;
By adjusting the transparency of the layer mask, fade out first blurred picture, fades in second fuzzy graph Piece realizes the switching of current scene and target scene.
It needs to prompt, in the above teachings, those skilled in the art have motivation by embodiment party mentioned in the present invention Formula is combined the switching for realizing scene, and the present embodiment is to this and without any restrictions.
Embodiment two
Fig. 2 is a kind of flow chart of method for changing scenes provided by Embodiment 2 of the present invention.The present embodiment is in above-mentioned reality Apply a kind of optinal plan proposed on the basis of example.Referring to fig. 2, method for changing scenes provided in this embodiment includes:
S210, responding scene handover event carry out the fuzzy operation of setting fuzzy algorithmic approach to current scene picture, generate the One blurred picture.
S220, using first blurred picture as Background From Layer, the grey picture of gray value will be set as foreground picture Layer adds layer mask for first blurred picture.
Wherein, the gray value of grey picture, which can according to need, is set, can also be according to the figure of the first blurred picture Piece parameter determines.
For example, the gray value of grey picture can be then arranged slightly larger when the brightness of the first blurred picture is higher (gray value 0 indicates black, and 255 indicate white);It, then can be by the ash of grey picture when the brightness of the first blurred picture is lower Angle value is arranged slightly smaller.It can achieve such a effect through the above steps:, will be grey if the first blurred picture is brighter Chromatic graph piece is arranged brighter;If the first blurred picture is darker, grey picture is arranged it is darker, to realize scene Smoothly switch.
It S230, using second blurred picture as Background From Layer is described using the grey picture as prospect figure layer Second blurred picture adds layer mask.
Optionally, the gray value of grey picture can also be according to the image parameters and the second blurred picture of the first blurred picture Image parameters determine.
For example, the average brightness of the first blurred picture is 20%, the average brightness of the second blurred picture is 50%, then can be with (0.2+0.5)/2*100%=35% is set by the brightness of the grey picture of prospect figure layer.
S240, by adjusting the transparency of the layer mask, fade out first blurred picture, fades in second mould Picture is pasted, realizes the switching of current scene and target scene.
Wherein, when the transparency of layer mask is 0, it is shown that Background From Layer, before transparency is shown when being 100% Scape figure layer.Therefore, first blurred picture that fades out may be implemented by adjusting the transparency of layer mask, it is fuzzy fades in described second Picture.
The angle watched from user, can achieve the display effect of such a scene switching through the above steps: aobvious During showing current scene picture, responding scene handover event;Display content is switched to the first mould from current scene picture Picture is pasted, the initial transparent degree of the layer mask of the first blurred picture is 0, that is, the first blurred picture state is presented;By adjusting The transparency of the layer mask of first blurred picture, the first blurred picture are gradually rendered as grey picture state;It will show content It is switched to the second blurred picture, the initial transparent degree of the layer mask of the second blurred picture is 100%, that is, is rendered as grey picture State;By adjusting the transparency of the layer mask of the second blurred picture, the second blurred picture is gradually rendered as by grey picture Second blurred picture state;Display content is switched to target scene picture.To realize smoothly switching for scene.
The technical solution of the embodiment of the present invention, by being switched to the gap of target scene in current scene, by prospect figure layer Grey picture is set as to carry out transition.To solve in the gap of current common picture and the switching display of target scene picture, Because caused by the luminance difference of current scene picture and target scene picture is larger, the problem of of short duration blank screen or flashing.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for device for changing scenes that the embodiment of the present invention three provides.Referring to Fig. 3, this implementation The device for changing scenes that example provides includes: the first obfuscation module 10, the second obfuscation module 20 and switching module 30.
Wherein, the first obfuscation module 10 is used for responding scene handover event, carries out setting fuzzy calculation to current scene picture The fuzzy operation of method generates the first blurred picture;
Second obfuscation module 20 is generated for carrying out the fuzzy operation of the setting fuzzy algorithmic approach to target scene picture Second blurred picture;
Switching module 30 is shown for the switching based on first blurred picture and second blurred picture, is realized The switching of current scene and target scene.
The technical solution of the embodiment of the present invention, by carrying out setting mould to current scene picture and target scene picture first Paste the fuzzy operation of algorithm;Then, the switching based on first blurred picture and second blurred picture shows that realization is worked as The switching of preceding scene and target scene.The fuzzy operation of setting fuzzy algorithmic approach reduces current scene picture and target scene picture In noise, reduce the level of detail of current scene picture and target scene picture.Therefore, using the first blurred picture and The switching of second blurred picture, when realizing scene switching, it is possible to reduce user's vision is rushed in the switching of two scene pictures It hits, so that the switching between picture becomes softer, picture tearing sense caused by the problems such as weakening distortion.
Further, the switching module 30 includes: masking-out adding unit and the first scene switching unit.
Wherein, masking-out adding unit, for adding figure layer for first blurred picture and second blurred picture and covering Version;
First scene switching unit, for the transparency by adjusting the layer mask, fade out first fuzzy graph Piece fades in second blurred picture, realizes the switching of current scene and target scene.
Further, the switching module 30 includes: the first adding unit, the second adding unit and the second scene switching list Member.
Wherein, the first adding unit, for the grey chromatic graph of gray value will to be set using first blurred picture as background Piece adds layer mask as prospect figure layer for first blurred picture;
Second adding unit is used for using second blurred picture as background, using the grey picture as foreground picture Layer adds layer mask for second blurred picture;
Second scene switching unit, for the transparency by adjusting the layer mask, fade out first fuzzy graph Piece fades in second blurred picture, realizes the switching of current scene and target scene.
Further, the fuzzy algorithmic approach that sets is Gaussian Blur algorithm.
Further, the switching module 30 includes:
Progressive display unit, for fading in second blurred picture, realization is worked as based on first blurred picture that fades out The switching of preceding scene and target scene.
Example IV
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.Fig. 4, which is shown, to be suitable for being used to realizing this The block diagram of the example devices 12 of invention embodiment.The equipment 12 that Fig. 4 is shown is only an example, should not be to of the invention real The function and use scope for applying example bring any restrictions.
As shown in figure 4, equipment 12 is showed in the form of universal computing device.The component of equipment 12 may include but unlimited In one or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 12 The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include it is other it is removable/nonremovable, Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable , non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, use can be provided In the disc driver read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product, The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual Execute the function and/or method in embodiment described in the invention.
Equipment 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), Can also be enabled a user to one or more equipment interacted with the equipment 12 communication, and/or with enable the equipment 12 with One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also by network adapter 20 and one or The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, Network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that although not shown in the drawings, can combine Equipment 12 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit, External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize method for changing scenes provided by the embodiment of the present invention.
Embodiment five
The embodiment of the present invention five additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should The method for changing scenes as described in any in the embodiment of the present invention is realized when program is executed by processor, this method comprises:
Responding scene handover event carries out the fuzzy operation of setting fuzzy algorithmic approach to current scene picture, generates the first mould Paste picture;
The fuzzy operation that the setting fuzzy algorithmic approach is carried out to target scene picture, generates the second blurred picture;
Switching based on first blurred picture and second blurred picture is shown, realizes current scene and target field The switching of scape.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of method for changing scenes characterized by comprising
Responding scene handover event carries out the fuzzy operation of setting fuzzy algorithmic approach to current scene picture, generates the first fuzzy graph Piece;
The fuzzy operation that the setting fuzzy algorithmic approach is carried out to target scene picture, generates the second blurred picture;
Switching based on first blurred picture and second blurred picture shows, realizes current scene and target scene Switching.
2. the method according to claim 1, wherein the fuzzy algorithmic approach that sets is Gaussian Blur algorithm.
3. the method according to claim 1, wherein being based on first blurred picture and second fuzzy graph The switching of piece is shown, realizes that the switching of current scene and target scene includes:
Based on first blurred picture that fades out, fade in second blurred picture, realizes cutting for current scene and target scene It changes.
4. the method according to claim 1, wherein being based on first blurred picture and second fuzzy graph The switching of piece is shown, realizes that the switching of current scene and target scene includes:
It adds layer mask for first blurred picture and second blurred picture;
By adjusting the transparency of the layer mask, fade out first blurred picture, fades in second blurred picture, real The switching of existing current scene and target scene.
5. the method according to claim 1, wherein being based on first blurred picture and second fuzzy graph The switching of piece is shown, realizes that the switching of current scene and target scene includes:
Using first blurred picture as Background From Layer, the grey picture of gray value will be set as prospect figure layer, be described First blurred picture adds layer mask;
It is fuzzy for described second using the grey picture as prospect figure layer using second blurred picture as Background From Layer Picture adds layer mask;
By adjusting the transparency of the layer mask, fade out first blurred picture, fades in second blurred picture, real The switching of existing current scene and target scene.
6. a kind of device for changing scenes characterized by comprising
First obfuscation module is used for responding scene handover event, and the fuzzy behaviour of setting fuzzy algorithmic approach is carried out to current scene picture Make, generates the first blurred picture;
Second obfuscation module generates the second mould for carrying out the fuzzy operation of the setting fuzzy algorithmic approach to target scene picture Paste picture;
Switching module shows that front court is worked as in realization for the switching based on first blurred picture and second blurred picture The switching of scape and target scene.
7. device according to claim 6, which is characterized in that the switching module includes:
Masking-out adding unit, for adding layer mask for first blurred picture and second blurred picture;
First scene switching unit, for the transparency by adjusting the layer mask, fade out first blurred picture, light Enter second blurred picture, realizes the switching of current scene and target scene.
8. device according to claim 7, which is characterized in that the switching module includes:
First adding unit, for the grey picture of gray value will to be set as before using first blurred picture as background Scape figure layer adds layer mask for first blurred picture;
Second adding unit, for being using the grey picture as prospect figure layer using second blurred picture as background Second blurred picture adds layer mask;
Second scene switching unit, for the transparency by adjusting the layer mask, fade out first blurred picture, light Enter second blurred picture, realizes the switching of current scene and target scene.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method for changing scenes as claimed in any one of claims 1 to 5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as method for changing scenes as claimed in any one of claims 1 to 5 is realized when execution.
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 true CN109859328A (en) 2019-06-07
CN109859328B 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)

Cited By (2)

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

Citations (10)

* 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
TW201210342A (en) * 2010-08-25 2012-03-01 Chunghwa Telecom Co Ltd Method for fluent scene change with multi-cameras
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
US20140247352A1 (en) * 2013-02-27 2014-09-04 Magna Electronics Inc. Multi-camera dynamic top view vision system
CN105282622A (en) * 2015-10-20 2016-01-27 海信集团有限公司 Scene switching method and device
CN105869201A (en) * 2016-03-25 2016-08-17 北京全景思维科技有限公司 Method and device for achieving smooth switching of panoramic views in panoramic roaming
CN105959528A (en) * 2016-07-09 2016-09-21 深圳市辰卓科技有限公司 Working scene switching method and apparatus and test device
CN106293375A (en) * 2015-06-03 2017-01-04 深圳市腾讯计算机***有限公司 A kind of method for changing scenes, and equipment
US20170153698A1 (en) * 2015-11-30 2017-06-01 Nokia Technologies Oy Method and apparatus for providing a view window within a virtual reality scene
CN106910250A (en) * 2017-02-28 2017-06-30 百度在线网络技术(北京)有限公司 For the method and apparatus of the operation pages in virtual reality scenario

Patent Citations (10)

* 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
TW201210342A (en) * 2010-08-25 2012-03-01 Chunghwa Telecom Co Ltd Method for fluent scene change with multi-cameras
US20140247352A1 (en) * 2013-02-27 2014-09-04 Magna Electronics Inc. Multi-camera dynamic top view vision system
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
CN106293375A (en) * 2015-06-03 2017-01-04 深圳市腾讯计算机***有限公司 A kind of method for changing scenes, and equipment
CN105282622A (en) * 2015-10-20 2016-01-27 海信集团有限公司 Scene switching method and device
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
CN105959528A (en) * 2016-07-09 2016-09-21 深圳市辰卓科技有限公司 Working scene switching method and apparatus and test device
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
ANGELO FURFARO 等: "Using virtual environments for the assessment of cybersecurity issues in IoT scenarios", 《SIMULATION MODELLING PRACTICE AND THEORY》 *
刘俊颖: "开源全景软件与地图结合制作街景的技术探究", 《价值工程》 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN109859328B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN107306332B (en) Occlusive direct view augmented reality system, computing device and method
US20220360736A1 (en) Method for frame interpolation and related products
US9508190B2 (en) Method and system for color correction using three-dimensional information
EP2299693B1 (en) Methods and devices for displaying an overlay on a device display screen
CN108737878B (en) Method and system for modifying user interface color in conjunction with video presentation
CN113391734A (en) Image processing method, image display device, storage medium, and electronic device
CN112891946B (en) Game scene generation method and device, readable storage medium and electronic equipment
CN112596843A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN114399437A (en) Image processing method and device, electronic equipment and storage medium
CN110377392A (en) Wallpaper displaying method and device
CN109859328A (en) A kind of method for changing scenes, device, equipment and medium
CN111095348A (en) Transparent display based on camera
CN113010249B (en) Page switching method, device, equipment and medium
CN104284118A (en) Projector and projector control method
WO2020244470A1 (en) Head-mountable display device and display method thereof
CN109859303B (en) Image rendering method and device, terminal equipment and readable storage medium
US10114447B2 (en) Image processing method and apparatus for operating in low-power mode
CN109727315B (en) One-to-many cluster rendering method, device, equipment and storage medium
EP4268450A1 (en) Temporal foveated rendering
CN107038734A (en) A kind of method of imaging importing text for Windows systems
CN111627368A (en) Display screen control method and device, storage medium, processor and electronic equipment
CN114115615B (en) Interface display method, device, electronic equipment and storage medium
WO2023029049A1 (en) Subtitle switching method, terminal device, and storage medium
US11961184B2 (en) System and method for scene reconstruction with plane and surface reconstruction
CN115248652B (en) Image self-adaption method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant