Automatic Generation Algorithm of Notation for Weft Knitted Pattern with Pseudocolor
Weft knitted jacquard pattern can only include a few colors due to the limitations of fabric structure and knitting process conditions.For the purpose of transforming digital images into weft knitted jacquard patterns automatically with less detail losing,in this paper,the image was transferred from RGB space into HSV space,the hues of the image were quantified to 2~3 through maximum between-cluster variance method,and then the different saturations and values in the image were replaced by a mapping template,which was used to combine the 2 or 3 different hues with pure black and pure white to present variant colors in original image.Finally,a drafted notation for weft knitted jacquard fabric with pseudocolor image was generated,which contained only 2~3 different hues'colors and black and white,so the number of colors in the pattern will be 4~5,which is suitable as weft knitted jacquard pattern.
HSV Color SpaceHue QuantizationSaturation and Value TemplateDrafted Notation