WO2022135017A1 - 动态流体显示方法、装置、电子设备和可读介质 - Google Patents
动态流体显示方法、装置、电子设备和可读介质 Download PDFInfo
- Publication number
- WO2022135017A1 WO2022135017A1 PCT/CN2021/133136 CN2021133136W WO2022135017A1 WO 2022135017 A1 WO2022135017 A1 WO 2022135017A1 CN 2021133136 W CN2021133136 W CN 2021133136W WO 2022135017 A1 WO2022135017 A1 WO 2022135017A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target object
- fluid
- target
- texel
- image
- Prior art date
Links
- 239000012530 fluid Substances 0.000 title claims abstract description 198
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000008859 change Effects 0.000 claims abstract description 57
- 230000004044 response Effects 0.000 claims abstract description 10
- 230000009471 action Effects 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
Definitions
- the present disclosure relates to the field of computer technology, and in particular, the present disclosure relates to a dynamic fluid display method, apparatus, electronic device and readable medium.
- the interactive mode applied to the mobile terminal has a single gameplay and is not very interesting.
- the present disclosure provides a dynamic fluid display method, apparatus, electronic device and readable medium, which are used to solve the problems existing in the prior art.
- a dynamic fluid display method comprising:
- the change of the parameters of the fluid at each target texel position related to the target object is determined in the image
- the dynamic fluid is displayed in the image based on changes in the parameters of the fluid at each target texel location.
- a dynamic fluid display device comprising:
- a first display module configured to display an image corresponding to the image input operation on the user display interface in response to the user's image input operation, and superimpose the fluid and the image to display;
- an acquisition module for acquiring attribute information of the target object when the target object is detected in the user display interface
- a determining module configured to determine, according to the attribute information, changes in the parameters of the fluid at the positions of the target texels related to the target object in the image
- the second display module is configured to display the dynamic fluid in the image according to the change of the parameters of the fluid at the position of each target texel.
- the present disclosure provides an electronic device, the electronic device comprising:
- processors one or more processors
- the memory stores one or more application programs, wherein when the one or more application programs are executed by the one or more processors, the electronic device performs operations corresponding to the dynamic fluid display method shown in the first aspect of the present disclosure.
- the present disclosure provides a computer-readable medium for storing computer instructions, which, when executed by a computer, enables the computer to execute the dynamic fluid display shown in the first aspect of the present disclosure method.
- the present disclosure provides a computer program product comprising computer instructions that, when executed by a computer, implement the dynamic fluid display method shown in the first aspect of the present disclosure.
- a background image input by a user can be received, and the fluid and the background image can be superimposed and displayed.
- a target object is detected in the user display interface, according to The detected attribute information of the target object in the user display interface is used to control the parameter change of the fluid in the image and display the dynamic fluid, so that the fluid can drive the background image to flow together, and the interaction method is novel and interesting.
- FIG. 1 is a schematic flowchart of a dynamic fluid display method according to an embodiment of the present disclosure
- FIG. 2 is a schematic structural diagram of a dynamic fluid display device according to an embodiment of the present disclosure
- FIG. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
- the term “including” and variations thereof are open-ended inclusions, ie, "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 of other terms will be given in the description below.
- the technical solutions of the present disclosure can be applied to applications involving the production, application, and use of dynamic fluid effects.
- the technical solutions of the present disclosure can be applied to terminal devices, and the terminal devices can include mobile terminals or computer devices, wherein the mobile terminals can include, for example, smart phones, PDAs, tablet computers, wearable devices with display screens, etc.; computer devices This may include, for example, desktops, laptops, all-in-ones, smart home devices, and the like.
- the technical solution of the present disclosure may be implemented by a graphics processor (Graphics Processing Unit, GPU) in a terminal device.
- a graphics processor Graphics Processing Unit, GPU
- FIG. 1 is a schematic flowchart of a dynamic fluid display method provided by an embodiment of the present disclosure. As shown in FIG. 1 , the method may include:
- Step S101 in response to a user's image input operation, display an image corresponding to the image input operation on the user display interface, and superimpose the fluid and the image to display.
- the user display interface may be a display interface in an application program, and the solutions provided by the embodiments of the present disclosure may be implemented as an application program or a function plug-in of the application program.
- the application program displays the user display interface; or, when the terminal device detects the user's trigger instruction for the function plug-in of the application program, the user display interface is displayed.
- the terminal device can receive the image input by the user as the background image, and divide the background image into multiple grids, which are divided according to the horizontal direction and the vertical direction, wherein the horizontal direction corresponds to the width direction of the image, and the vertical direction corresponds to the width direction of the image. height direction.
- Each grid corresponds to the position of each texture pixel of the GPU.
- the texture pixel corresponds to the position of the screen display pixel of the terminal device.
- Pixels correspond to each pixel in the background image one-to-one, that is, each grid corresponds to each pixel in the background image one-to-one.
- Fluid is displayed in the background image, and texels are used to store the parameters of the fluid corresponding to each grid, including initial velocity parameters.
- the background image can be an image of any color, either a single color or multiple colors.
- the fluid can be a fluid of any color.
- the fluid can be in a static state or a moving state.
- the fluid is superimposed on the background image input by the user. show.
- the color of the fluid and the color of the background image are different, so that the display effect is better when the fluid and the background image are displayed in the user display interface.
- the fluid is in a colorless and transparent static state
- the background image is an image composed of multiple colors with the display content of the landscape.
- the fluid is superimposed and displayed on the background image, and a layer of transparency is superimposed on the user display interface. Fluid background image.
- Step S102 when the target object is detected in the user display interface, acquire attribute information of the target object.
- the target object may be a specific object in the video, including but not limited to: the face, head, gesture, finger, etc. of a person or other creatures.
- the gestures may include, but are not limited to: pointing up, making a fist, comparing hearts, liking, and the like.
- the terminal device may start a video capture device (eg, a camera) of the terminal device to capture video.
- the duration of video capture may be a preset time period, or the duration of video capture may be determined according to the video capture start instruction and the video capture end command, which is not limited in the present disclosure.
- the terminal device detects the target object on the user display interface, that is, the video screen.
- the target object may also be a touch operation object, for example, the user touches the display screen of the terminal device with a finger, and slides on the display screen, the terminal device detects the touch operation command, and inputs the object of the touch operation command. It is the touch operation object (in this case, the finger is the touch operation object, that is, the target object).
- the attribute information of the target object is information representing a specific attribute of the target object.
- Specific attributes may include velocity, position-related information of the target object.
- the position of the target object may be the position of at least one grid corresponding to the target object in the user display interface.
- the target object includes the target object in the video
- the attribute information of the target object includes the speed change amount of the target object
- obtaining the attribute information of the target object includes:
- the speed change amount of the target object from the current moment to the next moment is determined.
- the target object may be the target object in the video, for example, it may be a gesture in the video.
- the position of the gesture in each frame of the video is obtained.
- the moving distance of the gesture in adjacent frame images can be obtained, and the position of the gesture in adjacent frames can be obtained.
- the movement speed of the gesture is determined according to the movement distance and movement time of the gesture, and the speed change amount of the gesture is determined according to the movement speed of the gesture at each moment.
- the target object includes a touch operation object
- the attribute information of the target object includes the speed change amount of the target object
- obtaining the attribute information of the target object includes:
- the speed change amount of the touch operation object from the current moment to the next moment is determined.
- the target object can be a touch operation object.
- the terminal device detects the position corresponding to the sliding operation at each moment, and determines the moving distance from the current moment to the next moment according to the position corresponding to each moment. , determine the time interval from the current moment to the next moment, according to the moving distance and time interval, the sliding operation speed at each moment can be calculated, and the speed change of the finger sliding can be obtained according to the sliding operation speed at each moment.
- Step S103 determine the change of the parameters of the fluid at each target texel position related to the target object in the image.
- the change of the parameters of the fluid at each target texel position related to the target object can be determined in the image, so as to realize the interaction between the user and the terminal device.
- the target texel is the texel related to the target object in the image, that is, the texel corresponding to the scope of action of the target object, and the number of the target texel may be at least one.
- the parameters of the fluid may be related parameters such as the motion state and display state of the reaction fluid.
- Step S104 displaying the dynamic fluid in the image according to the change of the parameters of the fluid at each target texel position.
- the effect image after the fluid simulation is displayed in the image, so that the fluid flow drives the background image to move together.
- the parameters of the fluid include velocity parameters, and for each target texel, the method further includes:
- the color at the first texel position at the current moment is determined as the color of the fluid at the target texel position at the next moment.
- the time step for speed parameter update can be pre-configured, the speed parameter of the fluid at each target texel position is updated according to the time step, and along with the update of the speed parameter, the color of the fluid at each target texel position is updated at the same time .
- the color of the fluid at each target texel location is updated by Equation (1):
- x is the position of the grid corresponding to the target texel; Represents the color of the fluid at the x position at time t+1; dt represents the time step; is the velocity parameter of the fluid at the x position at time t; Represents the first texel position at time t; Represents the color of the fluid at the first texel position at time t.
- the change of the parameters of the fluid at each target texel position related to the target object is determined in the image, including:
- the variation of the velocity parameter of the fluid at each target texel position is determined.
- the velocity parameters of the fluid at the position of each target texel can be adjusted according to the velocity change of the target object, so that the velocity of the fluid changes according to the velocity change of the target object. at least one of changes in velocity direction.
- the attribute information of the target object also includes initial position information of the target object and the action radius of the target object, and the change of the velocity parameter of the fluid at each target texel position is determined according to the velocity change of the target object ,include:
- the initial position information of the target object, the radius of action of the target object, the position information corresponding to the target texel, and the velocity parameter of the fluid at the position of the target texel at the current moment determine The velocity parameter of the fluid at the target texel position at the next moment.
- the attribute information of the target object also includes the initial position information of the target object and the radius of action of the target object.
- the initial position information of the target object is the position of the target object when it first appears in the user display interface.
- the action radius of the target object represents the action range of the target object in the user display interface.
- the action radius can be pre-configured according to specific needs. The larger the action radius, the larger the action range of the target object in the user display interface.
- the position of the target object in the user display interface corresponds to the position of each target texel, and the position of each target texel can be determined according to the position of the target object.
- the initial position information of the target object, the action radius of the target object, the position information corresponding to the target texel, and the velocity of the fluid at the target texel position at the current moment determine the target texel position at the next moment. fluid velocity.
- the velocity of the fluid at the target texel location is updated according to equation (2):
- the method further includes:
- the velocity parameter of the fluid at the second texel position at the current moment is determined as the velocity parameter of the fluid at the target texel position at the next moment.
- the parameters of the fluid at each target texel position in the image will change according to the attribute information of the target object, so that the fluid drives the image to flow.
- the user stops the interactive action at a certain moment that is to say, the target object cannot be detected in the user display interface, then the fluid continues to flow according to inertia at this moment.
- the specific processing method is: for each target texel in the image, Determine the second texel position at the current moment according to the time step of the preconfigured speed update, the velocity parameter of the fluid at the position of the target texel at the current moment, and the position of the target texture pixel at the current moment;
- the velocity parameter of the fluid at the position is determined as the velocity parameter of the fluid at the target texel position at the next moment, and the velocity parameter is used to update the color of the fluid. Inertial flow of fluid.
- the velocity of the fluid at each target texel location is updated by Equation (3):
- x is the position of the grid corresponding to the target texel; Represents the velocity parameter of the fluid at the x position at time t+1; dt represents the time step; is the velocity parameter of the fluid at the x position at time t; represents the second texel position corresponding to the target texel at the position x at time t; Represents the velocity parameter of the fluid at the second texel position at time t.
- a background image input by a user can be received, and the fluid and the background image can be displayed in a superimposed manner.
- a target object is detected in the user display interface, according to the detected target object in the user display interface
- the attribute information of the object is used to control the parameter change of the fluid in the image and display the dynamic fluid, so that the fluid can drive the background image to flow together.
- the interaction method is novel and interesting.
- an embodiment of the present disclosure further provides a dynamic fluid display device 20 , as shown in FIG. 2 , the dynamic fluid display device 20 may include:
- the first display module 21 is configured to display the image corresponding to the image input operation on the user display interface in response to the user's image input operation, and superimpose the fluid and the image to display;
- an acquisition module 22 configured to acquire attribute information of the target object when the target object is detected in the user display interface
- a determination module 23 configured to determine, according to the attribute information, changes in the parameters of the fluid at the positions of the target texels related to the target object in the image;
- the second display module 24 is configured to display the dynamic fluid in the image according to the change of the parameters of the fluid at each target texel position.
- the parameters of the fluid include speed parameters
- the dynamic fluid display device 20 further includes a color update module for:
- For each target texture pixel determine the first texture pixel position at the current moment according to the time step, the velocity parameter of the fluid at the target texture pixel position at the current moment, and the position of the target texture pixel at the current moment;
- the color at the first texel position at the current moment is determined as the color of the fluid at the target texel position at the next moment.
- the target object includes the target object in the video
- the attribute information of the target object includes the speed change amount of the target object
- the obtaining module 22 is used for:
- the speed change amount of the target object from the current moment to the next moment is determined.
- the target object includes a touch operation object
- the attribute information of the target object includes a speed change amount of the target object
- the acquiring module 22 is configured to:
- the speed change amount of the touch operation object from the current moment to the next moment is determined.
- the determining module 23 is used for:
- the variation of the velocity parameter of the fluid at each target texel position is determined.
- the attribute information of the target object also includes initial position information of the target object and the radius of action of the target object.
- the initial position information of the target object, the radius of action of the target object, the position information corresponding to the target texel, and the velocity parameter of the fluid at the position of the target texel at the current moment determine The velocity parameter of the fluid at the target texel position at the next moment.
- the dynamic fluid display device 20 further includes a speed update module for:
- the second texel position at the current moment is determined according to the time step, the velocity parameter of the fluid at the position of the target texel at the current moment, and the position of the target texel at the current moment;
- the velocity parameter of the fluid at the second texel position at the current moment is determined as the velocity parameter of the fluid at the target texel position at the next moment.
- the dynamic fluid display device of the embodiments of the present disclosure can execute the dynamic fluid display method provided by the embodiments of the present disclosure, and the implementation principle is similar.
- the actions performed by each module in the dynamic fluid display device of the embodiments of the present disclosure are: Corresponding to the steps in the dynamic fluid display method in each embodiment of the present disclosure, for the detailed functional description of each module of the dynamic fluid display device, reference may be made to the description in the corresponding dynamic fluid display method shown above. It is not repeated here.
- the dynamic fluid display device provided by the embodiment of the present disclosure can receive a background image input by the user, and display the fluid and the background image in a superimposed manner.
- a target object is detected in the user display interface, according to the detected target object in the user display interface It can control the parameter changes of the fluid in the image and display the dynamic fluid, so that the fluid can drive the background image to flow together.
- the interaction method is novel and interesting.
- FIG. 3 it shows a schematic structural diagram of an electronic device 300 suitable for implementing an embodiment of the present disclosure.
- the execution body of the technical solutions of the embodiments of the present disclosure may include, but is not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals ( Mobile terminals such as in-vehicle navigation terminals), wearable electronic devices, etc., and stationary terminals such as digital TVs, desktop computers, smart home devices, and the like.
- the electronic device shown in FIG. 3 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
- the electronic device includes: a memory and a processor, where the processor here may be referred to as a processing device 301 described below, and the memory may include a read-only memory (ROM) 302, a random access memory (RAM) 303, and a storage device hereinafter At least one of 308 as follows:
- an electronic device 300 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 301 that may be loaded into random access according to a program stored in a read only memory (ROM) 302 or from a storage device 308
- the program in the memory (RAM) 303 executes various appropriate actions and processes, for example, executes the above-described functions defined in the methods of the embodiments of the present disclosure.
- various programs and data required for the operation of the electronic device 300 are also stored.
- the processing device 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304.
- An input/output (I/O) interface 305 is also connected to bus 304 .
- the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 307 of a computer, etc.; a storage device 308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 309. Communication means 309 may allow electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 3 shows electronic device 300 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
- 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 in the flowchart.
- the computer program may be downloaded and installed from the network via the communication device 309, or from the storage device 308, or from the ROM 302.
- the processing device 301 When the computer program is executed by the processing device 301, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
- Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
- the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
- HTTP HyperText Transfer Protocol
- Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
- the above computer readable medium carries one or more programs, which when executed by the electronic device, cause the electronic device to perform the above functions defined in the methods of the embodiments of the present disclosure.
- the electronic device when executed by the electronic device, the electronic device is caused to perform the following operations: in response to the user's image input operation, display an image corresponding to the image input operation on the user display interface, and superimpose the fluid on the image display; when the target object is detected in the user display interface, obtain the attribute information of the target object; according to the attribute information, determine the change of the parameters of the fluid at the positions of each target texel related to the target object in the image; Changes in the parameters of the fluid at texel locations, showing dynamic fluids in the image.
- Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" 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.
- 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 (eg, using an Internet service provider through Internet connection).
- LAN local area network
- WAN wide area network
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
- the functions noted in the blocks 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.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
- the modules or units involved in the embodiments of the present disclosure may be implemented in software or hardware. Among them, the name of the module or unit does not constitute a limitation of the unit itself under certain circumstances.
- exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSPs Application Specific Standard Products
- SOCs Systems on Chips
- CPLDs Complex Programmable Logical Devices
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM compact disk read only memory
- magnetic storage or any suitable combination of the foregoing.
- the present disclosure provides a dynamic fluid display method, the method comprising:
- a dynamic fluid is displayed in the image based on changes in parameters of the fluid at the respective target texel locations.
- the parameters of the fluid include speed parameters, and for each target texel, the method further includes:
- the color at the first texel position at the current moment is determined as the color of the fluid at the target texel position at the next moment.
- the target object includes a target object in a video
- the attribute information of the target object includes a speed change amount of the target object
- the acquiring the attribute information of the target object includes:
- the speed change amount of the target object from the current moment to the next moment is determined.
- the target object includes a touch operation object
- the attribute information of the target object includes a speed change amount of the target object
- the acquiring the attribute information of the target object includes:
- the speed change amount of the touch operation object from the current moment to the next moment is determined.
- the determining in the image, according to the attribute information of the target object, changes in parameters of the fluid at the positions of the target texels related to the target object include:
- the variation of the velocity parameter of the fluid at each target texel position is determined.
- the attribute information of the target object further includes initial position information of the target object and an action radius of the target object, and the target object is determined according to the velocity change of the target object. Changes in velocity parameters of the fluid at each target texel position, including:
- the velocity parameter of the fluid at the texel position determines the velocity parameter of the fluid at the target texel position at the next moment.
- the method further includes:
- the velocity parameter of the fluid at the second texel position at the current moment is determined as the velocity parameter of the fluid at the target texel position at the next moment.
- the present disclosure provides a dynamic fluid display device comprising:
- a first display module configured to display an image corresponding to the image input operation on the user display interface in response to the user's image input operation, and superimpose the fluid and the image to display;
- an acquisition module configured to acquire attribute information of the target object when the target object is detected in the user display interface
- a determining module configured to determine, according to the attribute information, changes in parameters of the fluid at the positions of each target texel related to the target object in the image
- the second display module is configured to display the dynamic fluid in the image according to the change of the parameter of the fluid at the position of each target texel.
- the parameters of the fluid include speed parameters
- the dynamic fluid display device further includes a color update module for:
- the first texel position at the current moment is determined according to the time step, the velocity parameter of the fluid at the position of the target texel at the current moment, and the position of the target texel at the current moment;
- the color at the first texel position at the current moment is determined as the color of the fluid at the target texel position at the next moment.
- the target object includes a target object in a video
- the attribute information of the target object includes a speed change amount of the target object
- the acquiring module is configured to:
- the speed change amount of the target object from the current moment to the next moment is determined.
- the target object includes a touch operation object
- the attribute information of the target object includes a speed change amount of the target object
- the acquiring module is configured to:
- the speed change amount of the touch operation object from the current moment to the next moment is determined.
- the determining module is used for:
- the variation of the velocity parameter of the fluid at each target texel position is determined.
- the attribute information of the target object further includes the initial position information of the target object and the radius of action of the target object
- the determination module is based on the speed change of the target object
- the velocity parameter of the fluid at the texel position determines the velocity parameter of the fluid at the target texel position at the next moment.
- the dynamic fluid display device further includes a speed update module for:
- the second texel position at the current moment is determined according to the time step, the velocity parameter of the fluid at the position of the target texel at the current moment, and the position of the target texel at the current moment;
- the velocity parameter of the fluid at the second texel position at the current moment is determined as the velocity parameter of the fluid at the target texel position at the next moment.
- the present disclosure provides an electronic device, comprising:
- processors one or more processors
- a memory that stores one or more application programs, wherein the one or more application programs, when executed by the one or more processors, cause the electronic device to perform the dynamic fluid display method.
- the present disclosure provides a computer-readable medium for storing computer instructions that, when executed by a computer, cause the computer to execute the above-mentioned Dynamic fluid display method.
- the present disclosure provides a computer program product including computer instructions that, when executed by a computer, implement the above-described dynamic fluid display method.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
提供一种动态流体显示方法、装置、电子设备及可读介质,该方法包括:响应于用户的图像输入操作,在用户显示界面显示图像输入操作对应的图像,并将流体与图像叠加显示;当在用户显示界面中检测到目标对象时,获取目标对象的属性信息;根据属性信息,在图像中确定与目标对象有关的各目标纹理像素位置处的流体的参数的变化;根据各目标纹理像素位置处的流体的参数的变化,在图像中显示动态流体。
Description
相关申请的交叉引用
本申请要求于2020年12月25日提交的,申请名称为“动态流体显示方法、装置、电子设备和可读介质”的、中国专利申请号为“202011565590.4”的优先权,该中国专利申请的全部内容通过引用结合在本申请中。
本公开涉及计算机技术领域,具体而言,本公开涉及一种动态流体显示方法、装置、电子设备和可读介质。
随着计算机技术和通信技术的迅速发展,基于终端设备的各种应用程序得到了普遍应用,极大地丰富了人们的日常生活。用户可以通过各种应用程序进行娱乐、与其他用户分享日常生活等。为了增强趣味性,通常在游戏类或者视频拍摄类应用程序中添加交互方式以增加用户体验。
然而,现有技术中,应用在移动端的交互方式,玩法单一,趣味性不强。
本公开提供了一种动态流体显示方法、装置、电子设备和可读介质,用于解决现有技术中存在的问题。
第一方面,提供了一种动态流体显示方法,该方法包括:
响应于用户的图像输入操作,在用户显示界面显示图像输入操作对应的图像,并将流体与图像叠加显示;
当在用户显示界面中检测到目标对象时,获取目标对象的属性信息;
根据属性信息,在图像中确定与目标对象有关的各目标纹理像素位置处的流体的参数的变化;
根据各目标纹理像素位置处的流体的参数的变化,在图像中显示动态流体。
第二方面,提供了一种动态流体显示装置,该装置包括:
第一显示模块,用于响应于用户的图像输入操作,在用户显示界面显示图像输入操作对应的图像,并将流体与图像叠加显示;
获取模块,用于当在用户显示界面中检测到目标对象时,获取目标对象 的属性信息;
确定模块,用于根据属性信息,在图像中确定与目标对象有关的各目标纹理像素位置处的流体的参数的变化;
第二显示模块,用于根据各目标纹理像素位置处的流体的参数的变化,在图像中显示动态流体。
第三方面,本公开提供了一种电子设备,该电子设备包括:
一个或多个处理器;
存储器,存储一个或多个应用程序,其中一个或多个应用程序被一个或多个处理器执行时,使得电子设备执行如本公开的第一方面所示的动态流体显示方法对应的操作。
第四方面,本公开提供了一种计算机可读介质,计算机可读介质用于存储计算机指令,当计算机指令被计算机执行时,使得计算机可以执行如本公开的第一方面所示的动态流体显示方法。
第五方面,本公开提供了一种计算机程序产品,包括计算机指令,该计算机指令被计算机执行时实现如本公开的第一方面所示的动态流体显示方法。
本公开提供的技术方案带来的有益效果可以包括:
在本公开实施例提供的动态流体显示方法、装置、电子设备和可读介质,可以接收用户输入的背景图像,将流体和背景图像叠加显示,当在用户显示界面中检测到目标对象时,根据检测到的用户显示界面中的目标对象的属性信息,来控制图像中的流体的参数变化,显示动态流体,从而实现流体带动背景图像一起流动,交互方式新颖,趣味性强。
为了更清楚地说明本公开实施例中的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍。
图1为本公开实施例提供的一种动态流体显示方法的流程示意图;
图2为本公开实施例提供的一种动态流体显示装置的结构示意图;
图3为本公开实施例提供的一种电子设备的结构示意图。
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公 开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对装置、模块或单元进行区分,并非用于限定这些装置、模块或单元一定为不同的装置、模块或单元,也并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
下面以具体地实施例对本公开的技术方案以及本公开的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本公开的实施例进行描述。
本公开技术方案可以应用在涉及动态流体效果制作、应用以及使用等的应用程序中。本公开的技术方案可以应用在终端设备中,终端设备可以包括移动终端或者计算机设备,其中,移动终端可以包括例如智能手机、掌上电脑、平板电脑、带显示屏的可穿戴设备等等;计算机设备可以包括例如台式机、笔记本电脑、一体机、智能家居设备等。
本公开技术方案可以通过终端设备中的图形处理器(Graphics Processing Unit,GPU)来实现。
图1为本公开实施例提供的一种动态流体显示方法的流程示意图,如图1所示,该方法可以包括:
步骤S101,响应于用户的图像输入操作,在用户显示界面显示图像输入操作对应的图像,并将流体与图像叠加显示。
其中,用户显示界面可以为应用程序中的一个显示界面,本公开实施例所提供的方案可以实现为应用程序或者应用程序的功能插件,当终端设备检测到用户针对应用程序的启动指令时,启动应用程序,展示用户显示界面;或者,当终端设备检测到用户针对应用程序的该功能插件的触发指令时,展示用户显示界面。
终端设备可以接收用户输入的图像,作为背景图像,并将该背景图像划分为多个网格,按照水平方向和竖直方向进行划分,其中,水平方向对应图像的宽度方向,垂直方向对应图像的高度方向。每个网格和GPU的每个纹理像素的位置一一对应,二维平面中,纹理像素和终端设备的屏幕显示像素的位置一一对应,当用户显示界面中显示背景图像时,每个纹理像素和背景图像中的各像素一一对应,也就是说,各网格和背景图像中的各像素一一对应。背景图像中显示有流体,使用纹理像素来保存各网格对应的流体的参数,包括初始速度参数等。
背景图像可以为任意颜色的图像,既可以为单一颜色,也可以为多种颜色,流体可以为任意颜色的流体,流体可以为静止状态也可以为运动状态,流体与用户输入的背景图像叠加进行显示。可选的,流体的颜色和背景图像的颜色不同,这样,在用户显示界面中显示流体和背景图像时,显示效果更好。
在一示例中,流体为无色透明的静止状态,背景图像是显示内容为风景的多种颜色构成的图像,将流体叠加显示在背景图像中,在用户显示界面中呈现出叠加了一层透明流体的背景图像。
步骤S102,当在用户显示界面中检测到目标对象时,获取目标对象的属性信息。
其中,目标对象可以是视频中的特定对象,包括但不限于:人或者其他 生物的脸部、头部、手势、手指等。
其中,手势可以包括但不限于:手指向上、握拳、比心、点赞等。
终端设备可以启动终端设备的视频采集装置(例如,摄像头)采集视频。视频采集的持续时间可以是预设时间段,也可以根据视频采集开始指令和视频采集结束指令来确定视频采集的持续时间,本公开不对此进行限制。采集视频过程中,终端设备在用户显示界面,也就是视频画面中检测目标对象。
可选的,目标对象还可以是触控操作对象,例如,用户用手指触摸终端设备的显示屏,并在显示屏上滑动,终端设备检测到触控操作指令,则输入触控操作指令的对象为触控操作对象(此时,手指为触控操作对象,即目标对象)。
其中,目标对象的属性信息为表示目标对象的特定属性的信息。特定属性可以包括目标对象的速度、位置相关的信息。
可选的,目标对象的位置可以是目标对象在用户显示界面中对应的至少一个网格的位置。
目标对象的类型不同,获取属性信息的具体实现方式不同。
在一种可能的实现方式中,目标对象包括视频中的目标对象,目标对象的属性信息包括目标对象的速度变化量,获取目标对象的属性信息,包括:
获取目标对象在视频的各帧图像中的位置;
根据目标对象在视频的各帧图像中的位置,确定目标对象从一帧图像到下一帧图像的移动距离;
获取目标对象从一帧图像到下一帧图像的移动时间;
根据移动距离和移动时间,确定目标对象的各时刻的移动速度;
根据目标对象的各时刻的移动速度,确定目标对象的从当前时刻到下一时刻的速度变化量。
在实际应用中,目标对象可以是视频中的目标对象,例如,可以是视频中的一个手势。在视频中检测到手势后,获取该手势在视频的各帧图像中的位置,根据手势在各帧图像中的位置,可以得到手势在相邻帧图像中的移动距离,获取手势在相邻帧图像中的移动时间,根据手势的移动距离和移动时间确定手势的移动速度,根据手势在各时刻的移动速度,确定手势的速度变化量。
在一种可能的实现方式中,目标对象包括触控操作对象,目标对象的属性信息包括目标对象的速度变化量,获取目标对象的属性信息,包括:
检测触控操作对象各时刻在用户显示界面中的滑动操作速度;
基于滑动操作速度,确定触控操作对象从当前时刻到下一时刻的速度变化量。
在实际应用中,目标对象可以是触控操作对象,例如,手指触屏滑动,终端设备检测滑动操作在各时刻对应的位置,根据各时刻对应的位置确定从当前时刻到下一时刻的移动距离,确定当前时刻到下一时刻的时间间隔,根据移动距离和时间间隔,可以计算出各时刻滑动操作速度,根据各时刻的滑动操作速度,得到手指滑动的速度变化量。
步骤S103,根据属性信息,在图像中确定与目标对象有关的各目标纹理像素位置处的流体的参数的变化。
根据目标对象的位置、速度等的变化,可以在图像中确定与目标对象有关的各目标纹理像素位置处的流体的参数的变化,从而实现用户和终端设备之间的交互。其中,目标纹理像素为在图像中与目标对象有关的纹理像素,也就是与目标对象的作用范围相对应的纹理像素,目标纹理像素的数量可以为至少一个。其中,流体的参数可以是反应流体的运动状态、显示状态等相关的参数。
步骤S104,根据各目标纹理像素位置处的流体的参数的变化,在图像中显示动态流体。
具体的,根据流体的运动状态、显示状态等相关的参数的变化,对流体模拟之后的效果图像在图像中进行显示,从而呈现流体流动带动背景图像一起运动,在展示流体的动态效果时,可以通过视频或者动态图的形式进行展示。
在一种可能的实现方式中,流体的参数包括速度参数,对于每一目标纹理像素,该方法还包括:
获取速度参数更新的时间步长;
获取当前时刻目标纹理像素位置处流体的速度参数;
根据时间步长、当前时刻目标纹理像素位置处流体的速度参数、以及当前时刻目标纹理像素的位置,确定当前时刻第一纹理像素位置;
将当前时刻第一纹理像素位置处的颜色确定为下一时刻目标纹理像素位置处流体的颜色。
在实际应用中,可以预先配置速度参数更新的时间步长,根据时间步长更新各目标纹理像素位置处流体的速度参数,随着速度参数的更新,同时更新各目标纹理像素位置处流体的颜色。
在一示例中,通过公式(1)更新各目标纹理像素位置处流体的颜色:
其中,x为目标纹理像素对应的网格的位置;
表示t+1时刻流体在x位置处的颜色;dt表示时间步长;
为t时刻x位置处流体的速度参数;
表示t时刻第一纹理像素位置;
表示t时刻第一纹理像素位置处流体的颜色。
在一种可能的实现方式中,根据目标对象的属性信息,在图像中确定与目标对象有关的各目标纹理像素位置处的流体的参数的变化,包括:
根据目标对象的速度变化量,确定各目标纹理像素位置处流体的速度参数的变化。
在实际应用中,可以根据目标对象的速度变化量,调整各目标纹理像素位置处流体的速度参数,使得流体根据目标对象的速度变化而产生速度变化,流体的速度变化可以包括速度大小的变化或者速度方向的变化中的至少一种。
在一种可能的实现方式中,目标对象的属性信息还包括目标对象的初始位置信息以及目标对象的作用半径,根据目标对象的速度变化量,确定各目标纹理像素位置处流体的速度参数的变化,包括:
对于每一目标纹理像素,获取目标纹理像素对应的位置信息;
对于每一目标纹理像素,根据目标对象的速度变化量、目标对象的初始位置信息、目标对象的作用半径、目标纹理像素对应的位置信息、以及当前时刻目标纹理像素位置处流体的速度参数,确定下一时刻目标纹理像素位置处流体的速度参数。
在实际应用中,目标对象的属性信息还包括目标对象的初始位置信息以及目标对象的作用半径,目标对象的初始位置信息为目标对象在用户显示界 面中首次出现时的位置,可以是目标对象在用户显示界面中首次出现时对应的至少一个网格的位置。目标对象的作用半径表示目标对象在用户显示界面中的作用范围,作用半径可以根据具体需要预先进行配置,作用半径越大,目标对象在用户显示界面中的作用范围越大。目标对象在用户显示界面中的位置与各目标纹理像素的位置相对应,根据目标对象的位置可以确定各目标纹理像素的位置。根据目标对象的速度变化量、目标对象的初始位置信息、目标对象的作用半径、目标纹理像素对应的位置信息、以及当前时刻目标纹理像素位置处流体的速度,确定下一时刻目标纹理像素位置处流体的速度。
在一示例中,根据公式(2)对目标纹理像素位置处流体的速度进行更新:
其中,
表示t+1时刻目标纹理像素位置x处流体的速度参数,
表示t时刻目标纹理像素位置x处流体的速度参数,x表示目标纹理像素对应的网格位置即对应于目标纹理像素位置,p表示目标对象的初始位置,r表示作用半径,Δv表示目标对象从t到t+1时刻的速度变化量。
在一种可能的实现方式中,若在用户显示界面中未检测到目标对象,对于每一目标纹理像素,该方法还包括:
根据时间步长、当前时刻目标纹理像素位置处流体的速度参数、以及当前时刻目标纹理像素的位置,确定当前时刻第二纹理像素位置;
将当前时刻第二纹理像素位置处的流体的速度参数确定为下一时刻目标纹理像素位置处流体的速度参数。
在实际应用中,若流体初始状态为静止状态,当检测到目标对象之后,根据目标对象的属性信息,图像中的各目标纹理像素位置处的流体的参数发生变化,从而使流体带动图像开始流动,若某一时刻,用户停止交互动作,也就是说,用户显示界面中检测不到目标对象了,则该时刻流体按照惯性继续流动,具体处理方式为:对于图像中的每一目标纹理像素,根据预配置的速度更新的时间步长、当前时刻该目标纹理像素位置处流体的速度参数、以及当前时刻该目标纹理像素的位置,确定当前时刻第二纹理像素位置;将当前时刻第二纹理像素位置处的流体的速度参数确定为下一时刻该目标纹理 像素位置处流体的速度参数,并且利用速度参数更新流体的颜色,可以按照公式(1)所示的方法更新流体的颜色,使得图像随流体惯性流动。
在一示例中,通过公式(3)更新各目标纹理像素位置处流体的速度:
其中,x为目标纹理像素对应的网格的位置;
表示t+1时刻流体在x位置处的速度参数;dt表示时间步长;
为t时刻x位置处流体的速度参数;
表示t时刻位置x处的目标纹理像素对应的第二纹理像素位置;
表示t时刻第二纹理像素位置处流体的速度参数。
在本公开实施例提供的动态流体显示方法,可以接收用户输入的背景图像,将流体和背景图像叠加显示,当在用户显示界面中检测到目标对象时,根据检测到的用户显示界面中的目标对象的属性信息,来控制图像中的流体的参数变化,显示动态流体,从而实现流体带动背景图像一起流动,交互方式新颖,趣味性强。
基于与图1中所示方法相同的原理,本公开的实施例中还提供了一种动态流体显示装置20,如图2所示,该动态流体显示装置20可以包括:
第一显示模块21,用于响应于用户的图像输入操作,在用户显示界面显示图像输入操作对应的图像,并将流体与图像叠加显示;
获取模块22,用于当在用户显示界面中检测到目标对象时,获取目标对象的属性信息;
确定模块23,用于根据属性信息,在图像中确定与目标对象有关的各目标纹理像素位置处的流体的参数的变化;
第二显示模块24,用于根据各目标纹理像素位置处的流体的参数的变化,在图像中显示动态流体。
在一种可能的实现方式中,流体的参数包括速度参数,动态流体显示装置20还包括颜色更新模块,用于:
获取速度参数更新的时间步长;
对于每一目标纹理像素,获取当前时刻目标纹理像素位置处流体的速度参数;
对于每一目标纹理像素,根据时间步长、当前时刻目标纹理像素位置处 流体的速度参数、以及当前时刻目标纹理像素的位置,确定当前时刻第一纹理像素位置;
将当前时刻第一纹理像素位置处的颜色确定为下一时刻目标纹理像素位置处流体的颜色。
在一种可能的实现方式中,目标对象包括视频中的目标对象,目标对象的属性信息包括目标对象的速度变化量,获取模块22,用于:
获取目标对象在视频的各帧图像中的位置;
根据目标对象在视频的各帧图像中的位置,确定目标对象从一帧图像到下一帧图像的移动距离;
获取目标对象从一帧图像到下一帧图像的移动时间;
根据移动距离和移动时间,确定目标对象的各时刻的移动速度;
根据目标对象的各时刻的移动速度,确定目标对象的从当前时刻到下一时刻的速度变化量。
在一种可能的实现方式中,目标对象包括触控操作对象,目标对象的属性信息包括目标对象的速度变化量,获取模块22,用于:
检测触控操作对象各时刻在用户显示界面中的滑动操作速度;
基于滑动操作速度,确定触控操作对象从当前时刻到下一时刻的速度变化量。
在一种可能的实现方式中,根据目标对象的属性信息,确定模块23,用于:
根据目标对象的速度变化量,确定各目标纹理像素位置处流体的速度参数的变化。
在一种可能的实现方式中,目标对象的属性信息还包括目标对象的初始位置信息以及目标对象的作用半径,确定模块23在根据目标对象的速度变化量,确定各目标纹理像素位置处流体的速度参数的变化时,用于:
对于每一目标纹理像素,获取目标纹理像素对应的位置信息;
对于每一目标纹理像素,根据目标对象的速度变化量、目标对象的初始位置信息、目标对象的作用半径、目标纹理像素对应的位置信息、以及当前时刻目标纹理像素位置处流体的速度参数,确定下一时刻目标纹理像素位置处流体的速度参数。
在一种可能的实现方式中,若在用户显示界面中未检测到目标对象,动态流体显示装置20还包括速度更新模块,用于:
对于每一目标纹理像素,根据时间步长、当前时刻目标纹理像素位置处流体的速度参数、以及当前时刻目标纹理像素的位置,确定当前时刻第二纹理像素位置;
对于每一目标纹理像素,将当前时刻第二纹理像素位置处的流体的速度参数确定为下一时刻目标纹理像素位置处流体的速度参数。
本公开实施例的动态流体显示装置可执行本公开的实施例所提供的动态流体显示方法,其实现原理相类似,本公开各实施例中的动态流体显示装置中的各模块所执行的动作是与本公开各实施例中的动态流体显示方法中的步骤相对应的,对于动态流体显示装置的各模块的详细功能描述具体可以参见前文中所示的对应的动态流体显示方法中的描述,此处不再赘述。
本公开实施例提供的动态流体显示装置,可以接收用户输入的背景图像,将流体和背景图像叠加显示,当在用户显示界面中检测到目标对象时,根据检测到的用户显示界面中的目标对象的属性信息,来控制图像中的流体的参数变化,显示动态流体,从而实现流体带动背景图像一起流动,交互方式新颖,趣味性强。
下面参考图3,其示出了适于用来实现本公开实施例的电子设备300的结构示意图。本公开实施例技术方案的执行主体可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)、可穿戴电子设备等等的移动终端以及诸如数字TV、台式计算机、智能家居设备等等的固定终端。图3示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
电子设备包括:存储器以及处理器,其中,这里的处理器可以称为下文所述的处理装置301,存储器可以包括下文中的只读存储器(ROM)302、随机访问存储器(RAM)303以及存储装置308中的至少一项,具体如下所示:
如图3所示,电子设备300可以包括处理装置(例如中央处理器、图形处理器等)301,其可以根据存储在只读存储器(ROM)302中的程序或者从存储装置308加载到随机访问存储器(RAM)303中的程序而执行各种适当 的动作和处理,例如,执行本公开实施例的方法中限定的上述功能。在RAM 303中,还存储有电子设备300操作所需的各种程序和数据。处理装置301、ROM 302以及RAM 303通过总线304彼此相连。输入/输出(I/O)接口305也连接至总线304。
通常,以下装置可以连接至I/O接口305:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置306;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置307;包括例如磁带、硬盘等的存储装置308;以及通信装置309。通信装置309可以允许电子设备300与其他设备进行无线或有线通信以交换数据。虽然图3示出了具有各种装置的电子设备300,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置309从网络上被下载和安装,或者从存储装置308被安装,或者从ROM 302被安装。在该计算机程序被处理装置301执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但 不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行本公开实施例的方法中限定的上述功能。例如,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行如下操作:响应于用户的图像输入操作,在用户显示界面显示图像输入操作对应的图像,并将流体与图像叠加显示;当在用户显示界面中检测到目标对象时,获取目标对象的属性信息;根据属性信息,在图像中确定与目标对象有关的各目标纹理像素位置处的流体的参数的变化;根据各目标纹理像素位置处的流体的参数的变化,在图像中显示动态流体。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到 外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块或单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块或单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,本公开提供了一种动态流体显示方法,所述方法包括:
响应于用户的图像输入操作,在用户显示界面显示所述图像输入操作对 应的图像,并将流体与所述图像叠加显示;
当在所述用户显示界面中检测到目标对象时,获取所述目标对象的属性信息;
根据所述属性信息,在所述图像中确定与所述目标对象有关的各目标纹理像素位置处的流体的参数的变化;
根据所述各目标纹理像素位置处的流体的参数的变化,在所述图像中显示动态流体。
在一种可能的实现方式中,所述流体的参数包括速度参数,对于每一目标纹理像素,所述方法还包括:
获取所述速度参数更新的时间步长;
获取当前时刻所述目标纹理像素位置处所述流体的速度参数;
根据所述时间步长、当前时刻所述目标纹理像素位置处所述流体的速度参数、以及当前时刻所述目标纹理像素的位置,确定当前时刻第一纹理像素位置;
将当前时刻所述第一纹理像素位置处的颜色确定为下一时刻所述目标纹理像素位置处所述流体的颜色。
在一种可能的实现方式中,所述目标对象包括视频中的目标对象,所述目标对象的属性信息包括所述目标对象的速度变化量,所述获取所述目标对象的属性信息,包括:
获取所述目标对象在视频的各帧图像中的位置;
根据所述目标对象在视频的各帧图像中的位置,确定所述目标对象从一帧图像到下一帧图像的移动距离;
获取所述目标对象从一帧图像到下一帧图像的移动时间;
根据所述移动距离和所述移动时间,确定所述目标对象的各时刻的移动速度;
根据所述目标对象的各时刻的移动速度,确定所述目标对象的从当前时刻到下一时刻的速度变化量。
在一种可能的实现方式中,所述目标对象包括触控操作对象,所述目标对象的属性信息包括所述目标对象的速度变化量,所述获取所述目标对象的属性信息,包括:
检测所述触控操作对象各时刻在所述用户显示界面中的滑动操作速度;
基于所述滑动操作速度,确定所述触控操作对象从当前时刻到下一时刻的速度变化量。
在一种可能的实现方式中,所述根据所述目标对象的属性信息,在所述图像中确定与所述目标对象有关的各目标纹理像素位置处的流体的参数的变化,包括:
根据所述目标对象的速度变化量,确定所述各目标纹理像素位置处所述流体的速度参数的变化。
在一种可能的实现方式中,所述目标对象的属性信息还包括所述目标对象的初始位置信息以及所述目标对象的作用半径,所述根据所述目标对象的速度变化量,确定所述各目标纹理像素位置处所述流体的速度参数的变化,包括:
对于每一目标纹理像素,获取所述目标纹理像素对应的位置信息;
对于每一目标纹理像素,根据所述目标对象的速度变化量、所述目标对象的初始位置信息、所述目标对象的作用半径、所述目标纹理像素对应的位置信息、以及当前时刻所述目标纹理像素位置处所述流体的速度参数,确定下一时刻所述目标纹理像素位置处所述流体的速度参数。
在一种可能的实现方式中,若在所述用户显示界面中未检测到目标对象,对于每一目标纹理像素,所述方法还包括:
根据所述时间步长、当前时刻所述目标纹理像素位置处所述流体的速度参数、以及当前时刻所述目标纹理像素的位置,确定当前时刻第二纹理像素位置;
将当前时刻所述第二纹理像素位置处的流体的速度参数确定为下一时刻所述目标纹理像素位置处所述流体的速度参数。
根据本公开的一个或多个实施例,本公开提供了一种动态流体显示装置,所述装置包括:
第一显示模块,用于响应于用户的图像输入操作,在用户显示界面显示所述图像输入操作对应的图像,并将流体与所述图像叠加显示;
获取模块,用于当在所述用户显示界面中检测到目标对象时,获取所述目标对象的属性信息;
确定模块,用于根据所述属性信息,在所述图像中确定与所述目标对象有关的各目标纹理像素位置处的流体的参数的变化;
第二显示模块,用于根据所述各目标纹理像素位置处的流体的参数的变化,在所述图像中显示动态流体。
在一种可能的实现方式中,所述流体的参数包括速度参数,所述动态流体显示装置还包括颜色更新模块,用于:
获取所述速度参数更新的时间步长;
对于每一目标纹理像素,获取当前时刻所述目标纹理像素位置处所述流体的速度参数;
对于每一目标纹理像素,根据所述时间步长、当前时刻所述目标纹理像素位置处所述流体的速度参数、以及当前时刻所述目标纹理像素的位置,确定当前时刻第一纹理像素位置;
将当前时刻所述第一纹理像素位置处的颜色确定为下一时刻所述目标纹理像素位置处所述流体的颜色。
在一种可能的实现方式中,所述目标对象包括视频中的目标对象,所述目标对象的属性信息包括所述目标对象的速度变化量,所述获取模块,用于:
获取所述目标对象在视频的各帧图像中的位置;
根据所述目标对象在视频的各帧图像中的位置,确定所述目标对象从一帧图像到下一帧图像的移动距离;
获取所述目标对象从一帧图像到下一帧图像的移动时间;
根据所述移动距离和所述移动时间,确定所述目标对象的各时刻的移动速度;
根据所述目标对象的各时刻的移动速度,确定所述目标对象的从当前时刻到下一时刻的速度变化量。
在一种可能的实现方式中,所述目标对象包括触控操作对象,所述目标对象的属性信息包括所述目标对象的速度变化量,所述获取模块,用于:
检测所述触控操作对象各时刻在所述用户显示界面中的滑动操作速度;
基于所述滑动操作速度,确定所述触控操作对象从当前时刻到下一时刻的速度变化量。
在一种可能的实现方式中,所述确定模块,用于:
根据所述目标对象的速度变化量,确定所述各目标纹理像素位置处所述流体的速度参数的变化。
在一种可能的实现方式中,所述目标对象的属性信息还包括所述目标对象的初始位置信息以及所述目标对象的作用半径,所述确定模块在根据所述目标对象的速度变化量,确定所述各目标纹理像素位置处所述流体的速度参数的变化时,用于:
对于每一目标纹理像素,获取所述目标纹理像素对应的位置信息;
对于每一目标纹理像素,根据所述目标对象的速度变化量、所述目标对象的初始位置信息、所述目标对象的作用半径、所述目标纹理像素对应的位置信息、以及当前时刻所述目标纹理像素位置处所述流体的速度参数,确定下一时刻所述目标纹理像素位置处所述流体的速度参数。
在一种可能的实现方式中,若在所述用户显示界面中未检测到目标对象,对于每一目标纹理像素,所述动态流体显示装置还包括速度更新模块,用于:
对于每一目标纹理像素,根据所述时间步长、当前时刻所述目标纹理像素位置处所述流体的速度参数、以及当前时刻所述目标纹理像素的位置,确定当前时刻第二纹理像素位置;
对于每一目标纹理像素,将当前时刻所述第二纹理像素位置处的流体的速度参数确定为下一时刻所述目标纹理像素位置处所述流体的速度参数。
根据本公开的一个或多个实施例,本公开提供了一种电子设备,包括:
一个或多个处理器;
存储器,存储一个或多个应用程序,其中,当所述一个或多个应用程序被所述一个或多个处理器执行时,使得所述电子设备执行所述动态流体显示方法。
根据本公开的一个或多个实施例,本公开提供了一种计算机可读介质,所述计算机可读介质用于存储计算机指令,当所述计算机指令被计算机执行时,使得所述计算机执行上述动态流体显示方法。
根据本公开的一个或多个实施例,本公开提供了一种计算机程序产品,包括计算机指令,该计算机指令被计算机执行时实现上述动态流体显示方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。
Claims (11)
- 一种动态流体显示方法,所述方法包括:响应于用户的图像输入操作,在用户显示界面显示所述图像输入操作对应的图像,并将流体与所述图像叠加显示;当在所述用户显示界面中检测到目标对象时,获取所述目标对象的属性信息;根据所述属性信息,在所述图像中确定与所述目标对象有关的各目标纹理像素位置处的流体的参数的变化;根据所述各目标纹理像素位置处的流体的参数的变化,在所述图像中显示动态流体。
- 根据权利要求1所述的动态流体显示方法,其中,所述流体的参数包括速度参数,对于每一目标纹理像素,所述方法还包括:获取所述速度参数更新的时间步长;获取当前时刻所述目标纹理像素位置处所述流体的速度参数;根据所述时间步长、当前时刻所述目标纹理像素位置处所述流体的速度参数、以及当前时刻所述目标纹理像素的位置,确定当前时刻第一纹理像素位置;将当前时刻所述第一纹理像素位置处的颜色确定为下一时刻所述目标纹理像素位置处所述流体的颜色。
- 根据权利要求1所述的动态流体显示方法,其中,所述目标对象包括视频中的目标对象,所述目标对象的属性信息包括所述目标对象的速度变化量,所述获取所述目标对象的属性信息,包括:获取所述目标对象在视频的各帧图像中的位置;根据所述目标对象在视频的各帧图像中的位置,确定所述目标对象从一帧图像到下一帧图像的移动距离;获取所述目标对象从一帧图像到下一帧图像的移动时间;根据所述移动距离和所述移动时间,确定所述目标对象的各时刻的移动速度;根据所述目标对象的各时刻的移动速度,确定所述目标对象的从当前时 刻到下一时刻的速度变化量。
- 根据权利要求1所述的动态流体显示方法,其中,所述目标对象包括触控操作对象,所述目标对象的属性信息包括所述目标对象的速度变化量,所述获取所述目标对象的属性信息,包括:检测所述触控操作对象各时刻在所述用户显示界面中的滑动操作速度;基于所述滑动操作速度,确定所述触控操作对象从当前时刻到下一时刻的速度变化量。
- 根据权利要求3或4所述的动态流体显示方法,其中,所述根据所述目标对象的属性信息,在所述图像中确定与所述目标对象有关的各目标纹理像素位置处的流体的参数的变化,包括:根据所述目标对象的速度变化量,确定所述各目标纹理像素位置处所述流体的速度参数的变化。
- 根据权利要求5所述的动态流体显示方法,其中,所述目标对象的属性信息还包括所述目标对象的初始位置信息以及所述目标对象的作用半径,所述根据所述目标对象的速度变化量,确定所述各目标纹理像素位置处所述流体的速度参数的变化,包括:对于每一目标纹理像素,获取所述目标纹理像素对应的位置信息;对于每一目标纹理像素,根据所述目标对象的速度变化量、所述目标对象的初始位置信息、所述目标对象的作用半径、所述目标纹理像素对应的位置信息、以及当前时刻所述目标纹理像素位置处所述流体的速度参数,确定下一时刻所述目标纹理像素位置处所述流体的速度参数。
- 根据权利要求2所述的动态流体显示方法,其中,若在所述用户显示界面中未检测到目标对象,则对于每一目标纹理像素,所述方法还包括:根据所述时间步长、当前时刻所述目标纹理像素位置处所述流体的速度参数、以及当前时刻所述目标纹理像素的位置,确定当前时刻第二纹理像素位置;将当前时刻所述第二纹理像素位置处的流体的速度参数确定为下一时刻所述目标纹理像素位置处所述流体的速度参数。
- 一种动态流体显示装置,所述装置包括:第一显示模块,用于响应于用户的图像输入操作,在用户显示界面显示 所述图像输入操作对应的图像,并将流体与所述图像叠加显示;获取模块,用于当在所述用户显示界面中检测到目标对象时,获取所述目标对象的属性信息;确定模块,用于根据所述属性信息,在所述图像中确定与所述目标对象有关的各目标纹理像素位置处的流体的参数的变化;第二显示模块,用于根据所述各目标纹理像素位置处的流体的参数的变化,在所述图像中显示动态流体。
- 一种电子设备,包括:一个或多个处理器;存储器,存储一个或多个应用程序,其中所述一个或多个应用程序被所述一个或多个处理器执行时,使得所述电子设备执行根据权利要求1-7任一项所述的动态流体显示方法。
- 一种计算机可读介质,所述计算机可读介质用于存储计算机指令,当所述计算机指令被计算机执行时,使得所述计算机执行上述权利要求1-7中任一项所述的动态流体显示方法。
- 一种计算机程序产品,包括计算机指令,所述计算机指令被计算机执行时实现权利要求1-7中任一项所述的动态流体显示方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/340,400 US20230334730A1 (en) | 2020-12-25 | 2023-06-23 | Dynamic fluid display method and apparatus, electronic device, and readable medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011565590.4 | 2020-12-25 | ||
CN202011565590.4A CN114757815A (zh) | 2020-12-25 | 2020-12-25 | 动态流体显示方法、装置、电子设备和可读介质 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/133137 Continuation-In-Part WO2022135018A1 (zh) | 2020-12-25 | 2021-11-25 | 动态流体显示方法、装置、电子设备和可读介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/340,400 Continuation-In-Part US20230334730A1 (en) | 2020-12-25 | 2023-06-23 | Dynamic fluid display method and apparatus, electronic device, and readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022135017A1 true WO2022135017A1 (zh) | 2022-06-30 |
Family
ID=82157357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/133136 WO2022135017A1 (zh) | 2020-12-25 | 2021-11-25 | 动态流体显示方法、装置、电子设备和可读介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114757815A (zh) |
WO (1) | WO2022135017A1 (zh) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104781779A (zh) * | 2012-11-06 | 2015-07-15 | 诺基亚技术有限公司 | 用于创建针对图像的运动效果的方法和装置 |
CN105303598A (zh) * | 2015-10-23 | 2016-02-03 | 浙江工业大学 | 基于纹理传输的多风格视频艺术化处理方法 |
WO2017042985A1 (ja) * | 2015-09-09 | 2017-03-16 | チームラボ株式会社 | 情報提供装置 |
CN110930487A (zh) * | 2019-11-29 | 2020-03-27 | 珠海豹趣科技有限公司 | 一种动画实现方法及装置 |
CN113114841A (zh) * | 2021-03-26 | 2021-07-13 | 维沃移动通信有限公司 | 动态壁纸获取方法、装置 |
-
2020
- 2020-12-25 CN CN202011565590.4A patent/CN114757815A/zh active Pending
-
2021
- 2021-11-25 WO PCT/CN2021/133136 patent/WO2022135017A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104781779A (zh) * | 2012-11-06 | 2015-07-15 | 诺基亚技术有限公司 | 用于创建针对图像的运动效果的方法和装置 |
WO2017042985A1 (ja) * | 2015-09-09 | 2017-03-16 | チームラボ株式会社 | 情報提供装置 |
CN105303598A (zh) * | 2015-10-23 | 2016-02-03 | 浙江工业大学 | 基于纹理传输的多风格视频艺术化处理方法 |
CN110930487A (zh) * | 2019-11-29 | 2020-03-27 | 珠海豹趣科技有限公司 | 一种动画实现方法及装置 |
CN113114841A (zh) * | 2021-03-26 | 2021-07-13 | 维沃移动通信有限公司 | 动态壁纸获取方法、装置 |
Also Published As
Publication number | Publication date |
---|---|
CN114757815A (zh) | 2022-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021139408A1 (zh) | 显示特效的方法、装置、存储介质及电子设备 | |
WO2022111239A1 (zh) | 投屏控制方法、设备及电子设备 | |
WO2022218096A1 (zh) | 基于视频的交互方法、装置、存储介质及电子设备 | |
WO2022088928A1 (zh) | 弹性对象的渲染方法、装置、设备及存储介质 | |
US20240319865A1 (en) | Page display method and apparatus, electronic device, storage medium and program product | |
CN112965780B (zh) | 图像显示方法、装置、设备及介质 | |
WO2020156058A1 (zh) | 基于终端的图像拖拽变形实现方法和装置 | |
WO2023116801A1 (zh) | 一种粒子效果渲染方法、装置、设备及介质 | |
WO2023169305A1 (zh) | 特效视频生成方法、装置、电子设备及存储介质 | |
WO2022183887A1 (zh) | 视频编辑及播放方法、装置、设备、介质 | |
WO2024037563A1 (zh) | 内容展示方法、装置、设备及存储介质 | |
WO2023216936A1 (zh) | 视频播放方法、装置、电子设备、存储介质和程序产品 | |
US20230401764A1 (en) | Image processing method and apparatus, electronic device and computer readable medium | |
WO2023193642A1 (zh) | 视频处理方法、装置、设备及介质 | |
WO2023202590A1 (zh) | 页面切换方法、装置以及终端设备的交互方法 | |
WO2024016924A1 (zh) | 视频处理方法、装置、电子设备及存储介质 | |
WO2022227909A1 (zh) | 视频的动画添加方法、装置、设备及介质 | |
WO2023121569A2 (zh) | 粒子特效渲染方法、装置、设备及存储介质 | |
CN111652675A (zh) | 展示方法、装置和电子设备 | |
WO2022033444A1 (zh) | 动态流体效果处理方法、装置、电子设备和可读介质 | |
WO2021244651A1 (zh) | 信息显示方法、装置、终端及存储介质 | |
WO2024131532A1 (zh) | 发丝处理方法、装置、设备及存储介质 | |
WO2023246302A9 (zh) | 字幕的显示方法、装置、设备及介质 | |
WO2023174087A1 (zh) | 特效视频生成方法、装置、设备及存储介质 | |
WO2022135017A1 (zh) | 动态流体显示方法、装置、电子设备和可读介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21909016 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06.11.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21909016 Country of ref document: EP Kind code of ref document: A1 |