CN110223267A - The recognition methods of refractory brick deep defects based on height histogram divion - Google Patents

The recognition methods of refractory brick deep defects based on height histogram divion Download PDF

Info

Publication number
CN110223267A
CN110223267A CN201910195094.5A CN201910195094A CN110223267A CN 110223267 A CN110223267 A CN 110223267A CN 201910195094 A CN201910195094 A CN 201910195094A CN 110223267 A CN110223267 A CN 110223267A
Authority
CN
China
Prior art keywords
image
point cloud
refractory brick
height
plane
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.)
Granted
Application number
CN201910195094.5A
Other languages
Chinese (zh)
Other versions
CN110223267B (en
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.)
Shandong Industrial Technology Research Institute of ZJU
Original Assignee
Shandong Industrial Technology Research Institute of ZJU
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 Shandong Industrial Technology Research Institute of ZJU filed Critical Shandong Industrial Technology Research Institute of ZJU
Publication of CN110223267A publication Critical patent/CN110223267A/en
Application granted granted Critical
Publication of CN110223267B publication Critical patent/CN110223267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/0008Industrial image inspection checking presence/absence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/187Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details
    • G06T2207/20028Bilateral filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30132Masonry; Concrete

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

本发明公开了基于高度直方图分割的耐火砖深度缺陷的识别方法,包括利用结构光传感器获取耐火砖的彩色点云数据,彩色点云数据由影像数据和三维点云融合在一起,使用最小二乘法对耐火砖图像点云进行平面拟合获得零平面,并获取原始耐火砖图像的高度和宽度,根据原始耐火砖图像的尺寸参数和零平面,生成对应的基准平面图像,对原始耐火砖图像与基准平面图像进行作差,获得倾斜校正后的点云数据图,对倾斜校正后的点云的高度直方图进行滤波分割,得到设定深度的点云信息。本发明能基于灰度矩平面拟合,对图像高度图分析,得到耐火砖的深度缺陷信息,有效避免渗透腐蚀现象,延长耐火砖的使用寿命。

The invention discloses a method for identifying depth defects of refractory bricks based on height histogram segmentation. Multiply the refractory brick image point cloud for plane fitting to obtain the zero plane, and obtain the height and width of the original refractory brick image, and generate the corresponding reference plane image according to the size parameters and zero plane of the original refractory brick image, for the original refractory brick image Make a difference with the reference plane image to obtain the tilt-corrected point cloud data map, filter and segment the height histogram of the tilt-corrected point cloud, and obtain the point cloud information of the set depth. The invention can analyze the image height map based on the gray moment plane fitting, and obtain the depth defect information of the refractory bricks, effectively avoid the penetration corrosion phenomenon, and prolong the service life of the refractory bricks.

Description

基于高度直方图分割的耐火砖深度缺陷的识别方法Recognition Method of Refractory Brick Depth Defect Based on Height Histogram Segmentation

技术领域technical field

本发明涉及一种基于高度直方图分割的耐火砖深度缺陷的识别方法。The invention relates to a method for identifying depth defects of refractory bricks based on height histogram segmentation.

背景技术Background technique

耐火砖,根据国际标准是指在高温环境下其化学与物理性质稳定并能正常使用的非金属(并不排除含有一定比例的金属)材料与产品。耐火砖能在高温下经受各种机械作用和物理化学变化,广泛用于冶金、化工、石油、发电等工业领域。近些年来,我国的耐火砖生产企业快速发展,耐火砖的市场竞争也日益激烈,众多企业纷纷提高生产技术和质检技术,实现生产和检测自动化,以提高企业竞争力。在耐火砖的生产线上,产品下线装箱之前,长期以来都是依靠人工使用卷尺手动测量,肉眼评判深度缺陷,如耐火砖的缺角、缺棱以及麻面等。由于耐火砖生产过程中,压机的振动噪音等对工人的身心健康危害较大,而且很多缺陷都是工人依靠经验判断,受主观影响较大,无法建立一个统一的评判标准。此外,大批量生产过程中该工序不仅要消耗大量劳动成本,而且重复、单调的测量观察工作极易引起人员疲劳,容易出现误判,若个别不良品混入整批成品中,会给工厂带来严重经济损失,甚至严重影响钢铁的生产。因此,在一些不适合人工作业的危险场合,人工视觉难以满足要求的场合和带有高度重复性、智能性并且靠人的眼睛无法连续稳定地进行产品检测的场合。耐火砖在生产的过程中,除了外形几何尺寸,其深度缺陷,这些缺陷对于耐火砖的质量及其钢铁的冶炼过程的使用状况都有着不可忽视的影响,因此对于耐火砖的缺陷,进行有效识别是耐火砖质量检测至关重要的一环。目前尚无对耐火砖的表面缺陷进行自动测量的测量系统或者方法。Refractory bricks, according to international standards, refer to non-metallic materials and products that have stable chemical and physical properties and can be used normally in high temperature environments (not excluding a certain proportion of metals). Refractory bricks can withstand various mechanical actions and physical and chemical changes at high temperatures, and are widely used in metallurgy, chemical industry, petroleum, power generation and other industrial fields. In recent years, my country's refractory brick production enterprises have developed rapidly, and the market competition for refractory bricks has become increasingly fierce. Many enterprises have improved production technology and quality inspection technology, and realized production and testing automation to improve their competitiveness. On the production line of refractory bricks, before the products are off-line and packed, manual measurement with a tape measure has been used for a long time to judge the depth defects with the naked eye, such as missing corners, missing edges and pitted surfaces of refractory bricks. In the production process of refractory bricks, the vibration and noise of the press are very harmful to the physical and mental health of workers, and many defects are judged by workers based on experience, which is greatly influenced by subjective, so it is impossible to establish a unified evaluation standard. In addition, in the process of mass production, this process not only consumes a lot of labor costs, but also the repetitive and monotonous measurement and observation work can easily cause personnel fatigue and misjudgment. Serious economic losses, and even seriously affect the production of steel. Therefore, in some dangerous occasions that are not suitable for manual work, occasions where artificial vision is difficult to meet the requirements, and occasions that are highly repeatable and intelligent and cannot be continuously and stably inspected by human eyes. In the production process of refractory bricks, in addition to the geometric dimensions and depth defects, these defects have a non-negligible impact on the quality of refractory bricks and the use of the steel smelting process. Therefore, for the defects of refractory bricks, effective identification It is a vital part of the quality inspection of refractory bricks. At present, there is no measurement system or method for automatic measurement of surface defects of refractory bricks.

发明内容Contents of the invention

本发明的目的在于提供一种能识别耐火砖深度缺陷的识别方法。The purpose of the present invention is to provide an identification method capable of identifying deep defects in refractory bricks.

本发明解决其技术问题所采用的技术方案是:The technical solution adopted by the present invention to solve its technical problems is:

基于高度直方图分割的耐火砖深度缺陷的识别方法,包括以下步骤:A method for identifying depth defects in refractory bricks based on height histogram segmentation, comprising the following steps:

步骤1、利用结构光传感器获取耐火砖的彩色点云数据,彩色点云数据由影像数据和三维点云融合在一起,彩色点云数据的坐标系是以传感器位姿为基准;Step 1. Use the structured light sensor to obtain the color point cloud data of refractory bricks. The color point cloud data is fused together from image data and 3D point cloud. The coordinate system of the color point cloud data is based on the sensor pose;

步骤2、使用最小二乘法对耐火砖图像点云进行平面拟合获得零平面,并获取原始耐火砖图像的高度和宽度,根据原始耐火砖图像的尺寸参数和零平面,生成对应的基准平面图像;Step 2. Use the least square method to perform plane fitting on the point cloud of the refractory brick image to obtain the zero plane, and obtain the height and width of the original refractory brick image, and generate the corresponding reference plane image according to the size parameters and zero plane of the original refractory brick image ;

步骤3、对原始耐火砖图像与基准平面图像进行作差,获得倾斜校正后的点云数据图;Step 3. Make a difference between the original refractory brick image and the reference plane image to obtain the point cloud data map after tilt correction;

步骤4、对倾斜校正后的点云的高度直方图进行滤波分割,得到设定深度的点云信息,设置高度带通滤波器的高度值范围对点云高度直方图进行滤波,在高度值范围内的连通域均视为深度缺陷。Step 4. Filter and segment the height histogram of the tilt-corrected point cloud to obtain the point cloud information of the set depth, set the height value range of the height band-pass filter to filter the point cloud height histogram, within the height value range The connected domains within are regarded as deep defects.

进一步,步骤2中,基准平面图像的生成方法是:根据拟合参数α,β,γ,结合耐火砖彩色点云数据Image(r,c),生成基准平面图像Image(r,c)0:对于一幅2D连续图像f(x,y)(≥0),p+q阶矩mpq定义为:Further, in step 2, the generation method of the reference plane image is: according to the fitting parameters α, β, γ, combined with the refractory brick color point cloud data Image(r, c), generate the reference plane image Image(r, c) 0 : For a 2D continuous image f(x,y)(≥0), the p+q order moment m pq is defined as:

其中,p,q是非负的整数,对于离散化数字图像,上式为:Among them, p and q are non-negative integers. For discretized digital images, the above formula is:

其中,(r0,c0)为质心坐标,且where (r 0 ,c 0 ) is the coordinates of the center of mass, and

一阶平面近似方法通过以下公式来描述:The first-order plane approximation method is described by the following formula:

Image(r,c)=α(r-r0)+β(c-c0)+γ (4-13)Image(r,c)=α(rr 0 )+β(cc 0 )+γ (4-13)

