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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


