[go: up one dir, main page]

CN114331967A - Visual collection image quality inspection method and system - Google Patents

Visual collection image quality inspection method and system Download PDF

Info

Publication number
CN114331967A
CN114331967A CN202111471660.4A CN202111471660A CN114331967A CN 114331967 A CN114331967 A CN 114331967A CN 202111471660 A CN202111471660 A CN 202111471660A CN 114331967 A CN114331967 A CN 114331967A
Authority
CN
China
Prior art keywords
data
image data
pure noise
original image
noise
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
Application number
CN202111471660.4A
Other languages
Chinese (zh)
Inventor
王政
黄几良
王岐
王大伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xikeshi Technology Zhuhai Co ltd
Original Assignee
Xikeshi Technology Zhuhai Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xikeshi Technology Zhuhai Co ltd filed Critical Xikeshi Technology Zhuhai Co ltd
Priority to CN202111471660.4A priority Critical patent/CN114331967A/en
Publication of CN114331967A publication Critical patent/CN114331967A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

本发明提供一种视觉采集图像品检方法及系统,方法包括:建立基于载体材料的纯噪点数据基准;接收原始图像数据,将原始图像数据与纯噪点数据基准合成为标准对比数据;利用视觉采集待测图像数据,比对待测图像数据和标准对比数据,得出品检判断结果。先建立载体材料的纯噪点数据基准,其中包括视觉采集过程中的光学噪点,而原始图像数据包含正确信息,既无环境噪点也无产品瑕疵,将原始图像数据与纯噪点数据基准合成为标准对比数据,其包含有原始图像数据正确信息和无可避免的光学噪点,将标准对比数据与待测图像数据对比,能清晰辨别出待测图像数据中的产品瑕疵,避免误判,标准对比数据的建立方法简单,节省人力成本,处理效率高,误判率低。

Figure 202111471660

The invention provides a method and system for quality inspection of visually collected images. The method includes: establishing a pure noise data benchmark based on a carrier material; receiving original image data, synthesizing the original image data and the pure noise data benchmark into standard comparison data; The image data to be tested is compared with the image data to be tested and the standard comparison data, and the quality inspection judgment result is obtained. First establish a pure noise data benchmark for the carrier material, which includes optical noise in the visual acquisition process, and the original image data contains correct information, neither environmental noise nor product defects, and the original image data and pure noise data benchmarks are synthesized as a standard comparison Data, which contains the correct information of the original image data and unavoidable optical noise, compares the standard comparison data with the image data to be tested, and can clearly identify product defects in the image data to be tested, avoid misjudgment, and the standard comparison data. The establishment method is simple, the labor cost is saved, the processing efficiency is high, and the misjudgment rate is low.

Figure 202111471660

Description

一种视觉采集图像品检方法及系统A kind of visual acquisition image quality inspection method and system

技术领域technical field

本发明属于智能制造技术领域,尤其涉及一种视觉采集图像品检方法及系统。The invention belongs to the technical field of intelligent manufacturing, and in particular relates to a method and system for quality inspection of visually collected images.

背景技术Background technique

在印刷品产品的生产过程中,视觉检验是一个决定质量完成度的重要环节。目前针对印刷品的视觉检验方法为:先对已完成的印刷品产品进行机器视觉采集,得到一小批的图片数据,然后人工从这批图片数据中筛选出一个良好产品作为标准件图片,并将此标准件图片录入处理系统中,作为后续检验的比对标准。In the production process of printed products, visual inspection is an important link in determining the degree of quality completion. At present, the visual inspection method for printed matter is as follows: first, perform machine vision collection on the finished printed matter to obtain a small batch of picture data, and then manually select a good product from this batch of picture data as a standard part picture, and use the Pictures of standard parts are entered into the processing system and used as comparison standards for subsequent inspections.

