CN112129773B - Wood surface defect detection method, device, equipment, system and storage medium - Google Patents
Wood surface defect detection method, device, equipment, system and storage medium Download PDFInfo
- Publication number
- CN112129773B CN112129773B CN202010844478.8A CN202010844478A CN112129773B CN 112129773 B CN112129773 B CN 112129773B CN 202010844478 A CN202010844478 A CN 202010844478A CN 112129773 B CN112129773 B CN 112129773B
- Authority
- CN
- China
- Prior art keywords
- laser line
- wood
- image
- height position
- laser
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/47—Scattering, i.e. diffuse reflection
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
本发明公开了一种木材表面缺陷检测方法、装置、设备、系统及存储介质。其中,该方法包括:获取传送带在激光设备生成的激光线作用下的激光线图像;基于获取的所述激光线图像,提取所述激光线的激光线高度位置和激光线宽度;基于所述激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材;若所述传送带上存在木材,基于所述激光线的激光线高度位置和激光线宽度识别所述木材的表面缺陷。由于木材表面存在管胞效应,基于激光线的激光线高度位置和激光线宽度,可以准确识别出木材的表面缺陷,可以支持缺边、虫眼、死节、活节等缺陷的准确识别,且能够满足快速识别的识别需求,从而适用于木材表面缺陷的自动切锯领域。
The invention discloses a wood surface defect detection method, device, equipment, system and storage medium. Wherein, the method includes: acquiring a laser line image of a conveyor belt under the action of a laser line generated by a laser device; extracting a laser line height position and a laser line width of the laser line based on the acquired laser line image; based on the laser line Line height position and/or laser line width and preset laser line model, identify whether there is wood on the conveyor belt; if there is wood on the conveyor belt, identify the laser line based on the laser line height position and laser line width of the laser line. surface defects of the wood. Due to the tracheid effect on the surface of the wood, the surface defects of the wood can be accurately identified based on the height position of the laser line and the width of the laser line. To meet the identification needs of rapid identification, it is suitable for the field of automatic sawing of wood surface defects.
Description
技术领域technical field
本发明涉及木材检测领域,尤其涉及一种木材表面缺陷检测方法、装置、设备、系统及存储介质。The invention relates to the field of wood detection, in particular to a wood surface defect detection method, device, equipment, system and storage medium.
背景技术Background technique
实木板材是天然木材经烘干、加工后形成的装饰材料,具有自然美观、安全环保耐用、电热绝缘等优势,在家具制造、室内外装修等方面得到了广泛的应用。在木材科学与工程中,木材的品质等级决定了其在生产应用中的实用性。而木材表面缺陷如死节、活节、孔洞、虫眼等不仅影响木材工业成材美观性,同时会对木材本身质量与其承重等能力造成影响,因此木材表面缺陷检测和优选作为木材加工中的重要工序之一。Solid wood board is a decorative material formed by drying and processing natural wood. It has the advantages of natural beauty, safety, environmental protection and durability, and electrical and thermal insulation. It has been widely used in furniture manufacturing, indoor and outdoor decoration, etc. In wood science and engineering, the quality grade of wood determines its usefulness in production applications. And wood surface defects such as dead knots, joints, holes, bug eyes, etc. not only affect the aesthetics of the finished wood in the wood industry, but also affect the quality of the wood itself and its load-bearing capacity. Therefore, the detection and selection of wood surface defects is an important process in wood processing. one.
相关技术中,木材缺陷检测方法主要基于X射线、应力波、超声波、红外、激光、光学摄像机等。此外,还可以将数字图像处理技术、计算机视觉技术、模式识别技术应用于木材缺陷的检测中,将分形理论、小波多分辨率分析以及人工神经网络模式识别技术相结合,研究木材表面缺陷的纹理分割、特征提取、模式识别等问题,形成一类新的检测方法。In the related art, wood defect detection methods are mainly based on X-rays, stress waves, ultrasonic waves, infrared, lasers, optical cameras, and the like. In addition, digital image processing technology, computer vision technology, and pattern recognition technology can also be applied to the detection of wood defects, and the fractal theory, wavelet multi-resolution analysis and artificial neural network pattern recognition technology can be combined to study the texture of wood surface defects. Segmentation, feature extraction, pattern recognition and other issues form a new class of detection methods.
随着高端实木加工机械装备的快速发展,木材表面缺陷的自动识别与自动切锯在自动化工业领域上已得到了广泛应用,但普遍存在着精度不高或速度较慢等问题。相关技术中,通过木材表面正常区域与非正常区域的物理特性的不同来实现缺陷区域的检测与定位,例如通过X射线、红外等方式进行缺陷的检测,通过物理特性的检测虽然能满足工业上快速性的需求,但精确度欠缺。此外,还可以利用光学摄像机采集图片,设计高准确性的图像处理算法对木材表面缺陷进行检测定位,虽然具有高精确性的优点,但往往忽略了工业上快速性的需求,算法计算量大、耗时长。With the rapid development of high-end solid wood processing machinery and equipment, automatic identification of wood surface defects and automatic sawing have been widely used in the field of automation industry, but there are generally problems such as low precision or slow speed. In the related art, the detection and positioning of the defect area is realized by the difference in the physical characteristics of the normal area and the abnormal area on the surface of the wood. The need for rapidity, but the lack of precision. In addition, an optical camera can be used to collect pictures, and a high-accuracy image processing algorithm can be designed to detect and locate wood surface defects. Although it has the advantages of high accuracy, it often ignores the needs of industrial rapidity, and the algorithm requires a large amount of calculation. Time consuming.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例提供了一种木材表面缺陷检测方法、装置、设备、系统及存储介质,旨在满足缺陷识别精度的基础上,提高缺陷识别效率。In view of this, the embodiments of the present invention provide a wood surface defect detection method, device, equipment, system and storage medium, aiming at improving the defect identification efficiency on the basis of satisfying the defect identification accuracy.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is realized as follows:
第一方面,本发明实施例提供了一种木材表面缺陷检测方法,包括:In a first aspect, an embodiment of the present invention provides a method for detecting surface defects of wood, including:
获取传送带在激光设备生成的激光线作用下的激光线图像,所述激光线在水平面上沿所述传送带的宽度方向延伸;acquiring a laser line image of the conveyor belt under the action of a laser line generated by a laser device, the laser line extending along the width direction of the conveyor belt on a horizontal plane;
基于获取的所述激光线图像,提取所述激光线的激光线高度位置和激光线宽度;Based on the acquired laser line image, extract the laser line height position and the laser line width of the laser line;
基于所述激光线的激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材;Identifying whether there is wood on the conveyor belt based on the laser line height position and/or the laser line width of the laser line and a preset laser line model;
若所述传送带上存在木材,基于所述激光线的激光线高度位置和激光线宽度识别所述木材的表面缺陷。If there is wood on the conveyor belt, the surface defects of the wood are identified based on the laser line height position and the laser line width of the laser line.
在一些实施例中,所述基于所述激光线的激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材,包括:In some embodiments, the identifying whether there is wood on the conveyor belt based on the laser line height and/or laser line width of the laser line and a preset laser line model includes:
将所述激光线的激光线高度位置和激光线宽度与预设的第一激光线模型、第二激光线模型进行比较,得到第一相似度、第二相似度,所述第一相似度表征所述激光线与所述第一激光线模型之间的相似度,所述第二相似度表征所述激光线与所述第二激光线模型之间的相似度;Compare the laser line height position and laser line width of the laser line with the preset first laser line model and second laser line model to obtain a first similarity degree and a second similarity degree, and the first similarity degree represents similarity between the laser line and the first laser line model, and the second similarity represents the similarity between the laser line and the second laser line model;
确定所述第一相似度大于所述第二相似度,判定所述传送带上存在木材;或者,It is determined that the first similarity is greater than the second similarity, and it is determined that there is wood on the conveyor belt; or,
确定所述激光线的激光线宽度超出第二激光线模型中激光线的散射宽度值达到第一设定阈值,判定所述传送带上存在木材;或者,It is determined that the laser line width of the laser line exceeds the scattering width value of the laser line in the second laser line model and reaches a first set threshold, and it is determined that there is wood on the conveyor belt; or,
确定所述激光线的激光线高度位置超出第二激光线模型中激光线的高度位置达到第二设定阈值,判定所述传送带上存在木材;It is determined that the height position of the laser line of the laser line exceeds the height position of the laser line in the second laser line model and reaches the second set threshold, and it is determined that there is wood on the conveyor belt;
其中,所述第一激光线模型表征作用于所述位于传送带上木材表面的激光线的高度位置和散射宽度值,所述第二激光线模型表征作用于所述传送带表面的激光线的高度位置和散射宽度值。Wherein, the first laser line model represents the height position and scattering width value of the laser line acting on the surface of the wood on the conveyor belt, and the second laser line model represents the height position of the laser line acting on the surface of the conveyor belt and the scattering width value.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
获取所述传送带上木材的表面在所述激光设备生成的激光线作用下的第一激光线图像,基于所述第一激光线图像构建所述第一激光线模型;acquiring a first laser line image of the surface of the wood on the conveyor belt under the action of the laser line generated by the laser device, and constructing the first laser line model based on the first laser line image;
获取所述传送带的表面在所述激光设备生成的激光线作用下的第二激光线图像,基于所述第二激光线图像构建所述第二激光线模型。A second laser line image of the surface of the conveyor belt under the action of the laser line generated by the laser device is acquired, and the second laser line model is constructed based on the second laser line image.
在一些实施例中,所述基于所述激光线的激光线高度位置和激光线宽度识别所述木材的表面缺陷,包括:In some embodiments, the identifying surface defects of the wood based on the laser line height position and the laser line width of the laser line includes:
基于所述激光线的激光线高度位置与所述第一激光线模型中的高度位置的差值,构建所述木材的相对高度图像;constructing a relative height image of the wood based on the difference between the laser line height position of the laser line and the height position in the first laser line model;
基于所述激光线的激光线宽度与所述第一激光线模型中的散射宽度值的差值,构建所述木材的相对散射图像;constructing a relative scattering image of the wood based on the difference between the laser line width of the laser line and the scattering width value in the first laser line model;
基于所述相对高度图像确定所述木材是否存在第一缺陷;determining whether the wood has a first defect based on the relative height image;
基于所述相对散射图像确定所述木材是否存在第二缺陷;determining whether the wood has a second defect based on the relative scattering image;
其中,所述第一缺陷包括以下至少之一:缺边、虫眼;所述第二缺陷包括以下至少之一:死节、活节。Wherein, the first defect includes at least one of the following: missing edge and worm's eye; the second defect includes at least one of the following: dead joint and live joint.
在一些实施例中,所述基于所述第一激光线图像构建所述第一激光线模型,包括:In some embodiments, the constructing the first laser line model based on the first laser line image includes:
获取多帧所述第一激光线图像;acquiring multiple frames of the first laser line images;
基于多帧所述第一激光线图像确定所述木材上激光线的高度位置;determining the height position of the laser line on the wood based on the multiple frames of the first laser line image;
基于多帧所述第一激光线图像确定所述木材上激光线的散射宽度值;determining a scattering width value of a laser line on the wood based on a plurality of frames of the first laser line images;
所述基于所述第二激光线图像构建所述第二激光线模型,包括:The constructing the second laser line model based on the second laser line image includes:
获取多帧所述第二激光线图像;acquiring multiple frames of the second laser line images;
基于多帧所述第二激光线图像确定所述传送带上激光线的高度位置;determining the height position of the laser line on the conveyor belt based on the plurality of frames of the second laser line images;
基于多帧所述第二激光线图像确定所述传送带上激光线的散射宽度值。A scattering width value of the laser line on the conveyor belt is determined based on a plurality of frames of the second laser line images.
在一些实施例中,所述基于所述激光线的激光线高度位置与所述第一激光线模型中的高度位置的差值,构建所述木材的相对高度图像,包括:In some embodiments, constructing the relative height image of the wood based on the difference between the laser line height position of the laser line and the height position in the first laser line model includes:
针对获取的多帧所述激光线图像,构建所述木材对应区域上的相对高度图像,其中,所述相对高度图像中的各像素点的取值基于所述激光线高度位置与所述第一激光线模型中的高度位置的差值确定。For the acquired multiple frames of the laser line images, construct a relative height image on the corresponding area of the wood, wherein the value of each pixel in the relative height image is based on the height position of the laser line and the first The difference in height position in the laser line model is determined.
在一些实施例中,基于所述激光线的激光线宽度与所述第一激光线模型中的散射宽度值的差值,构建所述木材的相对散射图像,包括:In some embodiments, constructing a relative scattering image of the wood based on a difference between a laser line width of the laser line and a scattering width value in the first laser line model includes:
针对获取的多帧所述激光线图像,构建所述木材对应区域上的相对散射图像,其中,所述相对散射图像中的各像素点的取值基于所述激光线宽度与所述第一激光线模型中的散射宽度值的差值确定。For the acquired multiple frames of the laser line images, a relative scattering image on the corresponding area of the wood is constructed, wherein the value of each pixel in the relative scattering image is based on the width of the laser line and the first laser beam. The difference in the scattering width values in the line model is determined.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
若存在所述第一缺陷,基于所述相对高度图像确定所述第一缺陷对应的缺陷位置;和/或,If the first defect exists, determine the defect position corresponding to the first defect based on the relative height image; and/or,
若存在所述第二缺陷,基于所述相对散射图像确定所述第二缺陷对应的缺陷位置。If the second defect exists, a defect position corresponding to the second defect is determined based on the relative scattering image.
第二方面,本发明实施例还提供了一种木材表面缺陷检测装置,包括:In a second aspect, an embodiment of the present invention also provides a wood surface defect detection device, including:
获取模块,用于获取传送带在激光设备生成的激光线作用下的激光线图像,所述激光线在水平面上沿所述传送带的宽度方向延伸;an acquisition module for acquiring a laser line image of the conveyor belt under the action of a laser line generated by a laser device, the laser line extending along the width direction of the conveyor belt on a horizontal plane;
特征提取模块,用于基于获取的所述激光线图像,提取所述激光线的激光线高度位置和激光线宽度;a feature extraction module, configured to extract the laser line height position and the laser line width of the laser line based on the acquired laser line image;
第一识别模块,用于基于所述激光线的激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材;a first identification module for identifying whether there is wood on the conveyor belt based on the laser line height position and/or the laser line width of the laser line and a preset laser line model;
第二识别模块,用于若所述传送带上存在木材,基于所述激光线的激光线高度位置和激光线宽度识别所述木材的表面缺陷。The second identification module is configured to identify the surface defect of the wood based on the height position of the laser line and the width of the laser line if there is wood on the conveyor belt.
第三方面,本发明实施例还提供了一种木材表面缺陷检测设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器,用于运行计算机程序时,执行本发明实施例所述方法的步骤。In a third aspect, an embodiment of the present invention further provides a wood surface defect detection device, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein the processor is used to run a computer During the program, the steps of the methods described in the embodiments of the present invention are executed.
第四方面,本发明实施例还提供了一种木材表面缺陷检测系统,包括:In a fourth aspect, an embodiment of the present invention also provides a wood surface defect detection system, including:
传送带,用于在线传递木材;Conveyor belts for the online transfer of wood;
激光设备,用于生成作用于所述木材上的激光线;a laser device for generating a laser line acting on the wood;
图像采集设备,用于采集激光线图像;Image acquisition equipment for acquiring laser line images;
本发明实施例所述的木材表面缺陷检测设备,连接所述图像采集设备,接收所述图像采集设备采集的激光线图像。The wood surface defect detection device according to the embodiment of the present invention is connected to the image acquisition device, and receives the laser line image acquired by the image acquisition device.
第五方面,本发明实施例还提供了一种存储介质,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时,实现本发明实施例所述方法的步骤。In a fifth aspect, an embodiment of the present invention further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the method described in the embodiment of the present invention are implemented.
本发明实施例提供的技术方案,获取传送带在激光设备生成的激光线作用下的激光线图像,提取所述激光线图像中激光线的激光线高度位置和激光线宽度,基于所述激光线的激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材,若所述传送带上存在木材,基于所述激光线的激光线高度位置和激光线宽度识别所述木材的表面缺陷;由于木材表面存在管胞效应,基于激光线的激光线高度位置和激光线宽度,可以准确识别出木材的表面缺陷,可以支持缺边、虫眼、死节、活节等缺陷的准确识别,且能够满足快速识别的识别需求,从而适用于木材表面缺陷的自动切锯领域。The technical solution provided by the embodiment of the present invention is to obtain the laser line image of the conveyor belt under the action of the laser line generated by the laser equipment, and extract the laser line height position and laser line width of the laser line in the laser line image. Laser line height position and/or laser line width and preset laser line model, identify whether there is wood on the conveyor belt, if there is wood on the conveyor belt, identify based on the laser line height position and laser line width of the laser line The surface defects of the wood; due to the tracheid effect on the surface of the wood, the surface defects of the wood can be accurately identified based on the height position of the laser line and the width of the laser line, and can support missing edges, bug eyes, dead knots, live knots, etc. Accurate identification of defects, and can meet the identification needs of rapid identification, so it is suitable for the field of automatic sawing of wood surface defects.
附图说明Description of drawings
图1为本发明实施例木材表面缺陷检测方法的流程示意图;Fig. 1 is the schematic flow chart of the wood surface defect detection method of the embodiment of the present invention;
图2为本发明实施例木材表面缺陷检测系统的结构示意图;2 is a schematic structural diagram of a wood surface defect detection system according to an embodiment of the present invention;
图3本发明实施例中重建图像与木材实物比例一致的原理示意图;3 is a schematic diagram of the principle that the reconstructed image is consistent with the actual proportion of the wood in the embodiment of the present invention;
图4为本发明实施例激光线在木材表面正常区域管胞效应示意图;4 is a schematic diagram of the tracheid effect of the laser line in the normal area of the wood surface according to the embodiment of the present invention;
图5为本发明实施例激光线扫描木材缺边时的激光线图像示意图;5 is a schematic diagram of a laser line image when the laser line scans the wood with missing edges according to an embodiment of the present invention;
图6为本发明实施例激光线在木材节子区域的激光线图像示意图;6 is a schematic diagram of a laser line image of a laser line in the wood knot sub-region according to an embodiment of the present invention;
图7为本发明实施例木材表面缺陷检测装置的结构示意图;7 is a schematic structural diagram of a wood surface defect detection device according to an embodiment of the present invention;
图8为本发明实施例木材表面缺陷检测设备的结构示意图。FIG. 8 is a schematic structural diagram of a wood surface defect detection device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图及实施例对本发明再作进一步详细的描述。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention.
在对本发明实施例木材表面缺陷检测方法进行介绍之前,先本发明实施例中涉及的管胞效应进行解释说明。本发明实施例基于激光线在木材表面的管胞效应来检测木材表面缺陷。所述管胞效应是一种可观测的光学现象,当激光线投射在木材表面时,一部分光直接照在表面,一部分光穿透表面在半镜面材质的木材中传导。软木纤维(即管胞)能更好的传导光线,而木材节子等缺陷传导光线的能力与正常区域不同。本发明实施例利用这个特性,通过激光设备与图像检测设备(比如阵列相机)结合,检测木材缺陷区域,从而提高木材表面缺陷的检测的准确性与快速性,对工业应用意义重大。Before introducing the wood surface defect detection method according to the embodiment of the present invention, the tracheid effect involved in the embodiment of the present invention is explained. The embodiments of the present invention detect wood surface defects based on the tracheid effect of laser lines on the wood surface. The tracheid effect is an observable optical phenomenon. When the laser line is projected on the surface of wood, part of the light directly shines on the surface, and part of the light penetrates the surface and is conducted in the wood of semi-mirror material. Softwood fibers (ie, tracheids) conduct light better, while defects such as wood knots conduct light differently than normal areas. The embodiments of the present invention utilize this feature to detect wood defect areas by combining a laser device with an image detection device (such as an array camera), thereby improving the accuracy and speed of detection of wood surface defects, which is of great significance to industrial applications.
本发明实施例提供了一种木材表面缺陷检测方法,如图1所示,该方法包括:The embodiment of the present invention provides a wood surface defect detection method, as shown in FIG. 1 , the method includes:
步骤101,获取传送带在激光设备生成的激光线作用下的激光线图像,所述激光线在水平面上沿所述传送带的宽度方向延伸;
示例性地,本发明实施例中,可以在传送带附近设置激光设备和图像采集设备,图像采集设备连接木材表面缺陷检测设备,该木材表面缺陷检测设备实施本发明实施例木材表面缺陷检测方法。Exemplarily, in this embodiment of the present invention, a laser device and an image acquisition device may be provided near the conveyor belt, the image acquisition device is connected to a wood surface defect detection device, and the wood surface defect detection device implements the wood surface defect detection method of the embodiment of the present invention.
如图2所示,在一应用示例中,木材表面缺陷检测系统包括:传送带201、激光设备202、图像采集设备203及木材表面缺陷检测设备204。其中,激光设备202可以为线激光器,图像采集设备203可以为阵列相机,木材表面缺陷检测设备204可以为具有图像数据处理能力的处理设备。线激光器可以位于图2所示中阵列相机的左下方,于传送带上方,且与水平面倾斜夹角约为60°;阵列相机位于传送带上方半米的位置,其视野范围可以覆盖整个传送的宽度方向,以保证传送带上的木材可以被完整的拍摄。As shown in FIG. 2 , in an application example, the wood surface defect detection system includes: a
实际应用中,可以设置图像采集设备203的AOI(Automated Optical Inspection,自动光学检测)参数,在保证能将激光线完整拍摄的情况下使得图像分辨率尽可能低,即图像尽可能小,保证在对每一帧图像进行图像处理与数据分析时计算量更小,计算速度更快。In practical applications, the AOI (Automated Optical Inspection, automatic optical inspection) parameters of the
本发明实施例中,激光设备202生成的激光线的方向在水平面上与木材的纵向(即生长方向)垂直,图像采集设备203基于设定的相机帧率采集激光线图像并传递给木材表面缺陷检测设备204,如此,木材表面缺陷检测设备204即可在线实时获取传送带工作过程中对应的激光线图像。In this embodiment of the present invention, the direction of the laser line generated by the
步骤102,基于获取的所述激光线图像,提取所述激光线的激光线高度位置和激光线宽度;
这里,木材表面缺陷检测设备204对应获取的激光线图像进行特征提取,提取激光线的激光线高度位置和激光线宽度。Here, the wood surface
步骤103,基于所述激光线的激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材;
这里,木材表面缺陷检测设备204可以利用预先构建的激光线模型,对提取的激光线的激光线高度位置和/或激光线宽度进行判断,识别传送带上是否存在木材,并在确定传送带上存在木材后,执行步骤104。Here, the wood surface
步骤104,若所述传送带上存在木材,基于所述激光线的激光线高度位置和激光线宽度识别所述木材的表面缺陷。
这里,木材表面缺陷检测设备204利用在线获取的多帧激光线图像,基于提取的各帧激光线图像提取的所述激光线的激光线高度位置和激光线宽度,可以重建表征木材表面高度信息的相对高度图像和木材表面结构信息的相对散射图像,进而实现表面缺陷的检测和定位。由于木材表面存在管胞效应,基于激光线的激光线高度位置和激光线宽度,可以准确识别出木材的表面缺陷,可以支持缺边、虫眼、死节、活节等缺陷的准确识别,且能够满足快速识别的识别需求,从而适用于木材表面缺陷的自动切锯领域。Here, the wood surface
实际应用中,提取的激光线的激光线高度位置和激光线宽度需要用于构建表征木材表面高度信息的相对高度图像和木材表面结构信息的相对散射图像,进而实现表面缺陷的检测和定位。在实际的工业切锯任务中需要对切锯设备提供准确的位置坐标,于是重建图的长宽比例必须与木材实物保持一致。在重建木材的相对散射图与相对高度图的过程中,重建图像的每一行像素点的像素值由每一帧激光线图像包含的信息赋值,即一帧激光线图像能重建出一行或者多行木材重建图。当一帧激光线图像重建一行像素值时,重建图像分辨率最高;当一帧激光线图像信息重建多行图像时,重建图像分辨率随之变低。木材在传送带上传输时,以一定的速度通过图像采集设备,图像采集设备以一定的帧率进行拍摄,并存储于计算机内存中,计算机以另一个线程对存储图像进行处理。当拍摄帧率固定时,传送带速率越快,则木材通过图像采集设备的视野范围的时间越短,拍摄帧数相对越少;传送带速率越慢,则木材通过图像采集设备的视野范围时间越长,拍摄帧数越多。所以重建图像的分辨率与人为设置的一帧图像对应重建图像行数(图像重建步长)、传送带速率、拍摄帧率有关。In practical applications, the laser line height position and laser line width of the extracted laser lines need to be used to construct a relative height image representing the height information of the wood surface and a relative scattering image of the wood surface structure information, so as to realize the detection and localization of surface defects. In the actual industrial sawing task, it is necessary to provide accurate position coordinates for the sawing equipment, so the aspect ratio of the reconstruction map must be consistent with the actual wood. In the process of reconstructing the relative scattering map and relative height map of wood, the pixel value of each line of pixel points in the reconstructed image is assigned by the information contained in each frame of laser line image, that is, one frame of laser line image can reconstruct one or more lines. Timber reconstruction drawing. When one frame of laser line image reconstructs one row of pixel values, the reconstructed image has the highest resolution; when one frame of laser line image information reconstructs multiple rows of images, the reconstructed image resolution becomes lower. When the wood is transported on the conveyor belt, it passes through the image acquisition device at a certain speed. The image acquisition device shoots at a certain frame rate and stores it in the computer memory, and the computer processes the stored image with another thread. When the shooting frame rate is fixed, the faster the conveyor belt rate is, the shorter the time for the wood to pass through the field of view of the image acquisition device, and the less the number of shooting frames; the slower the conveyor belt rate, the longer the wood passes through the field of view of the image acquisition equipment. , the more frames you shoot. Therefore, the resolution of the reconstructed image is related to the artificially set number of reconstructed image lines (image reconstruction step size) corresponding to one frame of image, the conveyor belt rate, and the shooting frame rate.
基于此,为了满足相对高度图像和相对散射图像中图像的宽度和高度之比与木材实物的宽度和高度之比的比例一致,且重建图像的分辨率合理,需要对传送带201的速度、图像采集设备203的拍摄帧率等进行合理设置。Based on this, in order to satisfy the ratio between the width and height of the image in the relative height image and the relative scattering image and the ratio of the width and height of the real wood, and the resolution of the reconstructed image is reasonable, the speed and image acquisition of the
示例性地,如图3所示,l、h分别为木材实物的宽高,x、y分别为重建图像中木材部分的宽高,保持重建图像与木材实物比例一致,可得:Exemplarily, as shown in Figure 3, l and h are the width and height of the real wood, respectively, and x and y are the width and height of the wood part in the reconstructed image, respectively. Keeping the ratio of the reconstructed image and the real wood to be consistent, it can be obtained:
其中,重建图像的高度值y由图像采集设备视野下的线激光图像决定,线激光在木材与传送带上激发的红色散射场具有明显区别,通过对比找到图像中激光线在木材部分区域,并通过数据计算出视野范围内的木材高度y。由上述可知,重建木材图像的高度值y只与木材实物高度值h以及图像采集设备视野范围有关。重建图像宽度x由预先设置的一帧图像对应重建图像行数(重建步长)以及木材通过图像采集设备拍摄范围的过程中图像采集设备采集的图像总帧数有关,即:Among them, the height value y of the reconstructed image is determined by the line laser image under the field of view of the image acquisition device, and the red scattering field excited by the line laser on the wood and the conveyor belt is obviously different. The data calculates the height y of the wood within the field of view. It can be seen from the above that the height value y of the reconstructed wood image is only related to the height value h of the real wood object and the field of view of the image acquisition device. The reconstructed image width x is related to the preset number of reconstructed image lines (reconstruction step size) corresponding to one frame of image and the total number of frames of images collected by the image acquisition device during the process of the wood passing through the range of the image acquisition device, namely:
x=d·λx=d·λ
其中,d为图像重建步长(即一帧图像对应重建图像行数),λ为待检木材匀速通过图像采集设备视野过程中采集的激光线图像的总帧数。λ与图像采集设备的拍摄帧率及传送带速率之间具有以下关系:Among them, d is the image reconstruction step size (that is, the number of reconstructed image lines corresponding to one frame of image), and λ is the total number of frames of laser line images collected during the process of uniformly passing through the field of view of the image acquisition device for the wood to be inspected. The relationship between λ and the shooting frame rate of the image acquisition device and the conveyor belt rate is as follows:
其中,l为木材实物宽度,v为传送带速率,fps为图像采集设备的拍摄帧率。Among them, l is the actual width of the wood, v is the speed of the conveyor belt, and fps is the shooting frame rate of the image acquisition device.
最后可得:Finally get:
因此,可以通过测量一块木材的实际高度h以及相机视野范围决定的重建图像高度y,并通过调整图像采集设备的拍摄帧率与一帧图像对应重建图像行数(步长)以及传送带的速度,控制重建图像的长宽比与实际木材长宽比相一致,便于后续为木材切锯设备提供准确的缺陷坐标。Therefore, it is possible to measure the actual height h of a piece of wood and the height y of the reconstructed image determined by the field of view of the camera, and adjust the shooting frame rate of the image acquisition device to correspond to the number of reconstructed image lines (step length) and the speed of the conveyor belt for one frame of image. Control the aspect ratio of the reconstructed image to be consistent with the actual wood aspect ratio, so as to provide accurate defect coordinates for the wood cutting and sawing equipment in the future.
在一些实施例中,预先构建的激光线模型包括:第一激光线模型和第二激光线模型。其中,所述第一激光线模型表征作用于所述传送带上木材表面的激光线的高度位置和散射宽度值,所述第二激光线模型表征作用于所述传送带表面的激光线的高度位置和散射宽度值。In some embodiments, the pre-built laser line models include: a first laser line model and a second laser line model. The first laser line model represents the height position and scattering width value of the laser line acting on the surface of the wood on the conveyor belt, and the second laser line model represents the height position and the scattering width of the laser line acting on the surface of the conveyor belt. Scatter width value.
在一些实施例中,预先构建所述激光线模型包括:In some embodiments, pre-building the laser line model includes:
获取所述传送带上木材的表面在所述激光设备生成的激光线作用下的第一激光线图像,基于所述第一激光线图像构建所述第一激光线模型;acquiring a first laser line image of the surface of the wood on the conveyor belt under the action of the laser line generated by the laser device, and constructing the first laser line model based on the first laser line image;
获取所述传送带的表面在所述激光设备生成的激光线作用下的第二激光线图像,基于所述第二激光线图像构建所述第二激光线模型。A second laser line image of the surface of the conveyor belt under the action of the laser line generated by the laser device is acquired, and the second laser line model is constructed based on the second laser line image.
在一些实施例中,所述基于所述第一激光线图像构建所述第一激光线模型,包括:In some embodiments, the constructing the first laser line model based on the first laser line image includes:
获取多帧所述第一激光线图像;acquiring multiple frames of the first laser line images;
基于多帧所述第一激光线图像确定所述木材上激光线的高度位置;determining the height position of the laser line on the wood based on the multiple frames of the first laser line image;
基于多帧所述第一激光线图像确定所述木材上激光线的散射宽度值;determining a scattering width value of a laser line on the wood based on a plurality of frames of the first laser line images;
所述基于所述第二激光线图像构建所述第二激光线模型,包括:The constructing the second laser line model based on the second laser line image includes:
获取多帧所述第二激光线图像;acquiring multiple frames of the second laser line images;
基于多帧所述第二激光线图像确定所述传送带上激光线的高度位置;determining the height position of the laser line on the conveyor belt based on the plurality of frames of the second laser line images;
基于多帧所述第二激光线图像确定所述传送带上激光线的散射宽度值。A scattering width value of the laser line on the conveyor belt is determined based on a plurality of frames of the second laser line images.
示例性地,可以在传送带放置标准的木材(即不带任何缺陷的木材),利用该场景下获取的第一激光线图像构建所述第一激光线模型。图4所示为激光线在木材表面正常区域管胞效应示意图。激光线在木材正常区域正常散射,形成中间亮并逐渐向两边散射的光斑。中间最亮的激光线部分信息可由图像绿色通道得到,而由于管胞效应向外散射的红色部分位于图像的红色通道。Exemplarily, standard wood (ie, wood without any defects) can be placed on the conveyor belt, and the first laser line model can be constructed by using the first laser line image acquired in this scene. Figure 4 shows a schematic diagram of the tracheid effect of the laser line in the normal area of the wood surface. The laser line is normally scattered in the normal area of the wood, forming a light spot that is bright in the middle and gradually scattered to both sides. The information of the brightest laser line in the middle can be obtained from the green channel of the image, while the red part scattered outward due to the tracheid effect is located in the red channel of the image.
这里,基于第一激光线图像的红色通道构建灰度图imgR,基于第一激光线图像的绿色通道构建灰度图像imgG,可以基于灰度图imgR构建第一激光线模型的散射宽度模型,基于灰度图像imgG构建第一激光线模型的高度模型。Here, the grayscale image imgR is constructed based on the red channel of the first laser line image, the grayscale image imgG is constructed based on the green channel of the first laser line image, and the scattering width model of the first laser line model can be constructed based on the grayscale image imgR, based on The grayscale image imgG constructs a height model of the first laser line model.
示例性地,可以采用高斯分布模型建立激光线图像中红色通道灰度值分布模型:Exemplarily, a Gaussian distribution model can be used to establish a gray value distribution model of the red channel in the laser line image:
其中,x为图像imgR像素点灰度值,f(x)为该灰度值属于激光线亮斑及其散射区域的概率,μ与σ分别为N幅图像imgR中激光线散射区域像素点灰度值大小的平均值与方差,建立起激光线红色通道灰度值分布模型。Among them, x is the gray value of the image imgR pixel point, f(x) is the probability that the gray value belongs to the laser line bright spot and its scattering area, μ and σ are the pixel gray value of the laser line scattering area in the N images imgR, respectively The average value and variance of the intensity value are used to establish the gray value distribution model of the red channel of the laser line.
基于第一激光线图像中红色通道灰度值分布模型,如果某像素点的灰度概率f(x)大于一定阈值Th,则像素点属于激光线散射区域(即属于给定阈值范围内激光线中心较亮的区域的像素点被统计),其中,概率阈值Th范围为区间[0.5,0.8]。区域内每个像素点进行分类统计,以一帧图像的一列为单位统计属于激光线散射区域的像素点数量总和,以该数量和作为激光线宽度值。比如,取N张第一激光线图像中激光线宽度值的平均值,作为第一激光线模型的散射宽度值。Based on the gray value distribution model of the red channel in the first laser line image, if the gray probability f(x) of a certain pixel point is greater than a certain threshold Th, the pixel point belongs to the laser line scattering area (that is, belongs to the laser line within a given threshold range) The pixels in the brighter area in the center are counted), where the probability threshold Th is in the interval [0.5, 0.8]. Each pixel in the area is classified and counted, and the total number of pixels belonging to the laser line scattering area is counted in units of one column of one frame of image, and the sum of the number is used as the laser line width value. For example, the average value of the laser line width values in the N first laser line images is taken as the scattering width value of the first laser line model.
示例性地,可以基于第一激光线图像中绿色通道构建灰度图像imgG,设定固定阈值对imgG进行二值化处理,阈值范围可设为[180,230]区间的值。针对每帧图像,以列为单位统计大于该阈值的激光线像素点,并计算中心的高度位置坐标,以该坐标作为激光线中心位置的高度坐标值。取N张第二激光线图像,统计计算激光线中心的高度位置均值,作为第一激光线模型的高度位置。其中,N为大于1的自然数,可以基于图像分辨率进行合理选择。Exemplarily, a grayscale image imgG may be constructed based on the green channel in the first laser line image, a fixed threshold is set to perform binarization processing on imgG, and the threshold range may be set to a value in the [180, 230] interval. For each frame of image, the pixel points of the laser line greater than the threshold are counted in column units, and the height position coordinate of the center is calculated, and the coordinate is used as the height coordinate value of the center position of the laser line. Take N second laser line images, and calculate the average height position of the laser line center as the height position of the first laser line model. Among them, N is a natural number greater than 1, which can be reasonably selected based on the image resolution.
可以理解的是,所述第二激光线模型的构建过程与前述第一激光线模型的构建过程相似,不同之处在于,需要在传送带上不放置木材的场景下获取的第二激光线图像,并基于第二激光线图像来构建第二激光线模型,具体参照前述第一激光线模型的生成过程,在此不再赘述。It can be understood that the construction process of the second laser line model is similar to the construction process of the aforementioned first laser line model, the difference is that the second laser line image obtained in the scene where no wood is placed on the conveyor belt is required, The second laser line model is constructed based on the second laser line image. For details, refer to the foregoing generation process of the first laser line model, which will not be repeated here.
在一些实施例中,还可以求取第一激光线模型的高度位置与第二激光线模型的高度位置之差,作为激光线作用在木材表面与激光线作用在传送带表面之间的标准偏差ε。In some embodiments, the difference between the height position of the first laser line model and the height position of the second laser line model can also be obtained as the standard deviation ε between the laser line acting on the wood surface and the laser line acting on the conveyor belt surface .
在一些实施例中,所述基于所述激光线的激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材,包括:In some embodiments, the identifying whether there is wood on the conveyor belt based on the laser line height and/or laser line width of the laser line and a preset laser line model includes:
将所述激光线的激光线高度位置和激光线宽度与预设的第一激光线模型、第二激光线模型进行比较,得到第一相似度、第二相似度,所述第一相似度表征所述激光线与所述第一激光线模型之间的相似度,所述第二相似度表征所述激光线与所述第二激光线模型之间的相似度;Compare the laser line height position and laser line width of the laser line with the preset first laser line model and second laser line model to obtain a first similarity degree and a second similarity degree, and the first similarity degree represents similarity between the laser line and the first laser line model, and the second similarity represents the similarity between the laser line and the second laser line model;
确定所述第一相似度大于所述第二相似度,判定所述传送带上存在木材。It is determined that the first similarity is greater than the second similarity, and it is determined that there is wood on the conveyor belt.
在一些实施例中,所述基于所述激光线的激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材,包括:In some embodiments, the identifying whether there is wood on the conveyor belt based on the laser line height and/or laser line width of the laser line and a preset laser line model includes:
确定所述激光线的激光线宽度超出第二激光线模型中激光线的散射宽度值达到第一设定阈值,判定所述传送带上存在木材。It is determined that the laser line width of the laser line exceeds the scattering width value of the laser line in the second laser line model and reaches a first set threshold, and it is determined that there is wood on the conveyor belt.
示例性地,可以抽出每帧激光线图像若干列,逐一计算抽出列的激光线宽度,并与第二激光线模型的散射宽度值对比,进而判断木材存在与否,例如,从左至右均匀取5列,计算激光线宽度,如果存在激光线宽度大于1.5倍第二激光线模型的散射宽度值,即认为存在木材。Exemplarily, several columns of each frame of laser line image can be extracted, the laser line width of the extracted column can be calculated one by one, and compared with the scattering width value of the second laser line model, and then the existence of wood can be judged, for example, it is uniform from left to right. Take 5 columns and calculate the laser line width. If the laser line width is greater than 1.5 times the scattering width value of the second laser line model, it is considered that there is wood.
在一些实施例中,所述基于所述激光线的激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材,包括:In some embodiments, the identifying whether there is wood on the conveyor belt based on the laser line height and/or laser line width of the laser line and a preset laser line model includes:
确定所述激光线的激光线高度位置超出第二激光线模型中传送带的表面的高度位置达到第二设定阈值,判定所述传送带上存在木材。It is determined that the height position of the laser line of the laser line exceeds the height position of the surface of the conveyor belt in the second laser line model and reaches a second set threshold, and it is determined that there is wood on the conveyor belt.
示例性地,可以抽出每帧激光线图像若干列,例如,从左至右均匀取5列,计算所抽列激光线中心的高度位置的平均值,将该高度位置的平均值和第二激光线模型中传送带的表面的高度位置作差对比,判断木材是否存在,如果所抽列的高度位置的平均值和第二激光线模型中传送带的表面的高度位置的差值趋近于0,则判定不存在木材,反之,则判定存在木材。Exemplarily, several columns of each frame of laser line images can be extracted, for example, 5 columns are taken uniformly from left to right, the average value of the height positions of the centers of the extracted laser lines is calculated, and the average value of the height positions is combined with the second laser line. The height position of the surface of the conveyor belt in the line model is compared to determine whether the wood exists. If the difference between the average value of the height positions of the drawn columns and the height position of the surface of the conveyor belt in the second laser line model is close to 0, then It is determined that there is no wood, otherwise, it is determined that there is wood.
在一些实施例中,所述基于所述激光线的激光线高度位置与所述第一激光线模型中的高度位置的差值,构建所述木材的相对高度图像,包括:In some embodiments, constructing the relative height image of the wood based on the difference between the laser line height position of the laser line and the height position in the first laser line model includes:
针对获取的多帧所述激光线图像(即传送带工作过程中,实时获取的多帧激光线图像),构建所述木材对应的区域上相对高度图像,其中,所述相对高度图像中的各像素点的取值基于所述激光线高度位置与所述第一激光线模型中的高度位置的差值确定。For the acquired multiple frames of the laser line images (that is, the multiple frames of laser line images acquired in real time during the operation of the conveyor belt), construct a relative height image on the area corresponding to the wood, wherein each pixel in the relative height image The value of the point is determined based on the difference between the height position of the laser line and the height position in the first laser line model.
示例性地,图5所示为激光线扫描木材缺边时的激光线图像示意图,在扫描木材缺边区域时,激光线相对木材正常区域产生了偏移。基于第一激光线模型,对每帧激光线的图像绿色通道灰度图中的像素点进行阈值分割,得到绿色通道激光线光斑位置的二值图像,对每帧激光图像绿色通道灰度图中的像素点进行阈值分割,得到绿色通道激光线光斑位置的二值图像,对该二值图像中每列激光线中心的高度位置进行统计,得到每帧图像中的每列激光线与标准的激光线高度位置的偏差信息εi,i为每帧激光线图像列数。以激光线在木材与传送带位置的标准偏差ε为标准值,对木材图像进行重建。如果设置图像分辨率为H×width,则每帧帧激光图像能计算出像素值向量每一帧激光图像提取的像素值向量共有width个元素,将每个元素标准化映射到[0,255]的区间上,并依次为重建相对高度图对应一行或多行的width个像素点赋值,若干帧激光图像依次提取像素值向量并依次为重建图像赋值即可重建出包含了相对高度信息的相对高度图。显然,当激光扫描缺边区域时,激光线中心位置与在传送带上的激光线标准位置更为接近,偏差值较小,εi<ε,在重建图像上表现较黑。Exemplarily, FIG. 5 is a schematic diagram of a laser line image when the laser line scans the missing edge of the wood. When scanning the missing edge area of the wood, the laser line is offset from the normal area of the wood. Based on the first laser line model, threshold segmentation is performed on the pixels in the green channel grayscale image of each frame of laser line image to obtain a binary image of the spot position of the green channel laser line. Threshold segmentation is performed on the pixel points of the green channel to obtain a binary image of the spot position of the laser line in the green channel. The height position of the center of each column of laser lines in the binary image is counted to obtain the relationship between each column of laser lines in each frame of the image and the standard laser line. The deviation information ε i of the line height position, i is the number of laser line image columns per frame. The wood image was reconstructed with the standard deviation ε of the laser line between the wood and the conveyor belt as the standard value. If the image resolution is set to H×width, the pixel value vector can be calculated for each frame of the laser image The pixel value vector extracted from each frame of laser image has a total of width elements, and each element is standardized and mapped to the interval of [0, 255], and then assigns the width pixels corresponding to one or more lines of the reconstructed relative height map in turn, A relative height map containing relative height information can be reconstructed by sequentially extracting pixel value vectors from several frames of laser images and assigning values to the reconstructed images in turn. Obviously, when the laser scans the missing edge area, the center position of the laser line is closer to the standard position of the laser line on the conveyor belt, the deviation value is small, ε i <ε, and the reconstructed image appears darker.
这里,基于所述相对高度图像可以确定所述木材是否存在第一缺陷;其中,所述第一缺陷包括以下至少之一:缺边、虫眼。Here, based on the relative height image, it may be determined whether the wood has a first defect; wherein, the first defect includes at least one of the following: missing edge and bug eye.
在一些实施例中,基于所述激光线的激光线宽度与所述第一激光线模型中的散射宽度值的差值,构建所述木材的相对散射图像,包括:In some embodiments, constructing a relative scattering image of the wood based on a difference between a laser line width of the laser line and a scattering width value in the first laser line model includes:
针对获取的多帧所述激光线图像(即传送带工作过程中,实时获取的多帧激光线图像),构建所述木材对应的区域上相对散射图像,其中,所述相对散射图像中的各像素点的取值基于所述激光线宽度与所述第一激光线模型中的散射宽度值的差值确定。For the acquired multiple frames of the laser line images (that is, the multiple frames of laser line images acquired in real time during the working process of the conveyor belt), construct a relative scattering image on the area corresponding to the wood, wherein each pixel in the relative scattering image The value of the point is determined based on the difference between the laser line width and the scattering width value in the first laser line model.
图6所示为激光线在木材节子区域的激光线图像示意图,在木材缺陷区域,激光线管胞效应产生的散射效果发生了明显的不同。在节子区域,激光散射能力明显弱于正常区域,激光亮斑向两边散射的区域变小,整体激光线宽变窄。基于前述的第一激光线模型,对每帧激光线图像中红色通道灰度图中的像素点进行分类,得到红色通道激光线宽二值图像,对每帧激光图像红色通道灰度图中的像素点进行分类,得到红色通道激光线宽二值图像,对该二值图像中每列激光线宽度进行统计,得到每帧图像中的每列激光线宽度信息ωi,i为每帧激光线图像列数。以激光线散射区域激光线标准线宽ωu为标准值,对木材图像进行重建。如果设置图像分辨率为H×width,则每帧激光图像能计算出像素值向量每一帧激光图像提取的像素值向量共有width个元素,将每个元素标准化映射到[0,255]的区间上,并依次为重建散射图对应一行或多行的width个像素点赋值,若干帧激光图像依次提取像素值向量并依次为重建图像赋值即可重建出包含了木材缺陷先验信息的木材散射图像。显然,当激光扫描节子或其他缺陷区域时,激光线宽ω<ωμ,像素值较小,在重建图像上表现较黑;当激光线宽ω>ωμ时,认为激光线处于正常区域,重建图像对应像素点赋值标准化映射区间最大值255。Figure 6 shows the schematic diagram of the laser line image of the laser line in the wood knot sub-region. In the wood defect area, the scattering effect caused by the tracheid effect of the laser line is obviously different. In the node sub-region, the laser scattering ability is obviously weaker than that in the normal region, the area where the laser spot scatters to both sides becomes smaller, and the overall laser linewidth becomes narrower. Based on the aforementioned first laser line model, the pixels in the red channel grayscale image in each frame of laser line image are classified to obtain a binary image of the red channel laser linewidth. The pixel points are classified to obtain a binary image of the laser line width of the red channel, and the width of each column of laser lines in the binary image is counted to obtain the width information of each column of laser lines in each frame of image ω i , i is the laser line of each frame The number of image columns. The wood image was reconstructed using the standard laser line width ω u in the laser line scattering area as the standard value. If the image resolution is set to H×width, the pixel value vector can be calculated for each frame of the laser image The pixel value vector extracted from each frame of laser image has a total of width elements, and each element is standardized and mapped to the interval of [0, 255], and then assigns the width pixels corresponding to one or more lines of the reconstructed scatter map in turn. The frame laser image extracts the pixel value vector in turn and assigns values to the reconstructed image in turn to reconstruct the wood scattering image containing the prior information of wood defects. Obviously, when the laser scans knots or other defect areas, the laser line width ω < ω μ , the pixel value is small, and the reconstructed image appears darker; when the laser line width ω > ω μ , the laser line is considered to be in the normal area , the corresponding pixels of the reconstructed image are assigned a maximum value of 255 in the normalized mapping interval.
这里,基于所述相对散射图像可以确定所述木材是否存在第二缺陷;所述第二缺陷包括以下至少之一:死节、活节。Here, based on the relative scattering image, it may be determined whether the wood has a second defect; the second defect includes at least one of the following: dead joints and loose joints.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
若存在所述第一缺陷,基于所述相对高度图像确定所述第一缺陷对应的缺陷位置;和/或,If the first defect exists, determine the defect position corresponding to the first defect based on the relative height image; and/or,
若存在所述第二缺陷,基于所述相对散射图像确定所述第二缺陷对应的缺陷位置。If the second defect exists, a defect position corresponding to the second defect is determined based on the relative scattering image.
本发明实施例中,由于相对高度图像、相对散射图像中的宽度与高度之比与木材实物的宽度与高度之比的比例一致,从而可以在相对高度图像或者相对散射图像上确定缺陷位置,并转换至木材实物上相应的位置上,便于在线锯切木材上的缺陷。In the embodiment of the present invention, since the ratio of the width to height in the relative height image and the relative scattering image is consistent with the ratio of the width and height of the real wood, the defect position can be determined on the relative height image or the relative scattering image, and It is converted to the corresponding position on the real wood, which is convenient for wire sawing of the defects on the wood.
示例性地,首先,通过重建相对高度图像确定木材缺边、虫眼等导致木材表面凹凸不平产生与正常区域有一定高度差的缺陷,此类缺陷在相对高度图上具有明显特征。比如,设定阈值对相对高度图进行二值化处理,阈值取值范围在[30,50]之间,相对高度图上灰度值越低的区域的实际高度值与正常木材高度偏差值越大,即该区域为缺边、虫眼等缺陷的概率越大,设定合理阈值,处理相对高度图上的缺边、虫眼等缺陷,进行阈值分割后相对高度二值图结果作为木材缺边定位结果;然后,通过重建木材相对散射图,对其他如死节、活节等缺陷进行定位。散射图上不具有与正常区域具有高度差的缺陷,因此与相对高度图具有互补效果,设定阈值对散射图进行二值化处理,阈值范围可在[30,50]之间,阈值分割后散射二值图结果即可作为木材其他缺陷的定位结果。Exemplarily, firstly, by reconstructing the relative height image, it is determined that the wood surface is uneven and has a certain height difference from the normal area, such as defects in the wood surface caused by missing edges, bug eyes, etc., and such defects have obvious features on the relative height map. For example, set a threshold to binarize the relative height map. The threshold value ranges between [30, 50]. The lower the gray value on the relative height map, the greater the deviation between the actual height value and the normal wood height. Large, that is, the greater the probability of defects such as missing edges and bug eyes in this area, set a reasonable threshold to deal with defects such as missing edges and bug eyes on the relative height map, and perform threshold segmentation. Results; then, by reconstructing the relative scatter map of the wood, other defects such as dead joints, live joints, etc. are located. The scatter map does not have the defect of height difference with the normal area, so it has a complementary effect with the relative height map. Set a threshold to binarize the scatter map. The threshold range can be between [30, 50]. After the threshold is divided The scattering binary map results can be used as the localization results of other wood defects.
由以上描述可以得知,本发明实施例通过机器视觉与激光线扫描相结合的方法,提高木材表面缺陷的识别准确率与识别速度,为木材切锯设备提供缺陷位置的准确信息。通过线激光扫描的方式我们得到了木材包含木材表面缺陷信息的相对散射图像与相对高度图像,该相对散射图像主要反映出木材表面死节、活节及其他导致缺陷本身材质与正常板材有区别的缺陷类型的结构信息;相对高度图像对大多数不影响板材平整度的缺陷类型并不敏感,主要能辅助对木材缺边、虫眼等缺陷进行判定。实际应用中,首先通过重建出的相对高度图对木材缺边等缺陷进行定位,之后采用阈值(或其他分类方法)分割方法分割出相对散射图像缺陷部分的连通域,由于重建相对散射图像过滤了大量纹理、颜色等板材表面信息,只留下了需要的缺陷信息,因此简单的图像分割方式即可对缺陷区域起到良好的分割效果。结合两幅重建图像信息,即可完成对木材表面缺陷的定位。From the above description, it can be known that the embodiment of the present invention improves the recognition accuracy and recognition speed of wood surface defects by combining machine vision and laser line scanning, and provides accurate information of defect positions for wood cutting and sawing equipment. By means of line laser scanning, we obtained the relative scattering image and the relative height image that the wood contains the defect information on the wood surface. The relative scattering image mainly reflects the dead knots, live knots and other defects on the surface of the wood that cause the defect itself to be different from the normal sheet. Structural information of defect types; the relative height image is not sensitive to most defect types that do not affect the flatness of the board, and can mainly assist in the determination of defects such as wood edge missing and insect eyes. In practical applications, firstly, the defects such as wood edge missing are located by the reconstructed relative height map, and then the threshold (or other classification method) segmentation method is used to segment the connected domain of the defect part of the relative scattering image. A large amount of surface information such as texture and color leaves only the required defect information, so a simple image segmentation method can achieve a good segmentation effect on the defect area. Combining the two reconstructed image information, the localization of wood surface defects can be completed.
为了实现本发明实施例的方法,本发明实施例还提供一种木材表面缺陷检测装置,该木材表面缺陷检测装置与上述木材表面缺陷检测方法对应,上述木材表面缺陷检测方法实施例中的各步骤也完全适用于本木材表面缺陷检测装置实施例。In order to realize the method of the embodiment of the present invention, the embodiment of the present invention further provides a wood surface defect detection device, the wood surface defect detection device corresponds to the above-mentioned wood surface defect detection method, and each step in the above-mentioned embodiment of the wood surface defect detection method It is also fully applicable to this embodiment of the wood surface defect detection device.
如图7所示,该木材表面缺陷检测装置700包括:获取模块701、特征提取模块702、第一识别模块703及第二识别模块704,其中,获取模块701用于获取传送带在激光设备生成的激光线作用下的激光线图像,所述激光线在水平面上沿所述传送带的宽度方向延伸;特征提取模块702用于基于获取的所述激光线图像,提取所述激光线的激光线高度位置和激光线宽度;第一识别模块703用于基于所述激光线的激光线高度位置和/或激光线宽度与预设的激光线模型,识别所述传送带上是否存在木材;第二识别模块704用于若所述传送带上存在木材,基于所述激光线的激光线高度位置和激光线宽度识别所述木材的表面缺陷。As shown in FIG. 7 , the wood surface defect detection device 700 includes: an acquisition module 701 , a feature extraction module 702 , a first identification module 703 and a second identification module 704 , wherein the acquisition module 701 is used to acquire the conveyor belt generated by the laser equipment. The laser line image under the action of the laser line, the laser line extends along the width direction of the conveyor belt on the horizontal plane; the feature extraction module 702 is used for extracting the laser line height position of the laser line based on the acquired laser line image and laser line width; the first identification module 703 is used to identify whether there is wood on the conveyor belt based on the laser line height position of the laser line and/or the laser line width and the preset laser line model; the second identification module 704 If there is wood on the conveyor belt, the method is used to identify the surface defects of the wood based on the laser line height position and the laser line width of the laser line.
在一些实施例中,第一识别模块703具体用于:In some embodiments, the first identification module 703 is specifically used for:
将所述激光线的激光线高度位置和激光线宽度与预设的第一激光线模型、第二激光线模型进行比较,得到第一相似度、第二相似度,所述第一相似度表征所述激光线与所述第一激光线模型之间的相似度,所述第二相似度表征所述激光线与所述第二激光线模型之间的相似度;Compare the laser line height position and laser line width of the laser line with the preset first laser line model and second laser line model to obtain a first similarity degree and a second similarity degree, and the first similarity degree represents similarity between the laser line and the first laser line model, and the second similarity represents the similarity between the laser line and the second laser line model;
确定所述第一相似度大于所述第二相似度,判定所述传送带上存在木材;或者,It is determined that the first similarity is greater than the second similarity, and it is determined that there is wood on the conveyor belt; or,
确定所述激光线的激光线宽度超出第二激光线模型中激光线的散射宽度值达到第一设定阈值,判定所述传送带上存在木材;或者,It is determined that the laser line width of the laser line exceeds the scattering width value of the laser line in the second laser line model and reaches a first set threshold, and it is determined that there is wood on the conveyor belt; or,
确定所述激光线的激光线高度位置超出第二激光线模型中传送带的表面的高度位置达到第二设定阈值,判定所述传送带上存在木材;It is determined that the height position of the laser line of the laser line exceeds the height position of the surface of the conveyor belt in the second laser line model and reaches a second set threshold, and it is determined that there is wood on the conveyor belt;
其中,所述第一激光线模型表征作用于所述木材表面的激光线的高度位置和散射宽度值,所述第二激光线模型表征作用于所述传送带表面的激光线的高度位置和散射宽度值。Wherein, the first laser line model represents the height position and scattering width of the laser line acting on the surface of the wood, and the second laser line model represents the height position and scattering width of the laser line acting on the surface of the conveyor belt value.
在一些实施例中,还包括:构建模块705,用于获取所述传送带上木材的表面在所述激光设备生成的激光线作用下的第一激光线图像,基于所述第一激光线图像构建所述第一激光线模型;及获取所述传送带的表面在所述激光设备生成的激光线作用下的第二激光线图像,基于所述第二激光线图像构建所述第二激光线模型。In some embodiments, it further includes: a construction module 705, configured to acquire a first laser line image of the surface of the wood on the conveyor belt under the action of the laser line generated by the laser device, and construct based on the first laser line image the first laser line model; and acquiring a second laser line image of the surface of the conveyor belt under the action of the laser line generated by the laser device, and constructing the second laser line model based on the second laser line image.
在一些实施例中,第二识别模块704具体用于:In some embodiments, the second identification module 704 is specifically used to:
基于所述激光线的激光线高度位置与所述第一激光线模型中的高度位置的差值,构建所述木材的相对高度图像;constructing a relative height image of the wood based on the difference between the laser line height position of the laser line and the height position in the first laser line model;
基于所述激光线的激光线宽度与所述第一激光线模型中的散射宽度值的差值,构建所述木材的相对散射图像;constructing a relative scattering image of the wood based on the difference between the laser line width of the laser line and the scattering width value in the first laser line model;
基于所述相对高度图像确定所述木材是否存在第一缺陷;determining whether the wood has a first defect based on the relative height image;
基于所述相对散射图像确定所述木材是否存在第二缺陷;determining whether the wood has a second defect based on the relative scattering image;
其中,所述第一缺陷包括以下至少之一:缺边、虫眼;所述第二缺陷包括以下至少之一:死节、活节。Wherein, the first defect includes at least one of the following: missing edge and worm's eye; the second defect includes at least one of the following: dead joint and live joint.
在一些实施例中,构建模块705基于所述第一激光线图像构建所述第一激光线模型,包括:In some embodiments, the building module 705 builds the first laser line model based on the first laser line image, including:
获取多帧所述第一激光线图像;acquiring multiple frames of the first laser line images;
基于多帧所述第一激光线图像确定所述木材上激光线的高度位置;determining the height position of the laser line on the wood based on the multiple frames of the first laser line image;
基于多帧所述第一激光线图像确定所述木材上激光线的散射宽度值;determining a scattering width value of a laser line on the wood based on a plurality of frames of the first laser line images;
构建模块705基于所述第二激光线图像构建所述第二激光线模型,包括:The building module 705 builds the second laser line model based on the second laser line image, including:
获取多帧所述第二激光线图像;acquiring multiple frames of the second laser line images;
基于多帧所述第二激光线图像确定所述传送带上激光线的高度位置;determining the height position of the laser line on the conveyor belt based on the plurality of frames of the second laser line images;
基于多帧所述第二激光线图像确定所述传送带上激光线的散射宽度值。A scattering width value of the laser line on the conveyor belt is determined based on a plurality of frames of the second laser line images.
在一些实施例中,第二识别模块704具体用于:In some embodiments, the second identification module 704 is specifically used to:
针对获取的多帧所述激光线图像,构建所述木材对应区域上的相对高度图像,其中,所述相对高度图像中的各像素点的取值基于所述激光线高度位置与所述第一激光线模型中的高度位置的差值确定。For the acquired multiple frames of the laser line images, construct a relative height image on the corresponding area of the wood, wherein the value of each pixel in the relative height image is based on the height position of the laser line and the first The difference in height position in the laser line model is determined.
在一些实施例中,第二识别模块704具体用于:In some embodiments, the second identification module 704 is specifically used to:
针对获取的多帧所述激光线图像,构建所述木材对应区域上的相对高度图像,其中,所述相对高度图像中的各像素点的取值基于所述激光线高度位置与所述第一激光线模型中的高度位置的差值确定。For the acquired multiple frames of the laser line images, construct a relative height image on the corresponding area of the wood, wherein the value of each pixel in the relative height image is based on the height position of the laser line and the first The difference in height position in the laser line model is determined.
在一些实施例中,第二识别模块704还用于:In some embodiments, the second identification module 704 is also used to:
若存在所述第一缺陷,基于所述相对高度图像确定所述第一缺陷对应的缺陷位置;和/或,If the first defect exists, determine the defect position corresponding to the first defect based on the relative height image; and/or,
若存在所述第二缺陷,基于所述相对散射图像确定所述第二缺陷对应的缺陷位置。If the second defect exists, a defect position corresponding to the second defect is determined based on the relative scattering image.
实际应用时,获取模块701、特征提取模块702、第一识别模块703、第二识别模块704及构建模块705,可以由木材表面缺陷检测装置中的处理器来实现。当然,处理器需要运行存储器中的计算机程序来实现它的功能。In practical application, the acquisition module 701 , the feature extraction module 702 , the first identification module 703 , the second identification module 704 and the construction module 705 may be implemented by a processor in the wood surface defect detection device. Of course, the processor needs to run a computer program in memory to perform its functions.
需要说明的是:上述实施例提供的木材表面缺陷检测装置在进行木材表面缺陷检测时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的木材表面缺陷检测装置与木材表面缺陷检测方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the wood surface defect detection device provided in the above-mentioned embodiment performs wood surface defect detection, only the division of the above program modules is used as an example for illustration. The program module is completed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the wood surface defect detection device and the wood surface defect detection method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.
基于上述程序模块的硬件实现,且为了实现本发明实施例的方法,本发明实施例还提供一种木材表面缺陷检测设备。图8仅仅示出了该木材表面缺陷检测设备的示例性结构而非全部结构,根据需要可以实施图8示出的部分结构或全部结构。Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present invention, the embodiment of the present invention further provides a wood surface defect detection device. FIG. 8 only shows an exemplary structure of the wood surface defect detection apparatus but not the whole structure, and part or all of the structure shown in FIG. 8 may be implemented as required.
如图8所示,本发明实施例提供的木材表面缺陷检测设备800包括:至少一个处理器801、存储器802、用户接口803和至少一个网络接口804。木材表面缺陷检测设备800中的各个组件通过总线系统805耦合在一起。可以理解,总线系统805用于实现这些组件之间的连接通信。总线系统805除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统805。As shown in FIG. 8 , the wood surface
其中,用户接口803可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。The
本发明实施例中的存储器802用于存储各种类型的数据以支持木材表面缺陷检测设备的操作。这些数据的示例包括:用于在木材表面缺陷检测设备上操作的任何计算机程序。The
本发明实施例揭示的木材表面缺陷检测方法可以应用于处理器801中,或者由处理器801实现。处理器801可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,木材表面缺陷检测方法的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器801可以是通用处理器、数字信号处理器(DSP,DigitalSignal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器801可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器802,处理器801读取存储器802中的信息,结合其硬件完成本发明实施例提供的木材表面缺陷检测方法的步骤。The wood surface defect detection method disclosed in the embodiment of the present invention may be applied to the
在示例性实施例中,木材表面缺陷检测设备可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable LogicDevice)、FPGA、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the wood surface defect detection device may be implemented by one or more of Application Specific Integrated Circuit (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronic component implementations for executing the aforementioned method.
可以理解,存储器802可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It will be appreciated that the
在一些实施例中,本发明实施例还提供一种木材表面缺陷检测系统,如图2所示,其中,木材表面缺陷检测设备204可以为前述的木材表面缺陷检测设备800,具体的缺陷检测方法参照前述的描述,在此不再赘述。In some embodiments, embodiments of the present invention further provide a wood surface defect detection system, as shown in FIG. 2 , wherein the wood surface
在示例性实施例中,本发明实施例还提供了一种存储介质,即计算机存储介质,具体可以是计算机可读存储介质,例如包括存储计算机程序的存储器802,上述计算机程序可由木材表面缺陷检测设备的处理器801执行,以完成本发明实施例方法所述的步骤。计算机可读存储介质可以是ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present invention further provides a storage medium, that is, a computer storage medium, which may be a computer-readable storage medium, for example, including a
需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
另外,本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of the present invention may be combined arbitrarily if there is no conflict.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010844478.8A CN112129773B (en) | 2020-08-20 | 2020-08-20 | Wood surface defect detection method, device, equipment, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010844478.8A CN112129773B (en) | 2020-08-20 | 2020-08-20 | Wood surface defect detection method, device, equipment, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112129773A CN112129773A (en) | 2020-12-25 |
CN112129773B true CN112129773B (en) | 2022-06-14 |
Family
ID=73851713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010844478.8A Active CN112129773B (en) | 2020-08-20 | 2020-08-20 | Wood surface defect detection method, device, equipment, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112129773B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113379745B (en) * | 2021-08-13 | 2021-11-30 | 深圳市信润富联数字科技有限公司 | Product defect identification method and device, electronic equipment and storage medium |
CN113674233B (en) * | 2021-08-13 | 2022-05-20 | 沭阳东川木业有限公司 | Wood optimal selection saw visual detection method based on artificial intelligence |
CN115908412B (en) * | 2023-01-06 | 2023-06-02 | 福建帝视智能科技有限公司 | Bamboo strip defect detection method and terminal based on line laser image |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107655536A (en) * | 2017-10-24 | 2018-02-02 | 浙江华睿科技有限公司 | A kind of object volume measuring system and method |
CN109544514A (en) * | 2018-11-05 | 2019-03-29 | 华侨大学 | A kind of sawn timber identity identification method, device and equipment merging performance characteristic |
CN111307825A (en) * | 2020-04-08 | 2020-06-19 | 山东交通学院 | Detection method for pit defects on the surface of wood planks |
-
2020
- 2020-08-20 CN CN202010844478.8A patent/CN112129773B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107655536A (en) * | 2017-10-24 | 2018-02-02 | 浙江华睿科技有限公司 | A kind of object volume measuring system and method |
CN109544514A (en) * | 2018-11-05 | 2019-03-29 | 华侨大学 | A kind of sawn timber identity identification method, device and equipment merging performance characteristic |
CN111307825A (en) * | 2020-04-08 | 2020-06-19 | 山东交通学院 | Detection method for pit defects on the surface of wood planks |
Also Published As
Publication number | Publication date |
---|---|
CN112129773A (en) | 2020-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE112020004391B4 (en) | Systems and methods for surface modeling using polarization features | |
CN112129773B (en) | Wood surface defect detection method, device, equipment, system and storage medium | |
CN112669318B (en) | Surface defect detection method, device, equipment and storage medium | |
CN112884768B (en) | Method, system and device for online quality monitoring of 3D printing based on neural network | |
CN107230203A (en) | Casting defect recognition methods based on human eye vision attention mechanism | |
CN110473201A (en) | A kind of automatic testing method and device of disc surface defect | |
CN118967672A (en) | Industrial defect detection method, system, device and storage medium | |
CN115393290B (en) | Edge defect detection method, device and equipment | |
CN119091236B (en) | Ceramic packaging substrate detection method and system based on visual inspection and meta-learning | |
CN110426395B (en) | A kind of solar EL battery silicon wafer surface detection method and device | |
CN109556533B (en) | An automatic extraction method for multi-line structured light fringe images | |
CN119273992A (en) | Mobile phone screen glass defect detection method based on improved YOLOv8 | |
CN118858293A (en) | Graphite Sheet Component Appearance Defect Detection Method Based on Photometric Stereo Algorithm | |
Ji et al. | Automatic identification of rock fractures based on deep learning | |
CN112233104A (en) | Real-time displacement field and strain field detection method, system, device and storage medium | |
CN118351059A (en) | Circuit board detection method, device, computer equipment and storage medium | |
Mehrishal et al. | Artificial intelligence-aided semi-automatic joint trace detection from textured three-dimensional models of rock mass | |
JP7187830B2 (en) | Image processing program, image processing apparatus, and image processing method | |
CN118115106A (en) | Intelligent production control system and method for metal products | |
CN117825379A (en) | Method, device, equipment and storage medium for detecting surface layer defect of pressure joint film | |
CN113658096B (en) | Plate abnormality detection method and device | |
CN117740799A (en) | A fabric defect detection method and detection terminal based on two-dimensional and three-dimensional images | |
Shreya et al. | Design of machine vision system for high speed manufacturing environments | |
CN106530274B (en) | A kind of localization method of girder steel crackle | |
Hajimowlana et al. | Defect detection in web inspection using fuzzy fusion of texture features |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |