Image processing methods and devices
US-2019035134-A1 · Jan 31, 2019 · US
US11498003B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11498003-B2 |
| Application number | US-202117178437-A |
| Country | US |
| Kind code | B2 |
| Filing date | Feb 18, 2021 |
| Priority date | Dec 7, 2018 |
| Publication date | Nov 15, 2022 |
| Grant date | Nov 15, 2022 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Aspects of this disclosure provide a method where a normal map corresponding to a target water body region where a dynamic object is located in a next image frame can be acquired based on a water wave map corresponding to the target water body region where the dynamic object is located in a current image frame, and a water wave effect on the target water body region where the dynamic object is located in the next image frame is rendered according to the normal map. On the one hand, through iterative rendering frame by frame, a realistic water wave animation effect can be simulated to make the water surface interaction very natural, providing users with immersive experience. Further, because the water wave rendering is performed only on the target water body region, the complexity is lowered, and the calculation amount is reduced, to better adapt to a mobile terminal application.
Opening claim text (preview).
What is claimed is: 1. An image rendering method that is applicable to a processing device, the method comprising: acquiring a water wave map corresponding to a target water body region where a dynamic object is located in a current image frame; acquiring a normal map corresponding to the target water body region where the dynamic object is located in a next image frame based on the water wave map corresponding to the target water body region where the dynamic object is located in the current image frame; rendering a water wave effect on the target water body region where the dynamic object is located in the next image frame based on the normal map corresponding to the target water body region where the dynamic object is located in the next image frame; and performing attenuation processing on the water wave map corresponding to the target water body region where the dynamic object is located in the current image frame based on a water wave injection displacement and a water wave diffusion attenuation matrix corresponding to the dynamic object to obtain an attenuated water wave map when the dynamic object moves in water; wherein the water wave injection displacement corresponding to the dynamic object is acquired by acquiring the water wave injection displacement corresponding to an object attribute of the dynamic object, wherein the object attribute being a characteristic of the dynamic object. 2. The method according to claim 1 , further comprising: offsetting the attenuated water wave map in a direction opposite to a movement direction of the dynamic object according to a location offset of the dynamic object to obtain an offset water wave map, wherein the acquiring the normal map corresponding to the target water body region where the dynamic object is located in a next image frame based on the water wave map corresponding to the target water body region where the dynamic object is located in the current image frame further includes acquiring the normal map corresponding to the target water body region where the dynamic object is located in the next image frame based on the offset water wave map. 3. The method according to claim 2 , wherein the water wave injection displacement corresponding to the dynamic object is acquired by acquiring the water wave injection displacement corresponding to the dynamic object further based on a type of movement that the dynamic object makes, and wherein the characteristic is a gender or a weight of the dynamic object. 4. The method according to claim 2 , wherein the performing attenuation processing on the water wave map further comprises: acquiring a product of the water wave injection displacement and the water wave diffusion attenuation matrix corresponding to the dynamic object as an attenuation parameter matrix; and superposing values in the attenuation parameter matrix to the water wave map corresponding to the target water body region where the dynamic object is located in the current image frame to obtain the attenuated water wave map. 5. The method according to claim 1 , wherein the acquiring the normal map further comprises: reading water surface height information from the water wave map corresponding to the target water body region where the dynamic object is located in the current image frame, the water surface height information including water surface height displacements respectively corresponding to the current image frame and a previous image frame thereof; acquiring a water wave map corresponding to the target water body region where the dynamic object is located in the next image frame based on the water surface height information; and acquiring the normal map corresponding to the target water body region where the dynamic object is located in the next image frame based on the water wave map corresponding to the target water body region where the dynamic object is located in the next image frame. 6. The method according to claim 5 , wherein the acquiring a water wave map corresponding to the target water body region further comprises: acquiring, by using the water surface height information as a wave equation parameter, a water surface height displacement corresponding to the next image frame based on a wave equation with damping and the wave equation parameter; and generating the water wave map corresponding to the target water body region where the dynamic object is located in the next image frame based on the water surface height displacement corresponding to the current image frame and the water surface height displacement corresponding to the next image frame. 7. The method according to claim 5 , wherein the acquiring the normal map corresponding to the target water body region further comprises: acquiring water surface height displacement differences respectively between each water surface vertex, and an upper vertex and a right vertex that are neighboring to the each water surface vertex in the next image frame according to the water wave map corresponding to the target water body region where the dynamic object is located in the next image frame, and acquiring the normal map corresponding to the target water body region where the dynamic object is located in the next image frame according to the water surface height displacement differences; or acquiring water surface height displacement differences respectively between each water surface vertex, and a left vertex and a lower vertex that are neighboring to the each water surface vertex in the next image frame according to the water wave map corresponding to the target water body region where the dynamic object is located in the next image frame, and acquiring the normal map corresponding to the target water body region where the dynamic object is located in the next image frame according to the water surface height displacement differences. 8. The method according to claim 1 , wherein the target water body region where the dynamic object is located in a frame is acquired by: acquiring an image location of the dynamic object in an image frame, and acquiring the target water body region where the dynamic object is located in the image frame by using the image location as a central location of the target water body region where the dynamic object is located and using a preset width and height as a width and height of the target water body region. 9. The method according to claim 1 , wherein the water wave map and the normal map use two color rendering map formats. 10. The method according to claim 1 , wherein the current image frame is an image frame in a game application and the dynamic object is a game role object. 11. A processing device, comprising: a processor; and a memory that is configured to store program code and transmit the program code to the processor, the processor being configured to: acquire a water wave map corresponding to a target water body region where a dynamic object is located in a current image frame; acquire a normal map corresponding to the target water body region where the dynamic object is located in a next image frame based on the water wave map corresponding to the target water body region where the dynamic object is located in the current image frame; render a water wave effect on the target water body region where the dynamic object is located in the next image frame based on the normal map corresponding to the target water body region where the dynamic object is located in the next image frame; and perform attenuation processing on the water wave map corresponding to the target water body region where the dynamic object is located in the current image frame based on a water wave injection displacement and a water wave diffus
Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding · CPC title
General purpose rendering architectures · CPC title
Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game (A63F13/56 takes precedence) · CPC title
of natural phenomena, e.g. rain, snow, water or plants · CPC title
Creating or editing images; Combining images with text · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.