这种方法适用于大批量生产,一张标准件图片能满足大批量印刷品的品质检验,与大批量生产相比,在确定标准件图片时所投入的人工筛选则显得可以接受,即使在确定标准件图片的过程中效率非常低。而随着印刷品小批量、定制化的需求越来越多,以上人工投入成本高、效率低的品检方法显得格格不入。This method is suitable for mass production. A standard part picture can meet the quality inspection of mass printing. Compared with mass production, the manual screening when determining the standard part picture is acceptable, even if the standard part is determined. The efficiency of the image processing is very low. With the increasing demand for small batches and customization of printed materials, the above-mentioned quality inspection methods with high labor input cost and low efficiency seem out of place.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于克服上述现有技术存在的不足,提供一种视觉采集图像品检方法及系统,主要用于解决现有技术中印刷品品检过程效率低、人工成本高、不符合小批量定制化生产等问题。The purpose of the present invention is to overcome the above-mentioned deficiencies in the prior art, and to provide a visual acquisition image quality inspection method and system, which is mainly used to solve the problems of low efficiency, high labor cost, and incompatibility with small batch customization in the prior art printed product inspection process. production issues.

为了实现上述目的,第一方面,本发明提供一种视觉采集图像品检方法,包括以下步骤:In order to achieve the above-mentioned purpose, in the first aspect, the present invention provides a quality inspection method for visually captured images, comprising the following steps:

建立基于载体材料的纯噪点数据基准;Establish a pure noise data benchmark based on carrier material;

接收原始图像数据,将所述原始图像数据与所述纯噪点数据基准合成为标准对比数据;receiving original image data, and synthesizing the original image data and the pure noise data benchmark into standard comparison data;

利用视觉采集待测图像数据,比对所述待测图像数据和所述标准对比数据,得出品检判断结果。The image data to be tested is collected visually, and the image data to be tested is compared with the standard comparison data to obtain a quality inspection judgment result.

进一步地,在建立基于载体材料的纯噪点数据基准前,先确定环境因素,所述环境因素包括但不限于视觉聚焦信息和视觉辅光信息。Further, before establishing the pure noise data benchmark based on the carrier material, environmental factors are determined first, and the environmental factors include but are not limited to visual focus information and visual auxiliary light information.

进一步地,在建立基于载体材料的纯噪点数据基准时,在确定的环境因素下,采集M张载体材料噪点图,对每张载体材料噪点图建立N1×N2的单位元点阵图,对M张载体材料噪点图的相同划分区域进行矩阵分析算法计算,基于矩阵分析算法计算结果,建立载体材料的纯噪点数据基准。Further, when establishing a pure noise data benchmark based on carrier materials, M pieces of carrier material noise maps are collected under certain environmental factors, and an N1×N2 unit cell lattice map is established for each carrier material noise map. The same divided area of the noise map of the carrier material is calculated by the matrix analysis algorithm, and the pure noise data benchmark of the carrier material is established based on the calculation result of the matrix analysis algorithm.

进一步地,所述相同划分区域是大小为A×A的单位元区域,其中A≥1。Further, the same divided area is a unit cell area with a size of A×A, where A≧1.

进一步地,分别对不同的载体材料种类进行纯噪点数据基准的建立,成立载体材料数据基准数据库。Further, the establishment of pure noise data benchmarks is carried out for different carrier material types, and a carrier material data benchmark database is established.

进一步地,在接收原始图像数据,并将所述原始图像数据与所述纯噪点数据基准合成为标准对比数据时,包括以下步骤:Further, when receiving the original image data, and synthesizing the original image data and the pure noise data benchmark into standard comparison data, the following steps are included:

接收品检任务数据包,所述品检任务数据包至少包括原始图像数据和载体材料信息,所述原始图像数据为原始设计图像数据,根据所述载体材料信息在载体材料数据基准数据库中调取对应的纯噪点数据基准,将所述原始图像数据与调取出的纯噪点数据基准进行数据合成,得到标准对比数据。Receive a quality inspection task data package, the quality inspection task data package includes at least original image data and carrier material information, the original image data is the original design image data, and retrieved from the carrier material data benchmark database according to the carrier material information For the corresponding pure noise data benchmark, the original image data is combined with the extracted pure noise data benchmark to obtain standard comparison data.

进一步地,在比对所述待测图像数据和所述标准对比数据时,包括以下步骤:Further, when comparing the image data to be measured and the standard contrast data, the following steps are included:

分别对所述待测图像数据和所述标准对比数据建立N1×N2的单位元点阵图,针对两个单位元点阵图的相同划分区域分别进行矩阵值计算,将同属一个划分区域的矩阵值进行比对。Establish N1×N2 unit cell bitmaps for the image data to be measured and the standard comparison data, respectively, perform matrix value calculation for the same divided area of the two unit cell bitmaps, and calculate the matrix values that belong to the same divided area. values are compared.

