摘要
在对国内一款主流排版软件进行使用时发现,对一些幅面较大的图像进行旋转处理时,不仅排版显示速度下降,而且在拼版后进行制版输出时速度也非常慢。通过对排行软件是的旋转和插值方法进行分析,并结合印刷图像的输出要求特点,提出一种改进的排版图像旋转算法。所提出的算法中,抓住余弦变换计算量小、双线性插值仅针对4个邻域像素点进行赋值计算的特点,大大降低图像处理的运算时间。通过选用的排版软件与所提出的算法进行理论比较和仿真实验结果表明:使用余弦变换比使用傅里叶变换处理速度提升近一倍,两种方法的峰值信噪比结果接近30dB。
When using a mainstream typesetting software in China,it is found that when some large-format images are rotated,not only the display speed of typesetting is reduced,but also the output speed of typesetting is very slow after the imposition. By analyzing the rotation and interpolation methods of ranking software and combining the characteristics of printing image output requirements,proposes an improved algorithm of image rotation for typesetting. In the proposed algorithm,the features of small computation of cosine transform and the assignment of bilinear interpolation to only four neighboring pixel points are grasped,which greatly reduces the operation time of image processing. The theoretical comparison and simulation results between the typesetting software selected and the algorithm proposed show that the processing speed of cosine transform is nearly twice as fast as that of Fourier transform,and the PSNR results of the two methods are close to 30dB.
作者
李承轩
舒忠
LI Cheng-xuan;SHU Zhong(Jingchu University of Technology,Jingmen 448000)
出处
《现代计算机》
2019年第11期85-89,共5页
Modern Computer
关键词
余弦变换
双线性插值
峰值信噪比
图像旋转
Cosine Transform
Bilinear Interpolation
Peak Signal-to-Noise Ratio
Image Rotation