其中,r0为待拟合区域的横坐标,c0为待拟合区域的纵坐标,γ为待拟合区域的平均灰度,F为整个平面的面积,MRow是沿着行方向的灰度矩,MCol是沿着列方向的灰度矩,则有:Among them, r 0 is the abscissa of the area to be fitted, c 0 is the ordinate of the area to be fitted, γ is the average gray level of the area to be fitted, F is the area of the entire plane, and MRow is the gray area along the row direction degree moment, MCol is the gray moment along the column direction, then:

MRow=sum((r-r0)*(Image(r,c)-γ))/F2 (4-14)MRow=sum((rr 0 )*(Image(r,c)-γ))/F 2 (4-14)

MCol=sum((c-r0)*(Image(r,c)-γ))/F2 (4-15)MCol=sum((cr 0 )*(Image(r,c)-γ))/F 2 (4-15)

进一步,对原耐火砖点云图Image(r,c)和基准平面图像Image(r,c)0进行作差,获取倾斜校正后的点云数据图Image'(r,c)。Further, the difference between the original refractory brick point cloud image Image(r,c) and the reference plane image Image(r,c) 0 is obtained to obtain the tilt-corrected point cloud data image Image'(r,c).

Image'(r,c)=Image(r,c)-Image(r,c)0 (4-18);Image'(r,c)=Image(r,c)-Image(r,c) 0 (4-18);

对倾斜校正后的点云数据图沿着零平面法向进行分割,获得点云高度直方图;设置高度带通滤波器的高度值范围对点云高度直方图进行滤波,在高度值范围内的连通域均视为深度缺陷。Segment the tilt-corrected point cloud data map along the normal direction of the zero plane to obtain a point cloud height histogram; set the height value range of the height band-pass filter to filter the point cloud height histogram, within the range of height values Connected domains are considered as deep defects.

进一步,步骤4中,根据两遍扫描法获取连通域,包括以下步骤:Further, in step 4, the connected domain is obtained according to the two-pass scanning method, including the following steps:

步骤4-1:对耐火砖阈值图像进行第一遍扫描,赋予每个像素位置一个标签,赋予同一个连通域内的像素集合一个或多个不同标签,合并属于同一个连通域但具有不同值的标签;Step 4-1: Scan the refractory brick threshold image for the first pass, assign a label to each pixel position, assign one or more different labels to the set of pixels in the same connected domain, and merge pixels belonging to the same connected domain but with different values Label;

步骤4-2:对耐火砖阈值图像进行第二遍扫描,将具有相等关系的相同标签所标记的像素归为一个连通域,赋予连通域一个相同的标签。Step 4-2: Scan the refractory brick threshold image for the second pass, classify the pixels marked by the same label with an equal relationship into a connected domain, and assign the same label to the connected domain.

进一步,步骤4-1使用种子填充法进行连通域获取:Further, step 4-1 uses the seed filling method to obtain connected domains:

(1)扫描耐火砖阈值图中的像素点,直到当前像素点B(x,y)==1:(1) Scan the pixels in the refractory brick threshold map until the current pixel B(x, y)==1:

a、将B(x,y)作为种子、并赋予标签,然后将该种子相邻的所有前景像素都压入栈中;a. Use B(x, y) as a seed and give it a label, and then push all the foreground pixels adjacent to the seed into the stack;

b、弹出栈顶像素,将栈顶像素赋予跟种子相同的标签,然后再将与该栈顶像素相邻的所有前景像素都压入栈中;b. Pop the top pixel of the stack, give the top pixel the same label as the seed, and then push all the foreground pixels adjacent to the top pixel into the stack;

c、重复b步骤,直到栈为空;c. Repeat step b until the stack is empty;

此时,所有具有相同标签的像素值形成一个连通域;At this point, all pixel values with the same label form a connected domain;

获取连通域之外的任意一个像素作为种子,重复第(1)步,直到扫描结束;扫描结束后,就可以得到图像B中所有的连通域。Obtain any pixel outside the connected domain as a seed, repeat step (1) until the end of scanning; after scanning, all connected domains in image B can be obtained.

本发明的优点在于:The advantages of the present invention are:

1.基于灰度矩平面拟合,对图像高度图分析,得到耐火砖的深度缺陷信息,有效避免渗透腐蚀现象,延长耐火砖的使用寿命。1. Based on gray moment plane fitting, analyze the image height map to obtain the depth defect information of refractory bricks, effectively avoid penetration corrosion and prolong the service life of refractory bricks.

2.采用两遍扫描法,不需要申请大量的堆栈空间,获取连通区域的速度快,并且可获取多个连通区域,不会发生内存泄露,具有相对较好的执行效率。2. Using the two-pass scanning method, there is no need to apply for a large amount of stack space, the speed of obtaining connected regions is fast, and multiple connected regions can be obtained, no memory leaks occur, and relatively good execution efficiency.

附图说明Description of drawings

图1是耐火砖扫描面倾斜校正结果。Figure 1 is the result of tilt correction of refractory brick scanning surface.

图2是分割前后高度直方图对比图。Figure 2 is a comparison of height histograms before and after segmentation.