进一步地,在进行矩阵值计算时,将所述待测图像数据和所述标准对比数据的单位元点阵图按A×A的单位元区域进行划分,对每一单位元区域进行矩阵值计算。Further, when the matrix value calculation is performed, the unit cell bitmap of the image data to be tested and the standard comparison data is divided according to the A×A unit cell area, and the matrix value calculation is performed for each unit cell area. .

进一步地,利用视觉采集待测图像数据时,先对待测产品进行机器视觉采集,对采集到的图像进行裁剪,得到待测图像数据。Further, when using vision to collect the image data to be tested, the product to be tested is firstly collected by machine vision, and the collected image is cropped to obtain the image data to be tested.

第二方面,本发明还提供一种应用于上述视觉采集图像品检系统,包括:In a second aspect, the present invention also provides a quality inspection system applied to the above-mentioned visually captured images, comprising:

数据基准数据库,包括若干个基于载体材料的纯噪点数据基准;Data benchmark database, including several pure noise data benchmarks based on carrier materials;

预处理单元,用于接收原始图像数据,并将所述原始图像数据与所述纯噪点数据基准合成为标准对比数据;a preprocessing unit, configured to receive original image data, and synthesize the original image data and the pure noise data benchmark into standard comparison data;

采集单元,用于视觉采集待测图像数据;The acquisition unit is used to visually collect the image data to be measured;

比对单元,用于比对所述待测图像数据和所述标准对比数据,得出品检判断结果。A comparison unit, configured to compare the image data to be tested and the standard comparison data to obtain a quality inspection judgment result.

相比现有技术,本发明的有益效果至少包括:Compared with the prior art, the beneficial effects of the present invention at least include:

先针对载体材料进行纯噪点数据基准的建立,此纯噪点数据基准包括视觉采集过程中的光学噪点,而原始图像数据则包含正确信息,既无环境噪点也无产品瑕疵,因此将原始图像数据与纯噪点数据基准合成为标准对比数据后,标准对比数据包含有原始图像数据正确信息和无可避免的光学噪点,将标准对比数据与待测图像数据对比后,能清晰辨别出待测图像数据中的产品瑕疵,避免误判,标准对比数据的建立只需将原始图像数据与所述纯噪点数据基准系统合成即可,节省人力成本,处理效率高,误判率低,品检质量好。First, establish a pure noise data benchmark for the carrier material. This pure noise data benchmark includes optical noise in the visual acquisition process, while the original image data contains correct information, neither environmental noise nor product defects. Therefore, the original image data and After the pure noise data benchmark is synthesized into the standard comparison data, the standard comparison data contains the correct information of the original image data and unavoidable optical noise. The establishment of standard comparison data only needs to synthesize the original image data with the pure noise data benchmark system, saving labor costs, high processing efficiency, low false positive rate, and good quality inspection.

附图说明Description of drawings

利用附图对本发明作进一步说明,但附图中的实施例不构成对本发明的任何限制,对于本领域的普通技术人员,在不付出创造性劳动的前提下,还可以根据以下附图获得其它的附图。The present invention will be further described by using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. For those of ordinary skill in the art, under the premise of no creative work, other Attached.

图1是本发明提供的一种视觉采集图像品检方法的流程示意图。FIG. 1 is a schematic flowchart of a quality inspection method for visually captured images provided by the present invention.

图2是本发明中载体材料数据基准数据库的建立流程示意图。FIG. 2 is a schematic flow chart of the establishment of the carrier material data reference database in the present invention.

图3是本发明中将待测图像数据与标准对比数据进行比对的具体流程图。FIG. 3 is a specific flow chart of comparing the image data to be tested with the standard comparison data in the present invention.

图4是本发明提供的一种视觉采集图像品检系统的示意图。FIG. 4 is a schematic diagram of a visual acquisition image quality inspection system provided by the present invention.

具体实施方式Detailed ways

下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation or a specific orientation. construction and operation, and therefore should not be construed as limiting the invention. Furthermore, the terms "first", "second", and "third" are used for descriptive purposes only and should not be construed to indicate or imply relative importance.

