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

Real-time water wave texture processing method based on 2D (Two-dimensional) grid

A processing method, water wave technology, applied in the field of image processing, can solve problems such as high hardware requirements, complex calculations for processing water surfaces, etc., and achieve the effect of reducing demand

Active Publication Date: 2012-07-18
TCL CORPORATION
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiment of the present invention is to provide a real-time water wave texture processing method based on 2D grid, aiming to solve the problem of complex calculation and high hardware requirements in the existing algorithm for processing water surface

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
  • Real-time water wave texture processing method based on 2D (Two-dimensional) grid
  • Real-time water wave texture processing method based on 2D (Two-dimensional) grid
  • Real-time water wave texture processing method based on 2D (Two-dimensional) grid

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0018] figure 1 The implementation flow of the real-time water wave texture processing method provided by the embodiment of the present invention is shown, and the details are as follows:

[0019] In step S101, a grid for simulating water wave texture is set according to the aspect ratio of the displayed image, and texture coordinates are set for each node in the grid.

[0020] In the embodiment of the present invention, the display image is virtually divided into a grid according to the aspect ratio, each node of the grid corresponds to a texture coordinate, and each node of the grid is used to calculate the height of the water wave at that point, The aspect ratio includes: 16:9, 4:3, etc., and the display image includes: display images of smart TV, computer monitor, smart handheld device, projector, etc., the specific implementation method is detailed in figure 2 and to figure 2 description of.

[0021] In step S102, the transmission of the water wave is simulated as a ...

Embodiment 2

[0031] figure 2 shows that the embodiment of the present invention provides figure 1 The specific implementation process of step S101 shown is described in detail as follows:

[0032] In step S201, a water wave three-dimensional grid model is set, and the grid model adapts to the X value and Y value of the grid node according to the length and width of the displayed image, and the Z value of the grid node is initially 0.

[0033] In the embodiment of the present invention, a water wave three-dimensional grid model is set, and the grid model adapts the X value and Y value of the grid node according to the aspect ratio of the displayed image, and the Z value of the grid node is 0 initially. The aspect ratio includes: 16:9, 4:3 and so on.

[0034] for example:

[0035] Assuming that the aspect ratio of a displayed image is 16:9, and the width is divided into 90 parts, the length should be divided into 160 parts according to the aspect ratio, so the water wave grid model of th...

Embodiment 3

[0041] image 3 shows that the embodiment of the present invention provides figure 1 The specific implementation process of step S103 shown is described in detail as follows:

[0042] In step S301, the normal vector of each node is calculated according to the coordinate value of the water wave at each node.

[0043] In the embodiment of the present invention, the three-dimensional Cartesian coordinates of each node are obtained according to the height value of the water wave calculated at each node, and the normal vector of the node is calculated according to the coordinates.

[0044] In step S302, the fluctuation average normal vector of each node in the grid is calculated by the averaging method.

[0045] In the embodiment of the present invention, the average fluctuation normal vector of each node is calculated by the averaging method between every three adjacent nodes, and the direction of the fluctuation average normal vector is used to represent the direction of the no...

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 invention is applicable to the field of image processing, and provides a real-time water wave texture processing method based on a 2D (Two-dimensional) grid. The method comprises the following steps: setting the grid for simulating water wave texture according to the length-width ratio of a display image and setting a texture coordinate for each node in the grid; simulating the transfer of a water wave into a sine wave and calculating the height valve when the water wave reaches each node of the grid according to a wave equation; calculating the increment of the texture coordinate of each node according to the height valve of each node and fluctuation average method vectors; and rendering the fluctuation of the generated water wave on a real time according to the increment of the texture coordinate and the fluctuation average method vectors. According to the embodiment of the invention, the texture coordinate is set for each node of the grid, the increment of the texture coordinate is calculated according to the height value of each node, and a water wave image is further simulated, so that the water wave image can be simulated only through calculating a wave equation without a derivation algorithm, an integral algorithm and other complicated algorithms, and the demands on display equipment hardware is reduced.

Description

technical field [0001] The invention belongs to the field of image processing, in particular to a real-time water wave texture processing method based on 2D grid. Background technique [0002] The simulation of water wave images has always been a hot spot in computer graphics research. Because the physical prototype of the water surface is very complex, it is very difficult to accurately describe it in real time. Therefore, researchers have been looking for a balance between reality and complexity. Based on The water surface model of the Navier-Stokes equation is accurate but the solution is complicated, which is not suitable for real-time calculation. Some people have also proposed a method of linearly generating sea surface grids. Using inverse FFT calculations, a certain number of linear functions are superimposed to describe waves. This type of method pursues statistical simulation without considering physical accuracy. The combination of theory; in games and other occa...

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/40
Inventor 赵智宝张颖卢伟超
Owner TCL CORPORATION
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