图3是深度缺陷提取结果。Figure 3 is the result of deep defect extraction.

具体实施方式Detailed ways

下面结合附图和具体实施方式对本发明进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

耐火砖在生产的过程中,除了因为接触而造成的表面划痕,也会因为模具的损耗而造成一些深度缺陷:凹坑麻面和缺角缺棱等。Gocator2350传感器采集到的图像数据是影像数据和三维点云融合在一起的彩色点云数据。对此,可以从点云数据中的高度信息中分析得到深度缺陷。During the production process of refractory bricks, in addition to the surface scratches caused by contact, some deep defects will also be caused by the loss of the mold: pits, pockmarks, missing corners and edges. The image data collected by the Gocator2350 sensor is color point cloud data that is fused together with image data and 3D point cloud. In this regard, depth defects can be analyzed from the height information in the point cloud data.

传感器采集的数据是彩色点云数据,其坐标系是以传感器位姿为基准,因此首先需要对耐火砖所测上表面进行拟合,沿其法向进行高度分割,即可得到深度缺陷信息。The data collected by the sensor is color point cloud data, and its coordinate system is based on the sensor pose. Therefore, it is first necessary to fit the measured upper surface of the refractory brick, and perform height segmentation along its normal direction to obtain depth defect information.

基于高度直方图分割的耐火砖深度缺陷的识别方法,包括以下步骤:A method for identifying depth defects in refractory bricks based on height histogram segmentation, comprising the following steps:

步骤1、利用结构光传感器获取耐火砖的彩色点云数据,彩色点云数据由影像数据和三维点云融合在一起,彩色点云数据的坐标系是以传感器位姿为基准;Step 1. Use the structured light sensor to obtain the color point cloud data of refractory bricks. The color point cloud data is fused together from image data and 3D point cloud. The coordinate system of the color point cloud data is based on the sensor pose;

步骤2、使用最小二乘法对耐火砖图像点云进行平面拟合获得零平面,并获取原始耐火砖图像的高度和宽度,根据原始耐火砖图像的尺寸参数和零平面,生成对应的基准平面图像;Step 2. Use the least square method to perform plane fitting on the point cloud of the refractory brick image to obtain the zero plane, and obtain the height and width of the original refractory brick image, and generate the corresponding reference plane image according to the size parameters and zero plane of the original refractory brick image ;

步骤3、对原始耐火砖图像与基准平面图像进行作差,获得倾斜校正后的点云数据图;Step 3. Make a difference between the original refractory brick image and the reference plane image to obtain the point cloud data map after tilt correction;

步骤4、对倾斜校正后的点云的高度直方图进行滤波分割,得到设定深度的点云信息,设置高度带通滤波器的高度值范围对点云高度直方图进行滤波,在高度值范围内的连通域均视为深度缺陷。Step 4. Filter and segment the height histogram of the tilt-corrected point cloud to obtain the point cloud information of the set depth, set the height value range of the height band-pass filter to filter the point cloud height histogram, within the height value range The connected domains within are regarded as deep defects.

基于计算灰度值矩及一阶平面近似法的平面拟合Plane Fitting Based on Calculation of Gray Value Moment and First Order Plane Approximation Method

矩是描述图像特征的算子,如今图像矩技术已广泛应用于图像检索和识别、图像匹配、图像重建、数字压缩、数字水印及运动图像序列分析等领域。Moments are operators that describe image features. Nowadays, image moment technology has been widely used in image retrieval and recognition, image matching, image reconstruction, digital compression, digital watermarking and moving image sequence analysis and other fields.

图像可以被看成一个平板物体,每个像素点的值看成是该处的密度。对某点求期望就是该图像在该点处的矩。对于一幅2D连续图像f(x,y)(≥0),p+q阶矩mpq定义为:The image can be regarded as a flat object, and the value of each pixel is regarded as the density there. The expectation of a point is the moment of the image at that point. For a 2D continuous image f(x,y)(≥0), the p+q order moment m pq is defined as:

其中,p,q是非负的整数,对于离散化数字图像,上式为:Among them, p and q are non-negative integers. For discretized digital images, the above formula is:

其中,(r0,c0)为质心坐标,且where (r 0 ,c 0 ) is the coordinates of the center of mass, and

一阶平面近似方法是通过最小化灰度值和平面间的距离来实现的[61],可以通过以下公式来描述:The first-order plane approximation method is realized by minimizing the distance between the gray value and the plane [61] , which can be described by the following formula:

Image(r,c)=α(r-r0)+β(c-c0)+γ (4-13)Image(r,c)=α(rr 0 )+β(cc 0 )+γ (4-13)

其中,r0和c0即为待拟合区域的横纵坐标,γ为待拟合区域的平均灰度。Among them, r 0 and c 0 are the horizontal and vertical coordinates of the area to be fitted, and γ is the average gray level of the area to be fitted.

令F为整个平面的面积,MRow和MCol分别是沿着行和列方向的矩,则有:Let F be the area of the entire plane, and MRow and MCol be the moments along the row and column directions respectively, then:

MRow=sum((r-r0)*(Image(r,c)-γ))/F2 (4-14)MRow=sum((rr 0 )*(Image(r,c)-γ))/F 2 (4-14)

MCol=sum((c-r0)*(Image(r,c)-γ))/F2 (4-15)MCol=sum((cr 0 )*(Image(r,c)-γ))/F 2 (4-15)

基于倾斜校正的高度直方图阈值分割提取深度缺陷Height histogram threshold segmentation based on tilt correction to extract depth defects

根据上式求得的拟合参数α,β,γ,再结合原图的大小,即可生成一幅图像作为基准。此时,将原图与基准图像进行作差,即可得到倾斜校正后的点云数据图,倾斜校正情况如下图1所示。According to the fitting parameters α, β, γ obtained by the above formula, combined with the size of the original image, an image can be generated as a reference. At this point, the point cloud data map after tilt correction can be obtained by making a difference between the original image and the reference image. The tilt correction situation is shown in Figure 1 below.

此时,对于倾斜校正后的高度图进行分割,即可得到沿着拟合平面法向进行分割的效果。对倾斜校正后的高度数据进行概率分析,可以得到如图2所示的直方图。At this time, by segmenting the tilt-corrected height map, the effect of segmenting along the normal direction of the fitting plane can be obtained. The histogram shown in Figure 2 can be obtained by probabilistic analysis of the tilt-corrected height data.

设置高度带通滤波器,高度值范围为-2.5-0mm,进行滤波分割,可以得到在此范围内的所有深度缺陷,如下图3所示,即凹坑麻面(左)和缺角缺棱(右)。Set the height band-pass filter, the height value range is -2.5-0mm, and filter and segment, you can get all the depth defects in this range, as shown in Figure 3 below, that is, pits and pockmarks (left) and missing corners and edges (right).

对分割出的所有满足高度范围内的深度缺陷,都标记为1,其余标记为0。根据连通域算法,提取出连通域,深度缺陷的面积在40mm2以上的区域提取如下:All the segmented depth defects that meet the height range are marked as 1, and the rest are marked as 0. According to the connected domain algorithm, the connected domain is extracted, and the area with a depth defect area above 40mm2 is extracted as follows:

凹坑麻面:[98,122,178,59,281,117,107,120,116,55,290,50,103,139]Dimpled surface: [98, 122, 178, 59, 281, 117, 107, 120, 116, 55, 290, 50, 103, 139]

缺角缺棱:[92,120,97,165,63,160]Missing corners and edges: [92, 120, 97, 165, 63, 160]

对不同类型的耐火砖进行多次测量实验,在多次重复实验中,耐火砖的缺陷实验数据如下表所示,表中的缺陷值是按照约定的指标,凹坑麻面上限均为1.5mm,,其中OK表示合格,NG表示不合格。由测量结果可知,连通域量化缺陷方法得到了有效验证,即该测量系统可以满足缺陷识别要求。Multiple measurement experiments were carried out on different types of refractory bricks. In repeated experiments, the defect test data of refractory bricks are shown in the table below. The defect values in the table are in accordance with the agreed indicators, and the upper limit of pits and pockmarks is 1.5mm ,, where OK means qualified and NG means unqualified. It can be seen from the measurement results that the method of quantifying defects in the connected domain has been effectively verified, that is, the measurement system can meet the requirements of defect identification.

表缺陷测量实验结果Table defect measurement experiment results

数据分析表明系统的缺陷识别满足精度要求,从而证明本套视觉测量方法的稳定性和重复性精度是满足需求的。Data analysis shows that the defect recognition of the system meets the accuracy requirements, thus proving that the stability and repeatability accuracy of this set of visual measurement methods meet the requirements.

本说明书实施例所述的内容仅仅是对发明构思的实现形式的列举,本发明的保护范围不应当被视为仅限于实施例所陈述的具体形式,本发明的保护范围也及于本领域技术人员根据本发明构思所能够想到的等同技术手段。The content described in the embodiments of this specification is only an enumeration of the implementation forms of the inventive concept. The protection scope of the present invention should not be regarded as limited to the specific forms stated in the embodiments. Equivalent technical means that a person can think of based on the concept of the present invention.

Claims (5)

