Unlock instant, AI-driven research and patent intelligence for your innovation.

Landform smoothing method and device, computer device and storage medium

A landform and smoothing technology, applied in the field of image processing, can solve the problems of inapplicability and destroy the special properties of landforms, and achieve the effect of improving the effect of smoothing processing.

Active Publication Date: 2019-10-15
上海米哈游网络科技股份有限公司
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method is not suitable for all landforms. For some special landforms, such operations will destroy some special properties of the landform

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
  • Landform smoothing method and device, computer device and storage medium
  • Landform smoothing method and device, computer device and storage medium
  • Landform smoothing method and device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] Figure 1a It is a flow chart of the landform smoothing method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of processing landform elements in an image. This method can be realized by a landform smoothing device, which is configured in a computer device. Specifically, it can be Implemented by software and / or hardware in the device. Such as Figure 1a As shown, the landform smoothing method specifically includes:

[0073] S110. When it is detected that the brush map function is triggered during the frame-by-frame playback of image frames, determine and record the brush map covered in each image frame during the movement of the brush map after the brush map function is triggered area information.

[0074] Specifically, the process of smoothing the landform can be called the process of landform engraving. The engraving operation on the landform is completed through the terrain brush. It is displayed in the shape of a b...

Embodiment 2

[0089] figure 2 It is a flow chart of a landform smoothing method provided by Embodiment 2 of the invention. This embodiment provides a method for determining and recording the coverage area of ​​the brush map based on each optional solution in the foregoing embodiments. Such as figure 2 As shown, the landform smoothing method provided in the embodiment of the present invention includes the following steps:

[0090] S210. Create an overlay mask image when it is detected that the brush image function is triggered in the process of playing the image frame by frame.

[0091] Similarly, suppose that in each image frame, the target engraving area to be engraved is a rectangular area whose length and width are M and N respectively, and the surface height map of each pixel in the rectangular area is h(x, y) , where x=1, 2,..., M, y=1, 2,..., N. Then, the coverage mask map is a map with the same size as the target area to be carved, which can be expressed as m(x, y), where x=1, 2,...

Embodiment 3

[0102] image 3 A schematic structural diagram of a landform smoothing device provided by Embodiment 3 of the present invention is shown, and this embodiment of the present invention is applicable to processing landform elements in an image.

[0103] Such as image 3 As shown, the landform smoothing device in the embodiment of the present invention includes: a brush map coverage area determination module 310 , a ground surface interior height adjustment module 320 and a ground surface edge height adjustment module 330 .

[0104] Wherein, the brush map coverage area determination module 310 is used to determine and record the movement of the brush map after the brush map function is triggered when it is detected that the brush map function is triggered in the process of playing image frames frame by frame. In the process, the area information covered in each image frame; the interior surface height adjustment module 320 is used to cover the brush map in the current image frame...

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 landform smoothing method and device, equipment and a medium, and the method comprises the steps: determining and recording the information of a region, covered in each image frame, of a brushed image in a moving process after the brushed image function is triggered when the brushed image function is detected to be triggered in a process of playing the image frames frame by frame; for each image frame, adjusting the surface height value of each pixel point in the area covered by the brushed image in the current image frame based on the attenuation information corresponding to the brushed image; and when the brushed graph function is released, determining an edge sub-region of the region covered by the brushed graph according to the recorded region information, and carrying out smoothing processing on the surface height value corresponding to the edge sub-region to complete landform smoothing. According to the technical scheme provided by theembodiment of the invention, the problem of poor smoothing effect on special landforms in the prior art is solved. The effect of smoothing the landform area in the image can be improved, so that the landform in the image better conforms to the actual landform condition.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of image processing, and in particular to a terrain smoothing method, device, computer equipment and storage medium. Background technique [0002] In image processing, it is necessary to perform detailed processing on some objects in the image, such as smoothing or sharpening the image containing landform elements, so that various landforms are more in line with the actual scene. For example, processing detailed images in game scenes. Specifically, the game scene refers to restoring available elements such as buildings, trees, sky, and roads in the game according to the requirements of the game planning. For road elements, it is necessary to smooth the terrain in the road. [0003] At present, the existing landform smooth transition algorithm achieves the desired effect by averaging the surface height information within a certain range around the target point. However, this metho...

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): G06T5/00
CPCG06T5/70
Inventor 曹阳陆秉君
Owner 上海米哈游网络科技股份有限公司