参照图1至图3,第一方面,本发明提供一种视觉采集图像品检方法,包括以下步骤:Referring to FIGS. 1 to 3 , in a first aspect, the present invention provides a quality inspection method for visually captured images, comprising the following steps:

建立基于载体材料的纯噪点数据基准,此纯噪点数据基准包括视觉采集过程中的光学噪点;Establish a noise-only data benchmark based on carrier material, which includes optical noise during visual acquisition;

接收原始图像数据,原始图像数据所包含的信息都是正确信息,既无环境噪点也无产品瑕疵,将所述原始图像数据与所述纯噪点数据基准合成为标准对比数据,至此,标准对比数据包含有原始图像数据的正确信息和无可避免的光学噪点;Receive the original image data, the information contained in the original image data is correct information, neither environmental noise nor product defects, the original image data and the pure noise data benchmark are synthesized into standard comparison data, so far, the standard comparison data Contains the correct information and inevitable optical noise of the original image data;

利用视觉采集待测图像数据,比对所述待测图像数据和所述标准对比数据,由于采用了同样的载体材料,由载体材料在视觉采集过程中产生的光学噪点已包含在标准对比数据中,待测图像数据中关于光学噪点那部分不会在比对过程引起误判,只有当待测图像数据中包括产品瑕疵时,才会在与标准对比数据的比对过程中暴露,以此实现辨别待测产品上的光学噪点和产品瑕疵,比对完后得出品检判断结果。Use vision to collect the image data to be measured, and compare the image data to be measured with the standard comparison data. Since the same carrier material is used, the optical noise generated by the carrier material during the visual acquisition process has been included in the standard comparison data. , the part of the optical noise in the image data to be tested will not cause misjudgment in the comparison process. Only when the image data to be tested includes product defects, will it be exposed during the comparison process with the standard comparison data, so as to achieve Identify the optical noise and product defects on the product to be tested, and obtain the quality inspection result after the comparison.

以上方式能清晰辨别出待测图像数据中的产品瑕疵,避免误判,标准对比数据的建立只需将原始图像数据与所述纯噪点数据基准系统合成即可,节省人力成本,处理效率高,误判率低,品检质量好。The above methods can clearly identify product defects in the image data to be tested, and avoid misjudgment. The establishment of standard comparison data only needs to synthesize the original image data with the pure noise data benchmark system, which saves labor costs and has high processing efficiency. The misjudgment rate is low, and the quality of inspection is good.

结合图2,在本实施例中,在建立基于载体材料的纯噪点数据基准前,先确定环境因素,所述环境因素包括但不限于视觉聚焦信息和视觉辅光信息,由于视觉采集会受到周围光照环境、摄像头聚焦设置等影响,针对不同的载体材料,环境因素也会有所不同,在确定好某一种载体材料后,要相应地确定与之相关的环境因素,并在后续采集待测图像数据时保持相同的环境因素。With reference to FIG. 2, in this embodiment, before establishing the pure noise data benchmark based on the carrier material, the environmental factors are determined first, and the environmental factors include but are not limited to visual focus information and visual auxiliary light information. Depending on the lighting environment, camera focus settings, etc., environmental factors will be different for different carrier materials. After a certain carrier material is determined, the environmental factors related to it should be determined accordingly, and the subsequent collection and testing will be carried out. Image data while maintaining the same environmental factors.

结合图2,作为一种实施方式,在建立基于载体材料的纯噪点数据基准时,在确定的环境因素下,采集M张载体材料噪点图,对每张载体材料噪点图建立N1×N2的单位元点阵图,其中N1和N2的值可以相同,也可以不相同;对M张载体材料噪点图的相同划分区域进行矩阵分析算法计算,基于矩阵分析算法计算结果,建立载体材料的纯噪点数据基准。Referring to FIG. 2 , as an implementation manner, when establishing a pure noise data benchmark based on carrier materials, under certain environmental factors, M pieces of carrier material noise maps are collected, and a unit of N1×N2 is established for each carrier material noise map. Element lattice map, in which the values of N1 and N2 can be the same or different; perform matrix analysis algorithm calculation on the same divided area of M noise maps of carrier materials, and establish pure noise data of carrier materials based on the calculation results of matrix analysis algorithm benchmark.

