Simulation of Weft Knitted Fabric Based on Variable Template
In order to simulate the fabric structure of weft knitted fabric,this paper used computer image processing technology to identify and simulate the pattern of weft knitted fabric.Firstly,the relative total variation model was used to extract the contour structure of the pattern,and the texture part of the pattern was removed.Then the color clustering of the extracted parts was carried out to achieve the knittability of the fabric.Finally,the clustered images were divided into several fixed pixel cell grids of the specified template size,and a complete pattern simulation pattern can be obtained by simulating each pixel grid and then traversing the whole image at one time.In this paper,the simulation experiments on a large number of samples show that this method can simulate the pattern effect of weft knitted fabric well.