Method and device for realizing special water wave rippling effect

A water ripple and special effect technology, applied in the field of visual special effects, can solve the problems of not being able to add dynamic special effects, etc., to achieve the effect of improving user experience, increasing fun of use, and realistic effects

Inactive Publication Date: 2012-07-18
WONDERSHARE TECH CO LTD
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, among the various electronic products currently on the market, only static special effe

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 and device for realizing special water wave rippling effect
  • Method and device for realizing special water wave rippling effect
  • Method and device for realizing special water wave rippling effect

Examples

Experimental program
Comparison scheme
Effect test

Example

[0040] See figure 1 , Is a flowchart of the first embodiment of the method for realizing water ripple effects provided by the present invention, and the method includes:

[0041] In step S100, the wave source point is obtained, and the ripple area on the water surface in the current frame area is determined according to the wave source point and the preset ripple degree.

[0042] In step S101, the wave amplitude value of each pixel position in the rippling area on the water surface in the current frame area is calculated according to the preset first formula. Among them, the first formula can be: the amplitude of the pixel position (x, y) in the current frame area = the amplitude of the pixel position (x, y) in the previous frame image + (preset degree of ripple-pixel position (X, y) and the distance between the wave source point) * preset ripple height, where the current frame area is the same size as the previous frame, 0

Example

[0045] See figure 2 , Is a flowchart of the second embodiment of the method for realizing water ripple effects provided by the present invention, and the method includes:

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 for realizing a special water wave rippling effect, comprising the following steps of: obtaining a wave source point and determining a rippling region on a water surface of a current frame region according to the wave source point and a pre-set ripping degree; calculating a wave amplitude value of each pixel position in the rippling region on the water surface of the current frame region according to a first pre-set formula; determining a pixel offset according to the wave amplitude value of each pixel position in the current frame region; and copying each pixel in an image of the last frame into the corresponding pixel position in the current frame region according to the pixel offset, so as to obtain the image of the current frame. The embodiment of the invention further discloses a device for realizing the special water wave rippling effect. With the adoption of the method and the device for realizing the special water wave rippling effect, disclosed by the invention, a special dynamic effect of water wave rippling can be simply and rapidly added into a video or the image, the effect is vivid and the video or the image seems to be played under the water, so that the use pleasure of a user is enhanced and the user experience is improved.

Description

technical field [0001] The present invention relates to the technical field of visual special effects based on video or images, in particular to a method and device for realizing special effects of water ripples. Background technique [0002] With the improvement of living standards, users are no longer satisfied with monotonously recording or watching videos or images, but hope to add colorful special effects to videos or images, so as to increase fun. Therefore, electronic product manufacturers pay more and more attention to user experience, because those products that can bring users a good visual experience, such as Apple's iphone, can often occupy a large market. [0003] However, in various electronic products currently popular in the market, only static special effects can be added to videos or images, and some more interesting dynamic special effects cannot be added. Contents of the invention [0004] The technical problem to be solved by the embodiments of the pr...

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
IPC IPC(8): G06T11/00H04N5/262
Inventor 章国庆
Owner WONDERSHARE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products