需要说明的是,对每一张载体材料噪点图先建立大小为N1×N2的单位元点阵图,根据载体材料的大小规格,可以是长方形或者正方形,在这个单位元点阵图中,按一定规律划分区域,此划分区域的规律可以按A×B的单位元区域来划分,其中A和B的值可以相同,也可以不相同;也可以根据人为设置的区域来划分;例如在10×20的单位元点阵图中,以2×4的大小来划分,每个划分区域不重叠,一共能划分出25个划分区域;在同一个划分规律下,每张载体材料噪点图都能划分出相同的划分区域,针对不同载体材料噪点图的同一个划分区域进行矩阵分析算法计算,得到这一划分区域的均值,基于矩阵分析算法计算结果,建立载体材料的纯噪点数据基准,计算准确度高,对于噪点的计算结果涵盖范围真实准确。It should be noted that, for each carrier material noise image, first establish a unit element lattice map with a size of N1×N2, which can be a rectangle or a square according to the size of the carrier material. In this unit element lattice map, press The area is divided according to a certain rule. The rule of dividing the area can be divided according to the unit area of A×B, where the values of A and B can be the same or different; they can also be divided according to the area set artificially; for example, in 10× The 20 unit element lattice map is divided into 2×4 size, each divided area does not overlap, a total of 25 divided areas can be divided; under the same division rule, each carrier material noise map can be divided The same divided area is obtained, and the matrix analysis algorithm is calculated for the same divided area of the noise map of different carrier materials to obtain the average value of this divided area. Based on the calculation results of the matrix analysis algorithm, the pure noise data benchmark of the carrier material is established to calculate the accuracy. High, the coverage of noise calculation results is true and accurate.

而在另一些实施例中,所述相同划分区域是大小为A×A的单位元区域,其中A≥1,即单位元区域为正方形,当然地,可以以1×1的大小来划分,即以每一个单位元为最小划分区域,这样精确度最高。In other embodiments, the same divided area is a unit cell area with a size of A×A, where A≥1, that is, the unit cell area is a square. Of course, it can be divided by a size of 1×1, that is Taking each unit element as the minimum division area, the accuracy is the highest.

与此相对地,在知道待测产品的大致布局后,可以对于标签具有较集中实际内容的区域进行重点划分布局,相对而言网格区域细一些,而对于边角区域,相对而言网格区域大一些,因此可以根据人为设置的区域来划分。In contrast, after knowing the general layout of the product to be tested, you can focus on the layout of the area where the label has more concentrated actual content. Relatively speaking, the grid area is thinner, and for the corner area, the grid is relatively The area is larger, so it can be divided according to the artificially set area.

在一些实施例中,为了适应多种载体材料的场景,分别对不同的载体材料种类进行纯噪点数据基准的建立,成立载体材料数据基准数据库,将多种载体材料对应的纯噪点数据基准整理成数据库,如需要用到具体何种载体材料再调取出来。In some embodiments, in order to adapt to the scenarios of various carrier materials, the establishment of pure noise data benchmarks is performed for different types of carrier materials, a carrier material data benchmark database is established, and the pure noise data benchmarks corresponding to various carrier materials are organized into Database, if you need to use the specific carrier material and then call it out.

结合图3,更具体地,在接收原始图像数据,并将所述原始图像数据与所述纯噪点数据基准合成为标准对比数据时,包括以下步骤:3, more specifically, when receiving the original image data, and synthesizing the original image data and the pure noise data benchmark into standard comparison data, the following steps are included:

接收品检任务数据包,所述品检任务数据包至少包括原始图像数据和载体材料信息,所述原始图像数据为原始设计图像数据,根据所述载体材料信息在载体材料数据基准数据库中调取对应的纯噪点数据基准,将所述原始图像数据与调取出的纯噪点数据基准进行数据合成,得到标准对比数据;利用数据驱动,自动调取出合适的纯噪点数据基准,再结合原始设计图像数据,能快速得到标准对比数据。Receive a quality inspection task data package, the quality inspection task data package includes at least original image data and carrier material information, the original image data is the original design image data, and retrieved from the carrier material data benchmark database according to the carrier material information For the corresponding pure noise data benchmark, the original image data and the extracted pure noise data benchmark are data synthesized to obtain standard comparison data; using the data drive, the appropriate pure noise data benchmark is automatically retrieved, and then combined with the original design Image data, can quickly get standard comparison data.

