首页|期刊导航|现代纺织技术|基于B样条线圈模型的段染纱针织物外观模拟

基于B样条线圈模型的段染纱针织物外观模拟OA北大核心CSTPCD

Appearance simulation of section-dyed yarn knitted fabrics based on the B-spline coil model

中文摘要英文摘要

针对段染纱针织物花纹预测困难且现有织物模拟方法真实感有待提升的问题,提出了一种基于真实段染纱的针织物外观模拟方法.首先,使用图像处理技术对获取的段染纱图像进行阈值分割和形态学处理等预处理,从原始图像中提取纱线主体区域.然后,从真实织物中提取线圈点位信息,借助最小二乘拟合构建B样条线圈曲线,并根据曲线将段染纱真实图像映射为线圈图像.最后,在考虑线圈交织覆盖关系以及光照因素后,通过排列线圈实现纬平针针织物及其系列针织面料的外观模拟.结果表明:所模拟的线圈模型能够还原真实线圈中的纱线走向,且模拟织物外观花纹效果与实物一致,整体呈现出较好的真实感.

The section-dyed yarn,characterized by unique colors and textures,is widely utilized in the field of fashion textiles.Fabrics made from section-dyed yarns are highly favored for their vibrant and diverse color appearances.To address the randomness and energy consumption issues during the production and sampling process of section-dyed yarns,as well as the low fidelity in simulating fabric authenticity,this paper proposed a simulation method for section-dyed yarn knitted fabrics based on the B-spline coil model. Initially,in order to extract the main surface texture information of the yarn from the original images,image processing techniques,including threshold segmentation Otsu algorithm and morphological open and close operations,were applied to preprocess the collected section-dyed yarn images.Subsequently,to map the extracted main yarn texture into coil shapes,data points were extracted along the course of the knitting loops from the real fabric image.Afterwards,the B-spline coil curve was constructed by using the least square fitting technique.During the mapping process based on these curves,appropriate pixel offsets were needed according to the B-spline normals to achieve the curved effect.The collected yarn texture was linear,resulting in blank pixels at curved sections of the knitted loop after mapping,so nearest-neighbor interpolation was employed to fill these gaps and ensure the integrity of the mapped coils.Ultimately,a method of arranging coil images horizontally and vertically was used to simulate the fabric.The paper viewed fabric weaving as a process in which coil images increased from left to right and from bottom to top,with a start from the lower-left corner.To establish the interlocking relationship between coils,a Boolean matrix was utilized to eliminate pixel overlap positions in intertwined coils based on the simulated fabric organization.Under certain lighting conditions,different positions of the coils exhibited varying brightness effects on the fabric surface.To enhance the realism of the fabric,this study adjusted the grayscale ratios of the coils to create brightness variations.Linear interpolation was employed to achieve a smooth transition between shaded and unshaded areas for a natural gradient effect.Moreover,the proposed simulation method,after obtaining yarn texture and color parameters,enabled the rapid display of serialized products by changing yarn colors and arrangement cycles. The research results demonstrate that the simulated fabric is generally consistent with real fabric in terms of appearance and color arrangement.The simulation method,based on the real section-dyed yarn texture,allows for the rapid change of yarn colors and the display of the fabric's color,texture,and pattern effects.This method effectively enhances the authenticity of simulating section-dyed yarn fabrics and reduces the difficulty and cost of sample production for businesses.

董福星;喻莉;顾学锋;赵连英

浙江理工大学纺织科学与工程学院,杭州 310018浙江理工大学纺织科学与工程学院,杭州 310018宁波马菲羊纺织科技有限公司,宁波 315600浙江理工大学纺织科学与工程学院,杭州 310018||浙江理工大学象山针织研究院有限公司,宁波 315600

轻工业

织物模拟段染纱最小二乘拟合B样条曲线线圈映射

fabric simulationsection-dyed yarnleast squares fittingB-spline curvescoil mapping

《现代纺织技术》 2024 (7)

66-73,8

10.19398/j.att.202311016

评论