CN106897996A - chromatography error detection method based on machine vision - Google Patents
chromatography error detection method based on machine vision Download PDFInfo
- Publication number
- CN106897996A CN106897996A CN201710064272.1A CN201710064272A CN106897996A CN 106897996 A CN106897996 A CN 106897996A CN 201710064272 A CN201710064272 A CN 201710064272A CN 106897996 A CN106897996 A CN 106897996A
- Authority
- CN
- China
- Prior art keywords
- mark
- color
- edge
- error
- overprint
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 27
- 238000004587 chromatography analysis Methods 0.000 title claims 2
- 238000004364 calculation method Methods 0.000 claims abstract description 18
- 238000009434 installation Methods 0.000 claims 2
- 238000013480 data collection Methods 0.000 claims 1
- 239000003550 marker Substances 0.000 claims 1
- 238000000034 method Methods 0.000 abstract description 15
- 230000011218 segmentation Effects 0.000 abstract description 2
- 238000003709 image segmentation Methods 0.000 abstract 1
- 239000003086 colorant Substances 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 238000013519 translation Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010191 image analysis Methods 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
本发明提供一种基于机器视觉的套印误差检测方法。通过摄像头采集目标图像,目标图像包含多个定位标记;计算定位标记面积,标记面积与标准面积差值不大于规定阈值则采用模板匹配,提取定位标记中心,根据中心位置与标准位置的偏移量来检测套印误差;标记面积与标准面积差值大于规定阈值则采用边缘分割,提取定位标记边缘,根据边缘位置与标准位置的偏移量来检测套印误差。完成误差的检测之后自动对印机进行调整。本发明利用图像分割和模板匹配,解决了现有技术计算量较大,误差大,鲁棒性不强且无法根据误差自动调整的技术问题,适合在印机行业进行推广。
The invention provides a method for detecting overprint errors based on machine vision. The target image is collected through the camera, and the target image contains multiple positioning marks; the area of the positioning mark is calculated. If the difference between the marked area and the standard area is not greater than the specified threshold, template matching is used to extract the center of the positioning mark. According to the offset between the center position and the standard position To detect overprint error; if the difference between the marked area and the standard area is greater than the specified threshold, edge segmentation is used to extract the edge of the positioning mark, and the overprint error is detected according to the offset between the edge position and the standard position. After the error detection is completed, the printer is automatically adjusted. The present invention uses image segmentation and template matching to solve the technical problems of the prior art, which are large in calculation amount, large in error, weak in robustness and unable to automatically adjust according to the error, and is suitable for popularization in the printing machine industry.
Description
技术领域technical field
本发明涉及到印机行业智能制造技术,具体涉及到一种基于机器视觉的套印误差检测方法。The invention relates to intelligent manufacturing technology in the printing machine industry, in particular to a method for detecting overprint errors based on machine vision.
背景技术Background technique
多色印刷需要将不同色版,不同图文印刷重叠套准,依照一定次序印刷。因此,检查印品质量的关键是印刷机套印精度。Multi-color printing requires overlapping registration of different color plates and different graphic printing, and printing in a certain order. Therefore, the key to checking the quality of printed products is the overprint accuracy of the printing machine.
传统的套印标记主要包括猫眼、单圆和十字线标志三种,这类套印标记发明用于人工检测套印误差,所以受到人主观信息的严重影响而且人工判断效率低精度差难以适用当今的印刷现状。随着机器视觉与数字图像处理技术的发展,用数字图像处理技术检测套印误差的技术成为一种趋势。The traditional overprint marks mainly include three kinds of cat's eye, single circle and cross mark. This kind of overprint mark is invented for manual detection of overprint error, so it is seriously affected by human subjective information and the efficiency of manual judgment is low and the accuracy is poor. It is difficult to apply to the current printing situation. . With the development of machine vision and digital image processing technology, it has become a trend to use digital image processing technology to detect overprint errors.
现有的一些基于机器视觉的套印误差检测方法,例如针对十字线图像,有通过匹配技术确定各原色的中心坐标,由坐标的偏差确定套准误差的方法,还有根据差影法计算模板图与搜索图的差值图来检测套准误差,但是一旦原色重叠将无法找到对应原色中心,说明四个十字线图像并不适合机器视觉套印误差检测。“米”字型图标套印误差检测依赖于不同颜色线的首尾位置和倾斜角度来进行套印误差的计算,然而印刷过程中像素可能丢失,收尾位置计算会受到严重影响,难以保证鲁棒性和计算精度。原色色点图标通过测量色点圆心之间的距离,且将与设定的标准距离相比较表征套准精度,然而只适用于颜色较少的印刷机同时也无法解决标记重叠问题。Some existing overprint error detection methods based on machine vision, for example, for the reticle image, there is a method of determining the center coordinates of each primary color through matching technology, a method of determining the registration error from the deviation of the coordinates, and calculating the template image based on the difference shadow method However, once the primary colors overlap, the corresponding primary color centers cannot be found, indicating that the four crosshair images are not suitable for machine vision overprint error detection. The overprint error detection of the "米" font icon relies on the head and tail positions and inclination angles of different color lines to calculate the overprint error. However, pixels may be lost during the printing process, and the calculation of the ending position will be seriously affected. It is difficult to guarantee robustness and calculation. precision. The primary color dot icon measures the distance between the centers of the color dots and compares it with the set standard distance to represent the registration accuracy. However, it is only suitable for printing machines with fewer colors and cannot solve the problem of mark overlap.
发明内容Contents of the invention
本发明提供一种基于机器视觉的套印误差检测方法,以解决现有技术计算量大,无法解决定位标记重叠、缺失等引起的检测误差较大的技术问题,使得印机能够自动校准套印误差。The invention provides an overprint error detection method based on machine vision to solve the technical problem that the existing technology has a large amount of calculation and cannot solve the technical problem of large detection errors caused by overlapping and missing positioning marks, so that the printing machine can automatically calibrate the overprint error.
本发明提供了一种基于机器视觉的套印误差检测方法,包括以下步骤:The invention provides a method for detecting overprint errors based on machine vision, comprising the following steps:
s1采集目标检测图像。在印刷单元经过所有印刷步骤后,相机自动采集印刷单元上的固定区域,该区域包含所有定位标记。s1 collects target detection images. After a printing unit has passed through all printing steps, the camera automatically captures a fixed area on the printing unit that contains all positioning marks.
s2根据采集目标图像左边与下边两个边缘方向以及规定好的原点位置建立xoy坐标系,通过黑色定位标记的边缘计算出其相对于xoy坐标系的偏转角度。通过平移和旋转,将标记的中心点置于xoy坐标系的原点,使得标记边缘与坐标系完全重合,没有偏转角度;s2 establishes the xoy coordinate system according to the left and bottom edge directions of the collected target image and the specified origin position, and calculates its deflection angle relative to the xoy coordinate system through the edge of the black positioning mark. By translation and rotation, the center point of the mark is placed at the origin of the xoy coordinate system, so that the edge of the mark coincides completely with the coordinate system, and there is no deflection angle;
s3将黑色定位之后,以xoy坐标系作为标准,对除印刷机黑色外的其他颜色定位标记计算面积总和,如果标记标准面积相加总和与计算结果差值小于等于规定好的阈值,则执行s4,如果标记标准面积相加总和与计算结果的差值大于规定好的阈值,则执行s5;s3 After positioning the black, use the xoy coordinate system as a standard to calculate the sum of the area of the other color positioning marks except printing machine black, if the difference between the sum of the standard area of the mark and the calculation result is less than or equal to the specified threshold, then execute s4 , if the difference between the sum of the marked standard area and the calculation result is greater than the specified threshold, execute s5;
s4对采集目标图像进行模板匹配。找出定位标记的中心坐标与标准中心位置的上移偏差和下移偏差,根据中心位置确定对应印刷机颜色,根据偏移量确定对应颜色所在的横纵校准装置的调整方向和调整量;s4 performs template matching on the acquisition target image. Find out the upward deviation and downward deviation between the center coordinates of the positioning mark and the standard central position, determine the corresponding printing machine color according to the central position, and determine the adjustment direction and adjustment amount of the horizontal and vertical calibration device where the corresponding color is located according to the offset;
s5对采集目标图像进行边缘提取。根据印刷机各颜色对应的定位标记边缘坐标值及中心位置,分析计算套准误差,根据偏移量确定对应印刷机颜色所在的横纵校准装置的调整方向和调整量。s5 performs edge extraction on the acquisition target image. According to the edge coordinate value and center position of the positioning mark corresponding to each color of the printing machine, the registration error is analyzed and calculated, and the adjustment direction and adjustment amount of the horizontal and vertical calibration device corresponding to the color of the printing machine are determined according to the offset.
采用上述技术方案后,本发明的技术方案存在以下有益效果:After adopting the above technical solution, the technical solution of the present invention has the following beneficial effects:
利用机器视觉技术,通过工控机安装的套印误差检测系统分析目标图像,得到套印产生的误差,将误差返回给校准装置,校准装置调节误差,印刷机可以根据对应色标的偏移情况精确调整下一印刷单元的套印位置,实现印刷套印误差自动校准。方法采用十字代表印刷机黑色版,其余不同形状定位标记代表不同印刷机颜色可以适用于各种印刷机,既摆脱了颜色造成的影响,也减少了图像预处理过程以节约时间,而且可采用黑白相机采集图像以节约成本。在不重叠情况下,使用模板匹配可以克服真实印刷过程中各种因素造成的边缘不规则、边缘缺失等问题,能够快速有效地定位标记中心,计算套印误差。面对重叠的情况采用图像边缘分割来计算套准误差解决了图像重叠无法定位中心的问题,而且计算方法简单无需消耗过多时间。Using machine vision technology, the overprint error detection system installed on the industrial computer analyzes the target image, obtains the error caused by overprint, returns the error to the calibration device, and the calibration device adjusts the error. The printing machine can accurately adjust the next step according to the offset of the corresponding color mark. The overprint position of the printing unit realizes automatic calibration of printing overprint errors. The method uses the cross to represent the black plate of the printing machine, and the other positioning marks of different shapes represent different printing machines. The color can be applied to various printing machines, which not only gets rid of the influence caused by the color, but also reduces the image preprocessing process to save time, and can use black and white Camera captures images to save cost. In the case of no overlap, using template matching can overcome the problems of irregular edges and missing edges caused by various factors in the actual printing process, and can quickly and effectively locate the center of the mark and calculate the overprint error. In the case of overlap, image edge segmentation is used to calculate the registration error, which solves the problem that the image overlap cannot locate the center, and the calculation method is simple and does not need to consume too much time.
较佳地,不同印刷机颜色对应不同形状定位标记,定位标记的宽度与高度保持一致,标记之间的间距为标记宽度的一半,标记的最下边缘在同一水平线上时标记中心也能保持在同一水平线。印刷机黑色定位标记为“十”形状。Preferably, different printing machine colors correspond to different shapes of positioning marks, the width and height of the positioning marks are consistent, the distance between the marks is half of the mark width, and the center of the mark can also be kept at the same horizontal line when the bottom edge of the mark is on the same horizontal line. same level. Press black registration marks in the shape of a "ten".
较佳地,所述除印刷机黑色外的定位标记标准面积相加总和与计算结果差值的阈值规定为面积总和的1/20-1/30。在进行套印之前,事先需要设计好定位标记大小,根据大小设置阈值,阈值过大会干扰进一步的图像分析,不利于定位标记的准确识别。Preferably, the threshold value of the difference between the sum of the standard areas of the positioning marks except printing machine black and the calculation result is specified as 1/20-1/30 of the sum of the areas. Before overprinting, it is necessary to design the size of the positioning mark in advance, and set the threshold according to the size. If the threshold is too large, it will interfere with further image analysis, which is not conducive to the accurate identification of the positioning mark.
较佳地,提取边缘后不考虑重叠边缘,色块上下边缘确定简单,取出灰度阶调变化较大的地方,根据未重叠边缘及形状宽度高度推测重叠边缘位置。计算两个定位标记的横向误差时,只需要分离这两个标记的边缘。Preferably, overlapping edges are not considered after edge extraction, the upper and lower edges of the color block are determined simply, and the places where the gray scale changes greatly are taken out, and the position of the overlapping edges is estimated according to the non-overlapping edges and the width and height of the shape. When calculating the lateral error of two positioning marks, only the edges of these two marks need to be separated.
较佳地,所述的匹配模板大小与相机采集图像大小相一致,包含所有颜色对应定位标记和标记标准位置。Preferably, the size of the matching template is consistent with the size of the image captured by the camera, including all colors corresponding to positioning marks and marking standard positions.
进一步地,所述上移偏差和下移偏差使用像素值进行计算,计算之后根据所用CCD相机分辨率,将像素值转换为对应的距离值,得到实际的套印误差。Further, the upward and downward deviations are calculated using pixel values, and after calculation, the pixel values are converted into corresponding distance values according to the resolution of the CCD camera used to obtain the actual overprint error.
附图说明Description of drawings
为了更清晰的说明本发明实施例中的技术方法,下面将对实施方式中所使用的附图进行简单的说明。In order to more clearly describe the technical methods in the embodiments of the present invention, the following will briefly describe the drawings used in the implementation manners.
图1本发明套印误差检测方法实施例1的流程图Fig. 1 is the flow chart of Embodiment 1 of the overprint error detection method of the present invention
图2适用于本发明套印误差检测定位方法的定位标记示意图Fig. 2 is a schematic diagram of positioning marks suitable for the overprint error detection and positioning method of the present invention
图3本发明套印误差检测方法实施例2的结构图Fig. 3 is the structural diagram of Embodiment 2 of the overprint error detection method of the present invention
其中,附图标记为:Wherein, reference sign is:
w1、定位标记宽度;h1、定位标记高度;w2、定位标记间距;a、印刷单元;b、定位标记所在位置;c、目标图像采集范围;1、传输线;2、传输线;3、黑白线阵CCD相机;4、LED光源;5、四色印刷机;6、横向校准装置;7、纵向校准装置;8、工控机;9、板卡。w1, positioning mark width; h1, positioning mark height; w2, positioning mark spacing; a, printing unit; b, positioning mark location; c, target image acquisition range; 1, transmission line; 2, transmission line; 3, black and white linear array CCD camera; 4. LED light source; 5. Four-color printing machine; 6. Horizontal calibration device; 7. Vertical calibration device; 8. Industrial computer; 9. Board card.
具体实施方式detailed description
下面结合附图和具体实施例对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
实施例1Example 1
如图1所示,本实施例提供一种基于机器视觉的套印误差检测方法,具体包括以下步骤:As shown in Figure 1, this embodiment provides a method for detecting overprint errors based on machine vision, which specifically includes the following steps:
s1采集目标检测图像。在印刷单元经过所有印刷步骤后,相机自动采集印刷单元上的固定区域,该区域包含所有定位标记。s1 collects target detection images. After a printing unit has passed through all printing steps, the camera automatically captures a fixed area on the printing unit that contains all positioning marks.
s2根据采集目标图像左边与下边两个边缘方向以及规定好的原点位置建立xoy坐标系,通过黑色定位标记的边缘计算出其相对于xoy坐标系的偏转角度。通过平移和旋转,将标记的中心点置于xoy坐标系的原点,使得标记边缘与坐标系完全重合,没有偏转角度;s2 establishes the xoy coordinate system according to the left and bottom edge directions of the collected target image and the specified origin position, and calculates its deflection angle relative to the xoy coordinate system through the edge of the black positioning mark. By translation and rotation, the center point of the mark is placed at the origin of the xoy coordinate system, so that the edge of the mark coincides completely with the coordinate system, and there is no deflection angle;
具体地,以四色印刷机为例,图2为本发明套印误差检测定位标记示意图。印刷机的黑色K版标记为“十”形状。印刷机的青色,品红,黄色分别为与“十”宽度w1高度h1相同的正方形,圆形,六边形,他们的中心在标准情况下处于同一水平线,间距w2。黑色标记中心坐标应置于原点(0,0),标记方向为图像左边和下边两条边缘方向,过程中涉及到的旋转及平移操作所需要的角度即为黑色的印刷误差。Specifically, taking a four-color printing machine as an example, FIG. 2 is a schematic diagram of an overprint error detection positioning mark according to the present invention. The printing press's black K-plate is marked in the shape of a "ten". The cyan, magenta, and yellow colors of the printing machine are respectively squares, circles, and hexagons with the same width w1 and height h1 as the "ten", and their centers are on the same horizontal line under standard conditions, with a distance of w2. The coordinates of the center of the black mark should be placed at the origin (0,0), and the direction of the mark is the direction of the left and bottom edges of the image. The angle required for the rotation and translation operations involved in the process is the black printing error.
s3将黑色定位之后,以xoy坐标系作为标准,对除印刷机黑色外的其他颜色定位标记计算面积总和,如果标记标准面积相加总和与计算结果差值小于等于规定好的阈值,则执行s4,如果标记标准面积相加总和与计算结果的差值大于规定好的阈值,则执行s5;s3 After positioning the black, use the xoy coordinate system as a standard to calculate the sum of the area of the other color positioning marks except printing machine black, if the difference between the sum of the standard area of the mark and the calculation result is less than or equal to the specified threshold, then execute s4 , if the difference between the sum of the marked standard area and the calculation result is greater than the specified threshold, execute s5;
s4对采集目标图像进行模板匹配。找出定位标记的中心坐标与标准中心位置的上移偏差和下移偏差,根据中心位置确定对应印刷机颜色,根据偏移量确定对应颜色所在的横纵校准装置的调整方向和调整量;s4 performs template matching on the acquisition target image. Find out the upward deviation and downward deviation between the center coordinates of the positioning mark and the standard central position, determine the corresponding printing machine color according to the central position, and determine the adjustment direction and adjustment amount of the horizontal and vertical calibration device where the corresponding color is located according to the offset;
具体地,模板匹配就是在采集到的目标图像中搜寻目标,已知该图中有四个定位标记对应着四种颜色,且该目标同模板有相同的尺寸、方向和定位标记图像,通过基于特征的模板匹配算法,在图中找到目标定位标记,确定其中心坐标位置。在找到四个定位标记的中心位置之后,计算各个颜色定位标记中心位置与设定的标准所在位置的横向和纵向偏移,所得到的像素值即为套印误差。Specifically, template matching is to search for the target in the collected target image. It is known that there are four positioning marks corresponding to four colors in the image, and the target has the same size, direction and positioning mark image as the template. The feature template matching algorithm finds the target positioning mark in the graph and determines its center coordinate position. After finding the center positions of the four positioning marks, calculate the horizontal and vertical offsets between the center positions of each color positioning mark and the set standard position, and the obtained pixel value is the overprint error.
s5对采集目标图像进行边缘提取。根据印刷机各颜色对应的定位标记边缘坐标值及中心位置,分析计算套准误差,根据偏移量确定对应印刷机颜色所在的横纵校准装置的调整方向和调整量。s5 performs edge extraction on the acquisition target image. According to the edge coordinate value and center position of the positioning mark corresponding to each color of the printing machine, the registration error is analyzed and calculated, and the adjustment direction and adjustment amount of the horizontal and vertical calibration device corresponding to the color of the printing machine are determined according to the offset.
具体地,例如四色印刷机,四个颜色黑色(K)、青色(C)、品红(M)、黄色(Y)分别对应四个不同的定位标记。若C与M定位标记重叠。在计算C,M的套印误差时只需要C,M的边缘信息。在计算C色横向套印误差时,分离边缘得到C色定位标记最左边缘的位置,计算其与原点的横向距离,将这个距离与1倍的定位标记标准宽度做差值,即可得到C色横向套印误差。在计算M色横向套印误差时,分离边缘得到M色定位标记最右边缘的位置,计算其与原点的横向距离,将这个距离与3.5倍的定位标记标准宽度做差值,即可得到M色横向套印误。在计算C色纵向套印误差时,分离边缘得到C色定位标记最上边缘的位置,计算其与原点的纵向距离,将这个距离与0.5倍的定位标记标准宽度做差值,即可得到C色纵向套印误差。在计算M色纵向套印误差时,分离边缘得到M色定位标记最上边缘的位置,计算其与原点的纵向距离,将这个距离与0.5倍的定位标记标准宽度做差值,即可得到M色纵向套印误差。在求取对应颜色最上边缘时根据计算横向误差时分离的最左或最右边缘判断此段上的像素和其左右像素隶属于哪一种颜色。Specifically, for example, in a four-color printing machine, the four colors black (K), cyan (C), magenta (M), and yellow (Y) correspond to four different positioning marks. If the C and M positioning markers overlap. When calculating the overprint error of C and M, only the edge information of C and M is needed. When calculating the C-color lateral overprint error, separate the edge to get the position of the leftmost edge of the C-color positioning mark, calculate its lateral distance from the origin, and make a difference between this distance and 1 times the standard width of the positioning mark to obtain C-color Horizontal overprint error. When calculating the M-color lateral overprint error, separate the edge to get the position of the rightmost edge of the M-color positioning mark, calculate its lateral distance from the origin, and make a difference between this distance and 3.5 times the standard width of the positioning mark to obtain the M-color Horizontal overprint error. When calculating the C-color vertical overprint error, separate the edge to get the position of the uppermost edge of the C-color positioning mark, calculate its longitudinal distance from the origin, and make a difference between this distance and 0.5 times the standard width of the positioning mark to obtain the C-color vertical direction Overprint error. When calculating the M-color vertical overprint error, separate the edge to get the position of the uppermost edge of the M-color positioning mark, calculate its longitudinal distance from the origin, and make a difference between this distance and 0.5 times the standard width of the positioning mark to obtain the M-color vertical Overprint error. When obtaining the uppermost edge of the corresponding color, judge which color the pixel on this segment and its left and right pixels belong to according to the leftmost or rightmost edge separated when calculating the lateral error.
较佳地,不同印刷机颜色对应不同形状定位标记,定位标记的宽度与高度保持一致,标记之间的间距为标记宽度的一半,标记的最下边缘在同一水平线上时标记中心也能保持在同一水平线。印刷机黑色定位标记为“十”形状。Preferably, different printing machine colors correspond to different shapes of positioning marks, the width and height of the positioning marks are consistent, the distance between the marks is half of the mark width, and the center of the mark can also be kept at the same horizontal line when the bottom edge of the mark is on the same horizontal line. same level. Press black registration marks in the shape of a "ten".
较佳地,所述除印刷机黑色外的定位标记标准面积相加总和与计算结果差值的阈值规定为面积总和的1/20-1/30。在进行套印之前,事先需要设计好定位标记大小,根据大小设置阈值,阈值过大会干扰进一步的图像分析,不利于定位标记的准确识别。Preferably, the threshold value of the difference between the sum of the standard areas of the positioning marks except printing machine black and the calculation result is specified as 1/20-1/30 of the sum of the areas. Before overprinting, it is necessary to design the size of the positioning mark in advance, and set the threshold according to the size. If the threshold is too large, it will interfere with further image analysis, which is not conducive to the accurate identification of the positioning mark.
较佳地,所述的匹配模板大小与相机采集图像大小相一致,包含所有颜色对应定位标记和标记标准位置。Preferably, the size of the matching template is consistent with the size of the image captured by the camera, including all colors corresponding to positioning marks and marking standard positions.
进一步地,所述上移偏差和下移偏差计算时使用像素值,计算之后根据CCD相机分辨率,将像素值转换为距离值,得到实际的套印误差。Further, pixel values are used in the calculation of the upward and downward deviations, and after calculation, the pixel values are converted into distance values according to the resolution of the CCD camera to obtain the actual overprint error.
实施例2Example 2
如图3所示,本实施例提供一种基于机器视觉的套印误差检测装置,适用于采用上述实施例1中的套印误差检测方法进行自动套印误差检测校准,包括工控机8,所述工控机8安装有套印误差检测系统,以实现实施例1的处理过程;As shown in Figure 3, this embodiment provides a machine vision-based overprint error detection device, which is suitable for automatic overprint error detection and calibration using the overprint error detection method in the above-mentioned embodiment 1, including an industrial computer 8, the industrial computer 8. An overprint error detection system is installed to realize the processing of Embodiment 1;
还包括用于采集图像的黑白线阵CCD相机3、用于照明的LED光源4、四色印刷机5、横向校准6和纵向校准装置7;It also includes a black and white linear array CCD camera 3 for image acquisition, an LED light source 4 for lighting, a four-color printing machine 5, a horizontal calibration device 6 and a vertical calibration device 7;
所述横向校准6和纵向校准装置7连接于工控机8,所述校准装置6和7安装在印刷机5上用来根据返回的套印误差校准印刷;The horizontal calibration 6 and the vertical calibration device 7 are connected to the industrial computer 8, and the calibration devices 6 and 7 are installed on the printing press 5 to calibrate printing according to the returned overprint error;
还包括板卡9,所述LED光源4通过板卡9与工控机8连接,所述CCD相机3与板卡9连接,通过板卡9采集数据,工控机8处理后将数据发送出去,调整校准装置6和7,所述板卡安装在工控机上。Also comprises board 9, described LED light source 4 is connected with industrial computer 8 through board 9, and described CCD camera 3 is connected with board 9, collects data through board 9, and industrial computer 8 sends out data after processing, adjusts The calibration devices 6 and 7, the boards are installed on the industrial computer.
具体地,该检测装置主要用于套印误差检测的自动调整,工控机8中安装图像采集系统和套印误差检测系统。通过采集系统控制相机3快门速度,景深等一系列参数,获取目标图像,并将目标图像传送给套印误差检测系统。套印误差检测系统获得图像后直接根据像素点计算定位标记面积并判断是否重叠采用不同的误差检测方法,计算好套印误差之后根据CCD相机3分辨率,将像素值转换为距离值,得到实际的套印误差。工控机8将套印误差传输给横向套印校准装置6和纵向套印7校准装置。校准装置进行校准,印刷机5继续打印下一印刷单元。Specifically, the detection device is mainly used for automatic adjustment of overprint error detection, and an image acquisition system and an overprint error detection system are installed in the industrial computer 8 . A series of parameters such as the shutter speed and depth of field of the camera 3 are controlled by the acquisition system to obtain the target image, and the target image is transmitted to the overprint error detection system. After the overprint error detection system obtains the image, it directly calculates the area of the positioning mark according to the pixels and judges whether it overlaps. Different error detection methods are used. After calculating the overprint error, the pixel value is converted into a distance value according to the resolution of the CCD camera 3 to obtain the actual overprint. error. The industrial computer 8 transmits the overprint error to the horizontal overprint calibration device 6 and the vertical overprint 7 calibration device. The calibration device performs calibration, and the printing machine 5 continues to print the next printing unit.
较佳的,相机3以保持预设的横向和纵向角度安装在印刷机5支架上,具体地,相机3纵向与标准纸张前进方向平行,相机3与光源4都放在印刷品有印刷标记的一侧,保持相机3能够按照预定角度进行图像获取。Preferably, the camera 3 is installed on the support of the printing press 5 with the preset horizontal and vertical angles maintained. Specifically, the longitudinal direction of the camera 3 is parallel to the standard paper advance direction, and the camera 3 and the light source 4 are placed on a side where the printed matter has a printed mark. On the side, the camera 3 is held to be able to acquire images at a predetermined angle.
进一步地,通过工控机8控制相机3快门速度、焦距、光圈、景深以及距离印刷机5的垂直距离。Further, the shutter speed, focal length, aperture, depth of field and vertical distance from the printing machine 5 of the camera 3 are controlled by the industrial computer 8 .
以上实施例仅用以说明本发明的技术方案,而非对其限制,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或替换,并不是相应技术方案的本质脱离本发明各实施例的技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or modify some of the technical features. Equivalent replacements are carried out; and these modifications or replacements do not mean that the essence of the corresponding technical solutions deviates from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710064272.1A CN106897996A (en) | 2017-02-04 | 2017-02-04 | chromatography error detection method based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710064272.1A CN106897996A (en) | 2017-02-04 | 2017-02-04 | chromatography error detection method based on machine vision |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106897996A true CN106897996A (en) | 2017-06-27 |
Family
ID=59198605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710064272.1A Pending CN106897996A (en) | 2017-02-04 | 2017-02-04 | chromatography error detection method based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106897996A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107833225A (en) * | 2017-10-18 | 2018-03-23 | 中南民族大学 | Feature based drives the image partition method and system of heuristic four colour codes label |
CN108928147A (en) * | 2018-06-22 | 2018-12-04 | 佛山石湾鹰牌陶瓷有限公司 | The adjustment method of InkJet printing processes |
CN109814536A (en) * | 2019-03-01 | 2019-05-28 | 长春市吉海测控技术有限责任公司 | A kind of register partial difference detection method based on machine vision register control system |
CN110303764A (en) * | 2019-07-05 | 2019-10-08 | 浙江海印数码科技有限公司 | A kind of double exposure method and system |
CN110375692A (en) * | 2019-07-24 | 2019-10-25 | 深圳市科伦特电子有限公司 | A kind of LED display splicing detection and localization method and device |
CN111016449A (en) * | 2019-05-23 | 2020-04-17 | 深圳圣德京粤科技有限公司 | Method for adjusting positive and negative overprinting of ink-jet printing |
CN111231530A (en) * | 2020-01-14 | 2020-06-05 | 天津迦自机器人科技有限公司 | Quality detection method for double-color printer |
CN111275667A (en) * | 2020-01-13 | 2020-06-12 | 武汉科技大学 | A processing error detection method, device and processing method |
CN111309271A (en) * | 2020-01-14 | 2020-06-19 | 浙江大学滨海产业技术研究院 | A two-color printer detection method based on machine vision |
CN112693947A (en) * | 2020-12-21 | 2021-04-23 | 江苏迪盛智能科技有限公司 | Pulling deviation processing method and device, electronic equipment and storage medium |
CN113211981A (en) * | 2021-06-09 | 2021-08-06 | 北京印刷学院 | Digital printing deviation correction device and method |
CN113847868A (en) * | 2021-08-05 | 2021-12-28 | 乐歌人体工学科技股份有限公司 | A positioning method and system for a material carrying device with rectangular legs |
CN114170319A (en) * | 2021-10-26 | 2022-03-11 | 昆山丘钛微电子科技股份有限公司 | Method and device for adjusting test target |
CN114348699A (en) * | 2021-12-29 | 2022-04-15 | 深圳圣德京粤科技有限公司 | Online positioning method and device for printing platform and printing system |
CN114454636A (en) * | 2021-12-27 | 2022-05-10 | 深圳市汉森软件有限公司 | Method, device and equipment for printing images by color register offset positioning and storage medium |
CN114454637A (en) * | 2021-12-27 | 2022-05-10 | 深圳市汉森软件有限公司 | Method, device and equipment for controlling image color register printing and storage medium |
CN114682919A (en) * | 2020-12-30 | 2022-07-01 | 富联裕展科技(深圳)有限公司 | Laser color marking method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0374174A1 (en) * | 1987-08-31 | 1990-06-27 | Valtion Teknillinen Tutkimuskeskus | Procedure for monitoring printing quality |
EP1010132A1 (en) * | 1997-09-02 | 2000-06-21 | Innolutions, Inc. | Method and apparatus for register mark identification |
DE19940879A1 (en) * | 1999-08-27 | 2001-03-08 | Innomess Elektronik Gmbh | Device and procedure for comparison of a digitized print image with a reference image for automatic quality control so that if error values exceed a threshold value an alarm is generated to inform print machine operators |
JP2001100470A (en) * | 1999-09-13 | 2001-04-13 | Agfa Corp | Image forming parameter detection |
CN102275382A (en) * | 2011-06-01 | 2011-12-14 | 西安理工大学 | Method for automatically detecting registering deviations of color printed matters |
CN102689501A (en) * | 2011-03-24 | 2012-09-26 | 海德堡印刷机械股份公司 | Printing process and system for ascertaining register defects |
EP2855154A1 (en) * | 2012-05-29 | 2015-04-08 | Océ Printing Systems GmbH & Co. KG | Method for controlling a color printer or a color copier |
-
2017
- 2017-02-04 CN CN201710064272.1A patent/CN106897996A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0374174A1 (en) * | 1987-08-31 | 1990-06-27 | Valtion Teknillinen Tutkimuskeskus | Procedure for monitoring printing quality |
EP1010132A1 (en) * | 1997-09-02 | 2000-06-21 | Innolutions, Inc. | Method and apparatus for register mark identification |
DE19940879A1 (en) * | 1999-08-27 | 2001-03-08 | Innomess Elektronik Gmbh | Device and procedure for comparison of a digitized print image with a reference image for automatic quality control so that if error values exceed a threshold value an alarm is generated to inform print machine operators |
JP2001100470A (en) * | 1999-09-13 | 2001-04-13 | Agfa Corp | Image forming parameter detection |
CN102689501A (en) * | 2011-03-24 | 2012-09-26 | 海德堡印刷机械股份公司 | Printing process and system for ascertaining register defects |
CN102275382A (en) * | 2011-06-01 | 2011-12-14 | 西安理工大学 | Method for automatically detecting registering deviations of color printed matters |
EP2855154A1 (en) * | 2012-05-29 | 2015-04-08 | Océ Printing Systems GmbH & Co. KG | Method for controlling a color printer or a color copier |
Non-Patent Citations (2)
Title |
---|
张锡福: ""基于机器视觉的套印对准技术研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
樊丽娜 等: ""基于机器视觉的彩色印刷品套印误差检测方法研究"", 《包装工程》 * |
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107833225B (en) * | 2017-10-18 | 2020-06-16 | 中南民族大学 | Image segmentation method and system based on feature-driven heuristic four-color label |
CN107833225A (en) * | 2017-10-18 | 2018-03-23 | 中南民族大学 | Feature based drives the image partition method and system of heuristic four colour codes label |
CN108928147A (en) * | 2018-06-22 | 2018-12-04 | 佛山石湾鹰牌陶瓷有限公司 | The adjustment method of InkJet printing processes |
CN108928147B (en) * | 2018-06-22 | 2021-01-22 | 佛山石湾鹰牌陶瓷有限公司 | Debugging method of ink-jet printing process |
CN109814536A (en) * | 2019-03-01 | 2019-05-28 | 长春市吉海测控技术有限责任公司 | A kind of register partial difference detection method based on machine vision register control system |
CN111016449B (en) * | 2019-05-23 | 2021-07-23 | 深圳圣德京粤科技有限公司 | Method for adjusting positive and negative overprinting of ink-jet printing |
CN111016449A (en) * | 2019-05-23 | 2020-04-17 | 深圳圣德京粤科技有限公司 | Method for adjusting positive and negative overprinting of ink-jet printing |
CN110303764A (en) * | 2019-07-05 | 2019-10-08 | 浙江海印数码科技有限公司 | A kind of double exposure method and system |
CN110303764B (en) * | 2019-07-05 | 2021-01-26 | 浙江海印数码科技有限公司 | Overprinting method and system |
CN110375692A (en) * | 2019-07-24 | 2019-10-25 | 深圳市科伦特电子有限公司 | A kind of LED display splicing detection and localization method and device |
CN111275667B (en) * | 2020-01-13 | 2024-05-24 | 武汉科技大学 | Machining error detection method, device and machining method |
CN111275667A (en) * | 2020-01-13 | 2020-06-12 | 武汉科技大学 | A processing error detection method, device and processing method |
CN111309271B (en) * | 2020-01-14 | 2022-05-31 | 浙江大学滨海产业技术研究院 | Machine vision-based double-color printer detection method |
CN111231530B (en) * | 2020-01-14 | 2021-10-01 | 天津迦自机器人科技有限公司 | Quality detection method for double-color printer |
CN111231530A (en) * | 2020-01-14 | 2020-06-05 | 天津迦自机器人科技有限公司 | Quality detection method for double-color printer |
CN111309271A (en) * | 2020-01-14 | 2020-06-19 | 浙江大学滨海产业技术研究院 | A two-color printer detection method based on machine vision |
CN112693947A (en) * | 2020-12-21 | 2021-04-23 | 江苏迪盛智能科技有限公司 | Pulling deviation processing method and device, electronic equipment and storage medium |
CN112693947B (en) * | 2020-12-21 | 2022-09-27 | 江苏迪盛智能科技有限公司 | Drawing deviation processing method, device, electronic device and storage medium |
CN114682919A (en) * | 2020-12-30 | 2022-07-01 | 富联裕展科技(深圳)有限公司 | Laser color marking method |
CN113211981A (en) * | 2021-06-09 | 2021-08-06 | 北京印刷学院 | Digital printing deviation correction device and method |
CN113847868A (en) * | 2021-08-05 | 2021-12-28 | 乐歌人体工学科技股份有限公司 | A positioning method and system for a material carrying device with rectangular legs |
CN113847868B (en) * | 2021-08-05 | 2024-04-16 | 乐仓信息科技有限公司 | Positioning method and system for material bearing device with rectangular support legs |
CN114170319A (en) * | 2021-10-26 | 2022-03-11 | 昆山丘钛微电子科技股份有限公司 | Method and device for adjusting test target |
CN114454637A (en) * | 2021-12-27 | 2022-05-10 | 深圳市汉森软件有限公司 | Method, device and equipment for controlling image color register printing and storage medium |
CN114454637B (en) * | 2021-12-27 | 2022-12-09 | 深圳市汉森软件有限公司 | Image color register printing control method, device, equipment and storage medium |
CN114454636B (en) * | 2021-12-27 | 2022-12-09 | 深圳市汉森软件有限公司 | Method, device and equipment for printing images by color register offset positioning and storage medium |
CN114454636A (en) * | 2021-12-27 | 2022-05-10 | 深圳市汉森软件有限公司 | Method, device and equipment for printing images by color register offset positioning and storage medium |
CN114348699B (en) * | 2021-12-29 | 2024-04-30 | 深圳圣德京粤科技有限公司 | Printing platform online positioning method, positioning device and printing system |
CN114348699A (en) * | 2021-12-29 | 2022-04-15 | 深圳圣德京粤科技有限公司 | Online positioning method and device for printing platform and printing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106897996A (en) | chromatography error detection method based on machine vision | |
CN102275382B (en) | Method for automatically detecting registering deviations of color printed matters | |
JP7150530B2 (en) | Automatic image sensor calibration | |
CN111242896A (en) | Color printing label defect detection and quality rating method | |
WO2017008854A1 (en) | Image defect detection | |
CN109353118B (en) | A multifunctional color mark set for detecting printing registration deviation | |
CN102765249A (en) | Machine vision detection method based on four-colour printed matter registration detection marks | |
CN108709500B (en) | A method for positioning and matching circuit board components | |
CN102837497A (en) | Precision detection device and precision detection method of printing machine | |
US11267264B2 (en) | Method for automated alignment and register measurement using circular measuring marks | |
CN105091755B (en) | A kind of detection method of screen process press secondary printing precision | |
JP2008209354A (en) | Calibration method and apparatus, and automatic detection apparatus | |
CN111402343A (en) | High-precision calibration plate and calibration method | |
CN105241894B (en) | A kind of template method for registering surveyed for the product examine of multiple operation flexible printing | |
JP5949214B2 (en) | Quality inspection method | |
CN114240984B (en) | Circular mark point edge extraction method and application thereof | |
CN105740832B (en) | A method of stop line detection and ranging applied to intelligent driving | |
CN111784779A (en) | Checkerboard image recognition and positioning system and method based on convolutional neural network and nested contour recognition | |
US20230252669A1 (en) | Method for determining a reference position | |
JP7037173B2 (en) | Quality inspection equipment for corrugated cardboard sheets | |
CN219122046U (en) | Urine analysis detection card based on smart phone is photographed | |
US8964245B2 (en) | Color plane registration error measurement | |
CN117152055A (en) | Method for rapidly positioning and judging polarity of PCBA capacitive element based on ellipse fitting | |
CN105469085B (en) | Board card image acquisition method and system | |
CN110949002B (en) | Automatic registration measurement method and color measurement and control strip thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170627 |
|
RJ01 | Rejection of invention patent application after publication |