在本实施例中,在比对所述待测图像数据和所述标准对比数据时,包括以下步骤:In this embodiment, when comparing the image data to be measured and the standard comparison data, the following steps are included:

分别对所述待测图像数据和所述标准对比数据建立N1×N2的单位元点阵图,针对两个单位元点阵图的相同划分区域分别进行矩阵值计算,将同属一个划分区域的矩阵值进行比对,同理,对待测图像数据和所述标准对比数据按同样的规律进行划分区域,每一个划分区域在对应的两个数据中可能出现不一样的情况,根据矩阵值计算结果能判断出品检结果。Establish N1×N2 unit cell bitmaps for the image data to be measured and the standard comparison data, respectively, perform matrix value calculation for the same divided area of the two unit cell bitmaps, and calculate the matrix values that belong to the same divided area. In the same way, the image data to be tested and the standard comparison data are divided into regions according to the same rule, and each divided region may have different situations in the corresponding two data. Judging the quality inspection results.

作为一种实施方式,在进行矩阵值计算时,将所述待测图像数据和所述标准对比数据的单位元点阵图按A×A的单位元区域进行划分,即以正方形的单位元区域作为比对对象,对每一单位元区域进行矩阵值计算。As an embodiment, when the matrix value calculation is performed, the unit cell bitmap of the image data to be tested and the standard comparison data is divided according to A×A unit cell area, that is, a square unit cell area As a comparison object, a matrix value calculation is performed for each unit cell area.

在本实施例中,利用视觉采集待测图像数据时,先对待测产品进行机器视觉采集,对采集到的图像进行裁剪,裁剪到合适的尺寸,得到待测图像数据,再与标准对比数据进行比对,能提高数据处理效率,提高比对效率。In this embodiment, when using vision to collect the image data to be tested, the product to be tested is firstly collected by machine vision, the collected image is cropped, and cut to a suitable size to obtain the image data to be tested, and then compared with the standard data. The comparison can improve the data processing efficiency and improve the comparison efficiency.

结合图4,第二方面,本发明还提供一种应用于上述视觉采集图像品检系统,包括:4, in the second aspect, the present invention also provides a quality inspection system applied to the above-mentioned visually captured images, including:

数据基准数据库,包括若干个基于载体材料的纯噪点数据基准,相应地,也配套纯噪点数据建立单元,用于针对不同载体材料建立对应的纯噪点数据基准;The data benchmark database includes several pure noise data benchmarks based on carrier materials, and correspondingly, a pure noise data establishment unit is also provided for establishing corresponding pure noise data benchmarks for different carrier materials;

预处理单元,用于接收原始图像数据,并将所述原始图像数据与所述纯噪点数据基准合成为标准对比数据;a preprocessing unit, configured to receive original image data, and synthesize the original image data and the pure noise data benchmark into standard comparison data;

采集单元,用于视觉采集待测图像数据;The acquisition unit is used to visually collect the image data to be measured;

比对单元,用于比对所述待测图像数据和所述标准对比数据,得出品检判断结果。A comparison unit, configured to compare the image data to be tested and the standard comparison data to obtain a quality inspection judgment result.

相对于现有技术,本发明提供一种视觉采集图像品检方法及系统,先针对载体材料进行纯噪点数据基准的建立,此纯噪点数据基准包括视觉采集过程中的光学噪点,而原始图像数据则包含正确信息,既无环境噪点也无产品瑕疵,因此将原始图像数据与纯噪点数据基准合成为标准对比数据后,标准对比数据包含有原始图像数据正确信息和无可避免的光学噪点,将标准对比数据与待测图像数据对比后,能清晰辨别出待测图像数据中的产品瑕疵,避免误判,标准对比数据的建立只需将原始图像数据与所述纯噪点数据基准系统合成即可,节省人力成本,处理效率高,误判率低,品检质量好。Compared with the prior art, the present invention provides a visual acquisition image quality inspection method and system. First, a pure noise data benchmark is established for the carrier material. The pure noise data benchmark includes the optical noise in the visual acquisition process, and the original image data. It contains correct information, neither environmental noise nor product defects. Therefore, after synthesizing the original image data and the pure noise data benchmark into standard comparison data, the standard comparison data contains the correct information of the original image data and unavoidable optical noise. After the standard comparison data is compared with the image data to be tested, product defects in the image data to be tested can be clearly identified to avoid misjudgment. The establishment of the standard comparison data only needs to synthesize the original image data with the pure noise data benchmark system , saving labor costs, high processing efficiency, low false positive rate, and good quality inspection.