1.基于高度直方图分割的耐火砖深度缺陷的识别方法,包括以下步骤:1. The recognition method of the depth defect of refractory brick based on height histogram segmentation, comprises the following steps: 步骤1、利用结构光传感器获取耐火砖的彩色点云数据,彩色点云数据由影像数据和三维点云融合在一起,彩色点云数据的坐标系是以传感器位姿为基准;Step 1. Use the structured light sensor to obtain the color point cloud data of refractory bricks. The color point cloud data is fused together from image data and 3D point cloud. The coordinate system of the color point cloud data is based on the sensor pose; 步骤2、使用最小二乘法对耐火砖图像点云进行平面拟合获得零平面,并获取原始耐火砖图像的高度和宽度,根据原始耐火砖图像的尺寸参数和零平面,生成对应的基准平面图像;Step 2. Use the least square method to perform plane fitting on the point cloud of the refractory brick image to obtain the zero plane, and obtain the height and width of the original refractory brick image, and generate the corresponding reference plane image according to the size parameters and zero plane of the original refractory brick image ; 步骤3、对原始耐火砖图像与基准平面图像进行作差,获得倾斜校正后的点云数据图;Step 3. Make a difference between the original refractory brick image and the reference plane image to obtain the point cloud data map after tilt correction; 步骤4、对倾斜校正后的点云的高度直方图进行滤波分割,得到设定深度的点云信息,设置高度带通滤波器的高度值范围对点云高度直方图进行滤波,在高度值范围内的连通域均视为深度缺陷。Step 4. Filter and segment the height histogram of the tilt-corrected point cloud to obtain the point cloud information of the set depth, set the height value range of the height band-pass filter to filter the point cloud height histogram, within the height value range The connected domains within are regarded as deep defects. 2.如权利要求1所述的基于高度直方图分割的耐火砖深度缺陷的识别方法,其特征在于,步骤2中,基准平面图像的生成方法是:根据拟合参数α,β,γ,结合耐火砖彩色点云数据Image(r,c),生成基准平面图像Image(r,c)0:对于一幅2D连续图像f(x,y)(≥0),p+q阶矩mpq定义为:2. The recognition method of the refractory brick depth defect based on the height histogram segmentation as claimed in claim 1, characterized in that, in step 2, the generation method of the reference plane image is: according to the fitting parameters α, β, γ, combined with Refractory brick color point cloud data Image(r,c), generate reference plane image Image(r,c) 0 : For a 2D continuous image f(x,y)(≥0), p+q order moment m pq is defined for: 其中,p,q是非负的整数,对于离散化数字图像,上式为:Among them, p and q are non-negative integers. For discretized digital images, the above formula is: 其中,(r0,c0)为质心坐标,且where (r 0 ,c 0 ) is the coordinates of the center of mass, and 一阶平面近似方法通过以下公式来描述:The first-order plane approximation method is described by the following formula: Image(r,c)=α(r-r0)+β(c-c0)+γ (4-13)Image(r,c)=α(rr 0 )+β(cc 0 )+γ (4-13) 其中,r0为待拟合区域的横坐标,c0为待拟合区域的纵坐标,γ为待拟合区域的平均灰度,F为整个平面的面积,MRow是沿着行方向的灰度矩,MCol是沿着列方向的灰度矩,则有:Among them, r 0 is the abscissa of the area to be fitted, c 0 is the ordinate of the area to be fitted, γ is the average gray level of the area to be fitted, F is the area of the entire plane, and MRow is the gray area along the row direction degree moment, MCol is the gray moment along the column direction, then: MRow=sum((r-r0)*(Image(r,c)-γ))/F2 (4-14)MRow=sum((rr 0 )*(Image(r,c)-γ))/F 2 (4-14) MCol=sum((c-r0)*(Image(r,c)-γ))/F2 (4-15)MCol=sum((cr 0 )*(Image(r,c)-γ))/F 2 (4-15) 3.如权利要求2所述的基于高度直方图分割的耐火砖深度缺陷的识别方法,其特征在于,对原耐火砖点云图Image(r,c)和基准平面图像Image(r,c)0进行作差,获取倾斜校正后的点云数据图Image'(r,c)。3. the recognition method of the refractory brick depth defect based on height histogram segmentation as claimed in claim 2, is characterized in that, to original refractory brick point cloud image Image (r, c) and reference plane image Image (r, c) 0 Make a difference to obtain the tilt-corrected point cloud data image Image'(r,c). Image'(r,c)=Image(r,c)-Image(r,c)0 (4-18);Image'(r,c)=Image(r,c)-Image(r,c) 0 (4-18); 对倾斜校正后的点云数据图沿着零平面法向进行分割,获得点云高度直方图;设置高度带通滤波器的高度值范围对点云高度直方图进行滤波,在高度值范围内的连通域均视为深度缺陷。Segment the tilt-corrected point cloud data map along the normal direction of the zero plane to obtain a point cloud height histogram; set the height value range of the height band-pass filter to filter the point cloud height histogram, within the range of height values Connected domains are considered as deep defects. 4.如权利要求3所述的基于高度直方图分割的耐火砖深度缺陷的识别方法,其特征在于,步骤4中,根据两遍扫描法获取连通域,包括以下步骤:4. the identification method of the refractory brick depth defect based on height histogram segmentation as claimed in claim 3, is characterized in that, in step 4, obtains connected domain according to two-pass scanning method, comprises the following steps: 步骤4-1:对耐火砖阈值图像进行第一遍扫描,赋予每个像素位置一个标签,赋予同一个连通域内的像素集合一个或多个不同标签,合并属于同一个连通域但具有不同值的标签;Step 4-1: Scan the refractory brick threshold image for the first pass, assign a label to each pixel position, assign one or more different labels to the set of pixels in the same connected domain, and merge pixels belonging to the same connected domain but with different values Label; 步骤4-2:对耐火砖阈值图像进行第二遍扫描,将具有相等关系的相同标签所标记的像素归为一个连通域,赋予连通域一个相同的标签。Step 4-2: Scan the refractory brick threshold image for the second pass, classify the pixels marked by the same label with an equal relationship into a connected domain, and assign the same label to the connected domain. 5.如权利要求4所述的基于高度直方图分割的耐火砖深度缺陷的识别方法,其特征在于,步骤4-1使用种子填充法进行连通域获取:5. the identification method of the refractory brick depth defect based on height histogram segmentation as claimed in claim 4, is characterized in that, step 4-1 uses seed filling method to carry out connected domain acquisition: (1)扫描耐火砖阈值图中的像素点,直到当前像素点B(x,y)==1:(1) Scan the pixels in the refractory brick threshold map until the current pixel B(x, y)==1: a、将B(x,y)作为种子、并赋予标签,然后将该种子相邻的所有前景像素都压入栈中;a. Use B(x, y) as a seed and give it a label, and then push all the foreground pixels adjacent to the seed into the stack; b、弹出栈顶像素,将栈顶像素赋予跟种子相同的标签,然后再将与该栈顶像素相邻的所有前景像素都压入栈中;b. Pop the top pixel of the stack, give the top pixel the same label as the seed, and then push all the foreground pixels adjacent to the top pixel into the stack; c、重复b步骤,直到栈为空;c. Repeat step b until the stack is empty; 此时,所有具有相同标签的像素值形成一个连通域;At this point, all pixel values with the same label form a connected domain; 获取连通域之外的任意一个像素作为种子,重复第(1)步,直到扫描结束;扫描结束后,就可以得到图像B中所有的连通域。Obtain any pixel outside the connected domain as a seed, repeat step (1) until the end of scanning; after scanning, all connected domains in image B can be obtained.
CN201910195094.5A 2018-03-14 2019-03-14 Refractory Brick Depth Defect Recognition Method Based on Height Histogram Segmentation Active CN110223267B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810208468 2018-03-14
CN2018102084688 2018-03-14

Publications (2)

Publication Number Publication Date
CN110223267A true CN110223267A (en) 2019-09-10
CN110223267B CN110223267B (en) 2021-06-18

Family

ID=63626447

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810214940.9A Withdrawn CN108596873A (en) 2018-03-14 2018-03-15 The recognition methods of refractory brick deep defects based on height histogram divion
CN201910195094.5A Active CN110223267B (en) 2018-03-14 2019-03-14 Refractory Brick Depth Defect Recognition Method Based on Height Histogram Segmentation

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810214940.9A Withdrawn CN108596873A (en) 2018-03-14 2018-03-15 The recognition methods of refractory brick deep defects based on height histogram divion

Country Status (1)

Country Link
CN (2) CN108596873A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112116576A (en) * 2020-09-20 2020-12-22 中国人民解放军空军工程大学 Defect detection method based on polarization structure light imaging and improved Mask R-CNN
CN112489025A (en) * 2020-12-07 2021-03-12 南京钢铁股份有限公司 Method for identifying pit defects on surface of continuous casting billet
CN113008895A (en) * 2021-01-29 2021-06-22 广州信邦智能装备股份有限公司 Block fitting defect detection method based on three-dimensional data
CN116481460A (en) * 2023-05-26 2023-07-25 中国矿业大学 A method for detecting the size of apparent pothole defects based on 3D reconstruction model
CN117073538A (en) * 2023-07-28 2023-11-17 广州市西克传感器有限公司 Refractory brick self-adaptive detection method based on three-dimensional vision

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109658398B (en) * 2018-12-12 2021-05-18 华中科技大学 Part surface defect identification and evaluation method based on three-dimensional measurement point cloud
CN110349195B (en) * 2019-06-25 2021-09-03 杭州汇萃智能科技有限公司 Depth image-based target object 3D measurement parameter acquisition method and system and storage medium
CN113178228B (en) * 2021-05-25 2023-02-10 郑州中普医疗器械有限公司 Cell analysis method based on nuclear DNA analysis, computer device, and storage medium
CN113793296B (en) * 2021-08-06 2024-09-06 中国科学院国家天文台 Point cloud data processing method and device
CN114663713B (en) * 2022-05-20 2022-08-30 海门市博洋铸造有限公司 Metal wire drawing production control method and system based on Hough transform
CN116165216B (en) * 2023-03-16 2023-08-04 苏州鼎纳自动化技术有限公司 Liquid crystal display micro scratch flaw 3D detection method, system and computing equipment
CN118864356B (en) * 2024-06-25 2025-06-06 湖北兆盈嘉泰精密科技有限公司 A watch surface production defect detection method, system, equipment and program product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500329A (en) * 2013-10-16 2014-01-08 厦门大学 Street lamp automatic extraction method based on vehicle-mounted moving laser scanning point cloud
CN106056614A (en) * 2016-06-03 2016-10-26 武汉大学 Building segmentation and contour line extraction method of ground laser point cloud data

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6326509A (en) * 1986-07-19 1988-02-04 Fujitsu Ltd Inspection device for packaging component
CN100506401C (en) * 2007-01-11 2009-07-01 浙江大学 Pearl real-time detection and grading system based on machine vision
CN104020475B (en) * 2014-06-20 2016-03-23 西安煤航信息产业有限公司 A kind of line of electric force based on on-board LiDAR data extracts and modeling method
CN106354935B (en) * 2016-08-30 2017-07-18 华中科技大学 Complex curved surface parts matching detection method based on electron outside nucleus probability density distribution
WO2018043251A1 (en) * 2016-08-31 2018-03-08 日本電気株式会社 Defect detecting device, defect detecting method, and computer-readable recording medium
CN107084671B (en) * 2017-02-24 2019-07-16 浙江大学 A concave sphere diameter measurement system and measurement method based on three-line structured light
CN107506768A (en) * 2017-10-11 2017-12-22 电子科技大学 A kind of stranded recognition methods of transmission line wire based on full convolutional neural networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500329A (en) * 2013-10-16 2014-01-08 厦门大学 Street lamp automatic extraction method based on vehicle-mounted moving laser scanning point cloud
CN106056614A (en) * 2016-06-03 2016-10-26 武汉大学 Building segmentation and contour line extraction method of ground laser point cloud data

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112116576A (en) * 2020-09-20 2020-12-22 中国人民解放军空军工程大学 Defect detection method based on polarization structure light imaging and improved Mask R-CNN
CN112116576B (en) * 2020-09-20 2023-04-18 中国人民解放军空军工程大学 Polarization structure light imaging and improved defect detection method
CN112489025A (en) * 2020-12-07 2021-03-12 南京钢铁股份有限公司 Method for identifying pit defects on surface of continuous casting billet
CN113008895A (en) * 2021-01-29 2021-06-22 广州信邦智能装备股份有限公司 Block fitting defect detection method based on three-dimensional data
CN116481460A (en) * 2023-05-26 2023-07-25 中国矿业大学 A method for detecting the size of apparent pothole defects based on 3D reconstruction model
CN116481460B (en) * 2023-05-26 2024-05-07 中国矿业大学 A method for detecting apparent pit defect size based on three-dimensional reconstruction model
CN117073538A (en) * 2023-07-28 2023-11-17 广州市西克传感器有限公司 Refractory brick self-adaptive detection method based on three-dimensional vision
CN117073538B (en) * 2023-07-28 2024-06-25 广东西克智能科技有限公司 Refractory brick self-adaptive detection method based on three-dimensional vision

Also Published As

Publication number Publication date
CN108596873A (en) 2018-09-28
CN110223267B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN110223267A (en) The recognition methods of refractory brick deep defects based on height histogram divion
CN108896547A (en) Refractory brick measuring system based on machine vision
CN109141232B (en) An online detection method for disc castings based on machine vision
CN105067638B (en) Tire fetal membrane face character defect inspection method based on machine vision
CN103499585B (en) Based on noncontinuity lithium battery film defect inspection method and the device thereof of machine vision
Peng et al. Computer vision algorithm for measurement and inspection of O-rings
CN110288561A (en) Scratch recognition method on refractory brick surface based on frequency domain filter enhancement
CN108416766A (en) Visual inspection method for defects of double-side incident light guide plate
CN102221559A (en) Online automatic detection method of fabric defects based on machine vision and device thereof
CN107084991A (en) Bubble detection and quality classification method of quartz rod based on machine vision
CN103759676A (en) Non-contact type workpiece surface roughness detecting method
CN108844961A (en) A kind of temperature controller case vision detection system and method
CN108520514A (en) Consistency detection method of printed circuit board electronic components based on computer vision
CN110161035A (en) Body structure surface crack detection method based on characteristics of image and bayesian data fusion
CN101995412B (en) Robust glass scratch defect detection method and device thereof
Han et al. SSGD: A smartphone screen glass dataset for defect detection
CN117890389B (en) Online detection method and equipment for surface quality of refined products and storage medium thereof
CN105572143B (en) The detection method of rolled material surface periodic defect in calender line
Fu et al. Medicine glass bottle defect detection based on machine vision
CN104952754B (en) Sorting method of coated silicon wafers based on machine vision
CN115035081A (en) Metal internal defect danger source positioning method and system based on industrial CT
CN114298983A (en) Intelligent identification and measurement method for defects of anticorrosive layer
CN116309447B (en) Dam slope crack detection method based on deep learning
CN106989672A (en) A kind of workpiece measuring based on machine vision
CN119273992A (en) Mobile phone screen glass defect detection method based on improved YOLOv8

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