摘要
为提高织物设计的创新性,针对纹织CAD中应用较广的2种图案变形——矩形变扇形和矩形变正多边形,提出了基于比例的扇形变形算法和基于周长的任意正多边形变形算法,并进行了相应的优化。对前者,根据像素点的相对几何位置,利用双线形插值法和虚拟放大法实现像素点间的对应;对后者,在纹织图案中分别以矩形环和正多边形环作为源图和目标图的映射单位,进行由外向里的映射。结果表明:这2种算法实现的变形效率高,且取得了很好的变形效果。
Targeting at creating innovative fabric design, algorithms of figure distortion is suggested for two kinds of image distortion-rectangle to sector and rectangle to regular polygon, which have been widely applied in the fabric CAD, i.e., algorithms of sector distortion based on the proportion and random regular polygon distortion based on the perimeter. And corresponding optimization is carried out. According to the relative geometry position, the former realizes the pixel mapping by utilizing the double linear interpolation and virtual enlargement respectively, and the latter realizes the mapping from outside to inside when the rectangular link and the regular polygon link are used as the mapping units between the source and the target bitmap. The results indicate that these two algorithms have high distortion efficiency and good distortion effect.
出处
《纺织学报》
EI
CAS
CSCD
北大核心
2008年第7期34-37,共4页
Journal of Textile Research
关键词
纹织CAD
图案变形
双线形插值
虚拟放大
环
fabric CAD
figure distortion
double linear interpolation
virtual enlargement
link