最后需要强调的是,本发明不限于上述实施方式,以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, it should be emphasized that the present invention is not limited to the above-mentioned embodiments, and the above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Substitutions, improvements, etc., should all be included within the protection scope of the present invention.

以上描述为发明的主要流程步骤,其中可穿插其它功能步骤,并可打乱上述逻辑顺序和流程步骤,若数据的处理方式按照此流程步骤形式处理或数据处理的核心思想近似、雷同,均应受到保护。The above description is the main process steps of the invention, in which other functional steps can be interspersed, and the above-mentioned logical sequence and process steps can be disrupted. be protected.

Claims (10)

1. A visual collection image quality inspection method is characterized by comprising the following steps:
establishing a pure noise data reference based on a carrier material;
receiving original image data, and synthesizing the original image data and the pure noise data into standard contrast data;
and acquiring image data to be detected by using vision, and comparing the image data to be detected with the standard comparison data to obtain a quality inspection judgment result.
2. The method of claim 1, wherein prior to establishing the pure noise data reference based on the carrier material, environmental factors are determined, wherein the environmental factors include, but are not limited to, visual focus information and visual auxiliary light information.
3. The method of claim 2, wherein in establishing the carrier-material-based pure noise data reference, M carrier-material noise maps are acquired under certain environmental factors, a single-element dot map of N1 × N2 is established for each carrier-material noise map, matrix analysis algorithm calculations are performed on the same divided regions of the M carrier-material noise maps, and the carrier-material-based pure noise data reference is established based on the matrix analysis algorithm calculations.
4. The method of claim 3, wherein said identically demarcated regions are unit-cell regions of size AxA, where A ≧ 1.
5. The method of claim 4, wherein the establishing of the pure noise data reference is performed for different types of carrier materials respectively to establish the carrier material data reference database.
6. The method of claim 5, wherein the step of receiving raw image data and combining the raw image data with the pure noise data reference to form standard contrast data comprises the steps of:
receiving a product inspection task data packet, wherein the product inspection task data packet at least comprises original image data and carrier material information, the original image data is original design image data, calling a corresponding pure noise data reference in a carrier material data reference database according to the carrier material information, and performing data synthesis on the original image data and the called pure noise data reference to obtain standard comparison data.
7. The visual inspection method of claim 6, wherein when comparing the image data to be inspected with the standard comparison data, the method comprises the following steps:
respectively establishing an N1 multiplied by N2 unit-element bitmap for the image data to be detected and the standard comparison data, respectively calculating matrix values of the same divided areas of the two unit-element bitmaps, and comparing the matrix values of the same divided areas.
8. The method as claimed in claim 7, wherein in the calculation of matrix values, the unit cell bitmap of the image data to be measured and the standard contrast data is divided into a unit cell area of a x a, and the calculation of matrix values is performed for each unit cell area.
9. The visual collection image quality inspection method according to claim 8, wherein when the image data to be inspected is collected visually, the machine vision collection is performed on the product to be inspected, and the collected image is cut to obtain the image data to be inspected.
10. A visual inspection system for use in any one of claims 1 to 9, comprising:
a data reference database comprising a plurality of pure noise data references based on a carrier material;
the preprocessing unit is used for receiving original image data and synthesizing the original image data and the pure noise data into standard contrast data;
the acquisition unit is used for visually acquiring image data to be detected;
and the comparison unit is used for comparing the image data to be detected with the standard comparison data to obtain a quality inspection judgment result.
CN202111471660.4A 2021-12-02 2021-12-02 Visual collection image quality inspection method and system Pending CN114331967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111471660.4A CN114331967A (en) 2021-12-02 2021-12-02 Visual collection image quality inspection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111471660.4A CN114331967A (en) 2021-12-02 2021-12-02 Visual collection image quality inspection method and system

Publications (1)

Publication Number Publication Date
CN114331967A true CN114331967A (en) 2022-04-12

Family

