论文部分内容阅读
多灰度图像的激光标刻是目前激光标刻中研究最为活跃的内容之一 ,但目前多灰度标刻的软件主要存在标刻后图像不逼真、缺乏层次感且对失真图像矫正效果不理想等缺点 ,在利用 5× 5固定模板实现图像多灰度标刻的基础上 ,考虑到图像中相邻像素点的灰度关系 ,对除边缘像素点外的每个像素点在 3× 3窗口范围内进行差分运算 ,提取该像素点在局域内的纹理特征 ,并据此来选择模板实现多灰度图像标刻。另外 ,利用拉格朗日二次抛物线插值法对输出图像的位置坐标进行矫正 ,矫正公式中x方向和y方向的最大畸变量分别为 80和 90 ,基本上能消除双振镜扫描引起输出图像几何畸变的影响。标刻的图像能很好地表现原图像的信息 ,且实现算法简单 ,图像质量得到了明显改善。
The laser marking of multi-grayscale images is one of the most active research topics in laser marking at present. However, the present multi-grayscale marking software mainly has the problem that the images after marking are not vivid, lack of layering, and the correction effect on distorted images is not effective Ideal and other shortcomings, in the use of 5 × 5 fixed template to achieve multi-grayscale image marking, taking into account the adjacent pixels in the image of the grayscale, except for the edge pixels outside each pixel in the 3 × 3 The difference between the windows is calculated, the texture feature of the pixel in the local area is extracted, and the template is selected to realize the multi-grayscale image marking. In addition, the Lagrange quadratic parabola interpolation method is used to correct the position coordinates of the output image. The maximum distortion in the x and y directions in the correction formula is respectively 80 and 90, which can basically eliminate the problem that the double galvanometer scan causes the output image Effect of geometric distortion. Marked images can well represent the original image information, and to achieve a simple algorithm, image quality has been significantly improved.