Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device, apparatus and storage medium for realizing dynamic effect of water ripple

A technology of water ripples and horizontal motion, applied in the field of image processing, can solve problems such as performance bottlenecks

Active Publication Date: 2019-03-01
SHENZHEN SKYWORTH SOFTWARE
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method, device, device, and storage medium for realizing water ripple motion effects, so as to solve the technical problem that the water ripple motion effect method in the prior art easily triggers a performance bottleneck

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device, apparatus and storage medium for realizing dynamic effect of water ripple
  • Method, device, apparatus and storage medium for realizing dynamic effect of water ripple
  • Method, device, apparatus and storage medium for realizing dynamic effect of water ripple

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] figure 1 It is a flow chart of the method for realizing the water ripple dynamic effect provided by Embodiment 1 of the present invention. The technical solution of this embodiment is applicable to the situation of realizing the dynamic effect of water ripples. The method can be executed by the device for realizing the water ripple motion effect provided by the embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and configured to be applied in a processor. The method specifically includes the following steps:

[0050] S101. Obtain the cycle number of the preset cycle curve that can be accommodated in the display window of the control, as the display cycle number.

[0051] Among them, the preset periodic function is generated by the preset periodic function. For the function y=f(x), if there is a non-zero constant T, so that when x takes every value in the domain, f(x+T) = f(x) is established, then the function y...

Embodiment 2

[0075] Figure 6 It is a flow chart of the method for realizing the water ripple dynamic effect provided by the second embodiment of the present invention. On the basis of the foregoing embodiments, the embodiment of the present invention adds a step of displaying the percentage of the current process of the target object. Correspondingly, the method of this embodiment includes:

[0076] S1001. Obtain the percentage of the current process of the target object.

[0077] The water ripple effect is usually used to indicate the percentage of the current process of the target object, such as the percentage of song downloads. As time goes by, the percentage of song downloads will increase. Therefore, in order to accurately reflect the download process of the song in real time, it is necessary to detect the song Change in download percentage. Based on this, this embodiment obtains the song download percentage based on the preset forward movement times of the image. For example, if...

Embodiment 3

[0088] Figure 7 It is a structural block diagram of the device for realizing the water ripple dynamic effect provided by the embodiment of the present invention. The device is used to execute the method for realizing the water ripple motion effect provided by any of the above embodiments, and the device can be implemented by software or hardware. The unit includes:

[0089] The display cycle number acquisition module 11 is used to obtain the cycle number of the preset cycle curve that can be accommodated in the display window of the control, as the display cycle number;

[0090] An image acquisition module 12, configured to determine an image drawn with a preset cycle curve according to the number of display cycles;

[0091] A horizontal movement distance determining module 13, configured to determine a horizontal movement distance of the image relative to the display window, wherein the horizontal movement distance is a distance corresponding to a preset cycle curve with a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method, an apparatus, a device, and a storage medium for realizing the dynamic effect of water ripple. The method comprises the following steps: obtaining the number of cycles of a preset cycle curve that can be accommodated by a display window of a control part as the number of display cycles; determining an image on which a preset period curve is drawnaccording to the number of display periods; determining a horizontal motion distance of the image relative to the display window, wherein the horizontal motion distance is a distance corresponding toa preset period curve of a preset period number; controlling the image to reciprocate within the horizontal movement distance, and controlling the display window not to display a preset periodic curve of the image when the image is reversed, so that the display window presents a preset periodic curve motion of positive continuity during the movement of the image. The invention solves the technical problem that the water ripple dynamic effect method of the prior art is easy to trigger the performance bottleneck, and achieves the technical effect of reducing the computational resources and occupying very little memory.

Description

technical field [0001] Embodiments of the present invention relate to image processing, and in particular to a method, device, device and storage medium for realizing water ripple motion effects. Background technique [0002] The commonly used water ripple dynamic effect methods in the prior art include a) making a gif format picture or MP4 video file to play when displaying the dynamic effect; b) using the drawing function of the drawing function and the area cutting function, combined with the curve drawing function provided by the system Draw a surface shape in a fixed area when a drawing event is triggered. The starting point of the curve of the surface shape depends on the curve drawing function. When drawing the wave motion effect, a timer will be started to trigger the drawing event regularly, and the starting point of the curve of the surface shape will be changed regularly to achieve the wave motion effect. . Although the implementation of the former is simple, the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T11/20G06F9/50G06T1/60
CPCG06F9/5016G06T1/60G06T11/203
Inventor 刘剑锋黄开勋
Owner SHENZHEN SKYWORTH SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products