ID=81048682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111471660.4A Pending CN114331967A (en) 2021-12-02 2021-12-02 Visual collection image quality inspection method and system

Country Status (1)

Country Link
CN (1) CN114331967A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000042521A (en) * 1998-12-26 2000-07-15 이구택 Method for detecting surface defect over steel plate
CN104834939A (en) * 2015-05-12 2015-08-12 先进储能材料国家工程研究中心有限责任公司 Method for automatically detecting cavity detect of porous metal material online
CA2985565A1 (en) * 2015-04-09 2016-10-13 Filigrade B.V. Method of verifying an authenticity of a printed item and data processing terminal
CN108993929A (en) * 2018-08-01 2018-12-14 穆科明 A kind of dual-machine linkage industrial machine vision automatic checkout system
CN109916913A (en) * 2019-04-04 2019-06-21 哈尔滨理工大学 A machine vision-based intelligent manufacturing product identification and detection method
CN110009591A (en) * 2019-04-17 2019-07-12 南京邮电大学 An Adaptive Threshold Image Denoising Method Based on Fourth-Order Partial Differential Equation
CN111028163A (en) * 2019-11-28 2020-04-17 湖北工业大学 Convolution neural network-based combined image denoising and weak light enhancement method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000042521A (en) * 1998-12-26 2000-07-15 이구택 Method for detecting surface defect over steel plate
CA2985565A1 (en) * 2015-04-09 2016-10-13 Filigrade B.V. Method of verifying an authenticity of a printed item and data processing terminal
CN104834939A (en) * 2015-05-12 2015-08-12 先进储能材料国家工程研究中心有限责任公司 Method for automatically detecting cavity detect of porous metal material online
CN108993929A (en) * 2018-08-01 2018-12-14 穆科明 A kind of dual-machine linkage industrial machine vision automatic checkout system
CN109916913A (en) * 2019-04-04 2019-06-21 哈尔滨理工大学 A machine vision-based intelligent manufacturing product identification and detection method
CN110009591A (en) * 2019-04-17 2019-07-12 南京邮电大学 An Adaptive Threshold Image Denoising Method Based on Fourth-Order Partial Differential Equation
CN111028163A (en) * 2019-11-28 2020-04-17 湖北工业大学 Convolution neural network-based combined image denoising and weak light enhancement method

Similar Documents

Publication Publication Date Title
CN113325001B (en) Automatic distinguishing and detecting equipment and method for appearance flaws on surface of copper foil
CN111127571B (en) Small sample defect classification method and device
WO2022012240A1 (en) Method and device for detecting defect of display panel
CN111294589B (en) Camera module lens surface detection method
CN111539923A (en) Digital ray detection method and system for weld defects and server
JP7355943B2 (en) Method and system for automatic identification and grading of low acid etching defects using machine vision
CN112560816A (en) Equipment indicator lamp identification method and system based on YOLOv4
CN111681231B (en) Industrial welding image defect detection method based on target detection
CN102609939A (en) TFDS (Train Coach Machine Vision Detection System) image quality evaluation method and system
CN110544231A (en) Lithium battery electrode surface defect detection method based on background normalization and centralized compensation algorithm
CN113962929A (en) Photovoltaic cell assembly defect detection method and system and photovoltaic cell assembly production line
CN114897881B (en) A grain defect detection method based on edge features
CN113727022B (en) Inspection image acquisition method and device, electronic equipment, storage medium
CN115147370A (en) Battery top cover welding defect detection method and device, medium and electronic equipment
CN117115171B (en) Slight bright point defect detection method applied to subway LCD display screen
CN111275700A (en) Terminal defect detection method and system based on deep learning
CN113284113B (en) Glue overflow flaw detection method, device, computer equipment and readable storage medium
CN114998217A (en) Method for determining defect grade of glass substrate, computer device and storage medium
CN115908261A (en) A defect rating method and system based on X-ray images of castings
CN117589770A (en) PCB patch board detection method, device, equipment and medium
CN113570587A (en) Photovoltaic cell broken grid detection method and system based on computer vision
CN116539641A (en) Appearance detection method for photovoltaic glass assembly after two-channel laying
CN112819844A (en) Image edge detection method and device
CN107993223A (en) Scratch detection method, apparatus and electronic equipment
CN114331967A (en) Visual collection image quality inspection method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination