摘要
在对纹织图像进行缩放处理时,图像放大过程中会出现边缘马赛克效应,严重地增加了工作人员的负担。为了解决此问题,本文提出了基于矢量的纹织图像缩放算法。首先采用填充法提取图像的轮廓边缘,然后以直线拟合和曲线拟合相结合的方法得到控制点,并根据缩放的要求改变控制点的坐标。最后依据新的控制点通过拟合得到缩放后的图像。
The contour effect like mosaic will appear,when jacquard image expends too big,during the course of jacquard image processing. It makes designers work even more hard. In order to solve the problem,the arithmetic based on vectograph is given like this. Fist, using filling algorithm to get the contour of jacquard image. Second, we need the control points of jacquard image with straight line fitting and curve fitting, besides change the coordinates of control points by request. Finally, the new jacquard image will be obtained based on the new control points.
出处
《现代机械》
2008年第5期38-39,共2页
Modern Machinery
关键词
矢量
缩放
边缘提取填充法
三次B样条
vector, zoom, contour extraction, filling algorithm, cubic B-spline