Image texture synthesis method and device
A texture synthesis and image technology, applied in 2D image generation, image data processing, texture/color, etc., can solve the problems of low accuracy and poor synthesis efficiency, and achieve the effect of improving accuracy and good synthesis effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
preparation example Construction
[0058] The texture synthesis method of the present invention mainly comprises the following steps:
[0059] 1) Randomly select a texture block from the sample texture as the initial output image;
[0060] 2) From the sample texture, select texture blocks satisfying that the absolute value of the pixel error in the overlapping area is less than the absolute value of the maximum pixel error to form a texture block set, and randomly select a texture block from the texture block set as the texture block to be spliced;
[0061] 3) Select the corresponding overlap degree when the cumulative error of the minimum cost stitching path is less than the set threshold, and stitch the texture block to be spliced to the current stitching position of the output image according to the overlap degree, and perform the stitching on the minimum cost stitching path for the output image and Pixels with the same coordinates of the texture block to be stitched are mixed;
[0062] 4) Repeat steps 2)...
Embodiment 2
[0091] This embodiment is another embodiment of the texture synthesis method described in the present invention. The difference between this embodiment and the first embodiment of the texture synthesis method is that this embodiment proposes a method for determining the size of a texture block, to achieve It realizes the self-adaptation to the texture block size, avoids manual participation in the parameter determination process, and effectively provides synthesis accuracy and efficiency.
[0092] When selecting the size of the texture block, it is necessary to consider the influence of the size of the texture block on the synthesis effect. The main manifestation of the influence of the size of the texture block on the effect of texture synthesis is: when the texture block is small, the texels in the texture block are single, and there will be no obvious seam problems during the synthesis process, but if the size of the texture block is too small, The overall feature preservat...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


