Structure preserving texture synthesis method based on Chamfer distance

A synthesis method and a technology of structural textures, which are applied in 2D image generation, image data processing, filling planes with attributes, etc., can solve problems such as discontinuous texel structures

Inactive Publication Date: 2014-04-09
ZHEJIANG UNIV OF TECH
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention requires to overcome the above-mentioned shortcomings of the prior art, and provides a new block-based texture synthesis method, which not only considers the color information of the texture, but also considers the structu...

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
  • Structure preserving texture synthesis method based on Chamfer distance
  • Structure preserving texture synthesis method based on Chamfer distance
  • Structure preserving texture synthesis method based on Chamfer distance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Refer to attached Figure 1-3 :

[0031] The idea of ​​the block-based texture synthesis algorithm adopted in the present invention is as follows: figure 1 As shown, the target texture pattern is synthesized block by block according to the scan line order. For the current block to be synthesized, calculate its similarity with the edge regions of each block in the sample image, and use similar blocks that meet the threshold as candidate blocks. Then, from this group of candidate blocks, a block is randomly selected and placed in the position to be synthesized, and forms a certain overlapping area with the synthesized area (the overlapping area is the edge area used to constrain the block similarity). Find a minimum-error stitching path in the overlapping region along which to stitch the newly selected blocks into the output texture. The method of the invention focuses on improving the search for similar texture candidate blocks, and simultaneously considers the simil...

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

A structure preserving texture synthesis method based on the Chamfer distance comprises the steps that a texture sample drawing S and a texture characteristic pattern Fs are synthesized into a four-channel image S', and the format of each pixel is RGBA; the RGB channels of the S' store color values of the sample drawing, and the alpha channel stores a label value in a structure characteristic pattern corresponding to the sample drawing; an output image R' is initialized, an area is selected randomly from the S' and copied to the upper left corner of the R', the R' also has four color channels, the RGB channels store color values of an output texture image, and the alpha channel stores a label value in a structure characteristic pattern corresponding to the output texture image; blocks of the output image R' are synthesized sequentially one by one according to a scanning line; for a block to be synthesized currently, the distance between the block to be synthesized and the edge area of each block in the sample drawing is calculated, and the blocks, with the distances meeting a threshold value, in the sample drawing serve as candidate blocks; a block is selected randomly from the candidate blocks to be placed at the position for synthesis, and the block and a synthesized area form a certain overlapping area; a sewing path with the smallest error is found in the overlapping area, and a newly selected block is sewn into an output texture along the sewing path.

Description

technical field [0001] The present invention relates to sample-based texture synthesis techniques. Background technique [0002] Sample-based texture synthesis technology synthesizes texture patterns of any size visually similar to the sample image according to the input texture sample image, which is one of the research hotspots in the field of computer graphics. Sample-based texture synthesis technology is widely used in texture mapping, image editing, image analogy and so on. [0003] Sample-based texture synthesis techniques are mainly divided into pixel-based synthesis and block-based synthesis. Pixel-based synthesis selects one pixel point from the sample image and copies it to the target texture pattern each time, while block-based synthesis selects a continuous texture area from the sample image each time. Generally, compared with the pixel-based method, the block-based synthesis can better maintain the structure in the continuous texture area, and the execution ef...

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
IPC IPC(8): G06T11/00G06T11/40
Inventor 汤颖史晓颖范菁肖廷哲
Owner ZHEJIANG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products