CN110108584B - Device and method for automatically detecting hardness of ceramic tile - Google Patents

Device and method for automatically detecting hardness of ceramic tile Download PDF

Info

Publication number
CN110108584B
CN110108584B CN201910288993.XA CN201910288993A CN110108584B CN 110108584 B CN110108584 B CN 110108584B CN 201910288993 A CN201910288993 A CN 201910288993A CN 110108584 B CN110108584 B CN 110108584B
Authority
CN
China
Prior art keywords
hardness
tiles
groove
tile
industrial camera
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
Application number
CN201910288993.XA
Other languages
Chinese (zh)
Other versions
CN110108584A (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.)
Kento Intelligent Equipment Tianjin Group Co ltd
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN201910288993.XA priority Critical patent/CN110108584B/en
Publication of CN110108584A publication Critical patent/CN110108584A/en
Application granted granted Critical
Publication of CN110108584B publication Critical patent/CN110108584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N3/00Investigating strength properties of solid materials by application of mechanical stress
    • G01N3/02Details
    • G01N3/06Special adaptations of indicating or recording means
    • G01N3/068Special adaptations of indicating or recording means with optical indicating or recording means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N3/00Investigating strength properties of solid materials by application of mechanical stress
    • G01N3/40Investigating hardness or rebound hardness
    • G01N3/50Investigating hardness or rebound hardness by measuring rolling friction, e.g. by rocking pendulum
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2203/00Investigating strength properties of solid materials by application of mechanical stress
    • G01N2203/0058Kind of property studied
    • G01N2203/0076Hardness, compressibility or resistance to crushing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2203/00Investigating strength properties of solid materials by application of mechanical stress
    • G01N2203/02Details not specific for a particular testing method
    • G01N2203/06Indicating or recording means; Sensing means
    • G01N2203/0641Indicating or recording means; Sensing means using optical, X-ray, ultraviolet, infrared or similar detectors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2203/00Investigating strength properties of solid materials by application of mechanical stress
    • G01N2203/02Details not specific for a particular testing method
    • G01N2203/06Indicating or recording means; Sensing means
    • G01N2203/0641Indicating or recording means; Sensing means using optical, X-ray, ultraviolet, infrared or similar detectors
    • G01N2203/0647Image analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Constituent Portions Of Griding Lathes, Driving, Sensing And Control (AREA)

Abstract

本发明公开了一种自动化检测瓷砖硬度的装置与方法,装置包括:砂轮打磨机安装在传送带的一侧,工业相机安装在另一侧,工控计算机接收分析工业相机传感器的信号;清洁装置安装至传送带的中间;用最硬强度的金刚石凹槽砂轮打磨机对瓷砖进行两个凹槽的打磨处理,通过瓷砖清洁装置对所打磨后的瓷砖进行清洗;使用四个条形光源分别位于瓷砖的四周且与瓷砖的相对位置呈垂直放置;通过工业相机和工控计算机对信息进行分析和计算,实时精确地将瓷砖的硬度进行反应。方法包括:使用小波降噪对图像进行降噪处理,通过计算信息熵的方式自动的获取最佳阈值;对所识别的凹槽图像进行规则化、近似化处理获取较为精确的凹槽长度;根据所检测凹槽长度判别瓷砖的硬度。

Figure 201910288993

The invention discloses a device and method for automatically detecting the hardness of ceramic tiles. The device comprises: a grinding wheel grinder is installed on one side of a conveyor belt, an industrial camera is installed on the other side, an industrial control computer receives and analyzes the signal of the sensor of the industrial camera; a cleaning device is installed on the In the middle of the conveyor belt; use the hardest diamond groove grinding wheel grinder to grind the tiles with two grooves, and use the tile cleaning device to clean the polished tiles; use four bar light sources to be located around the tiles And the relative position of the tiles is vertical; the information is analyzed and calculated through industrial cameras and industrial computers, and the hardness of the tiles is accurately reflected in real time. The method includes: using wavelet noise reduction to denoise the image, and automatically obtaining the optimal threshold by calculating the information entropy; regularizing and approximating the identified groove image to obtain a more accurate groove length; The detected groove length determines the hardness of the tile.

Figure 201910288993

Description

一种自动化检测瓷砖硬度的装置与方法Device and method for automatic detection of ceramic tile hardness

技术领域technical field

本发明涉及自动化检测领域,尤其涉及一种自动化检测瓷砖硬度的装置与方法。The invention relates to the field of automatic detection, in particular to a device and method for automatically detecting the hardness of ceramic tiles.

背景技术Background technique

瓷砖生产企业,实时检测所生产瓷砖的硬度是一项重要的工作,瓷砖硬度的等级直接决定了瓷砖是否合格以及瓷砖的用途。For ceramic tile manufacturers, it is an important task to detect the hardness of the tiles produced in real time. The hardness level of the tiles directly determines whether the tiles are qualified and the use of the tiles.

目前我国衡量瓷砖的检测方法和标准均不够科学和不够合理。常用的方法为使用标准模块刻化釉面,观察釉面是被哪一级模块损坏;或对瓷砖进行敲打,通过声音判断瓷砖的硬度。其中,标准模块刻化的方法,由于不同检测人员的力度有差别,即便使用相同的标准模块对同一块瓷砖进行刻化,不同的检测人员会得到不同的检测结论。瓷砖敲打法,只能靠检测人员的经验进行模糊的判别。At present, the detection methods and standards for measuring ceramic tiles in my country are not scientific and reasonable enough. The commonly used method is to use standard modules to carve the glaze and observe which level of module the glaze is damaged by; or beat the tiles to judge the hardness of the tiles by sound. Among them, the standard module engraving method, due to the difference in the strength of different inspectors, even if the same standard module is used to engrave the same tile, different inspectors will get different inspection conclusions. The tile tapping method can only be vaguely judged by the experience of the inspectors.

此外,这两种方法只能得到大致的检测结果,无法对瓷砖进行详细类别的分类,给生产瓷砖的厂商、检测者以及使用者均带来不便。In addition, these two methods can only obtain general detection results, and cannot classify ceramic tiles in detail, which brings inconvenience to manufacturers, inspectors and users of ceramic tiles.

发明内容SUMMARY OF THE INVENTION

本发明提供了一种自动化检测瓷砖硬度的装置与方法,本发明提供的设备简单、检测快速,维护成本低廉、实现了瓷砖硬度的实时检测,详见下文描述:The invention provides a device and method for automatically detecting the hardness of ceramic tiles. The equipment provided by the invention is simple, the detection is fast, the maintenance cost is low, and the real-time detection of the hardness of ceramic tiles is realized. See the following description for details:

一种自动化检测瓷砖硬度的装置,所述装置包括:凹槽打磨装置,清洁装置,条形光源,工业相机,工控计算机,三个位置传感器;A device for automatically detecting the hardness of ceramic tiles, the device comprises: a groove grinding device, a cleaning device, a bar light source, an industrial camera, an industrial control computer, and three position sensors;

其中,砂轮打磨机安装在传送带的一侧,工业相机安装在传送带另一侧,工控计算机接收并分析工业相机传感器的信号;清洁装置安装至传送带的中间;Among them, the grinding wheel grinder is installed on one side of the conveyor belt, the industrial camera is installed on the other side of the conveyor belt, and the industrial computer receives and analyzes the signal of the industrial camera sensor; the cleaning device is installed in the middle of the conveyor belt;

用具有最硬强度的金刚石凹槽砂轮打磨机对瓷砖进行两个凹槽的打磨处理,通过瓷砖清洁装置对所打磨后的瓷砖进行清洗处理;Use the diamond groove grinding wheel grinder with the hardest strength to grind the tiles with two grooves, and use the tile cleaning device to clean the polished tiles;

使用四个条形光源分别位于瓷砖的四周且与瓷砖的相对位置呈垂直放置;Use four bar light sources to be located around the tiles and vertically to the relative position of the tiles;

通过工业相机和工控计算机对信息进行分析和计算,实时精确地将瓷砖的硬度进行反应。The information is analyzed and calculated through industrial cameras and industrial computers, and the hardness of the tiles is accurately reacted in real time.

其中,保持工业相机与瓷砖表面位置固定,使用距离传感器保证工业相机与瓷砖表面位置固定不变。Among them, the position of the industrial camera and the tile surface is kept fixed, and the distance sensor is used to ensure that the position of the industrial camera and the tile surface is fixed.

一种自动化检测瓷砖硬度的方法,所述方法包括以下步骤:A method for automatic detection of ceramic tile hardness, the method comprises the following steps:

分别使用四个位置不同的条形光源对瓷砖凹槽进行光照处理,通过工业相机和工控计算机获取打磨凹槽后的图像;Use four strip light sources in different positions to illuminate the tile grooves, and obtain the images after grinding the grooves through an industrial camera and an industrial computer;

根据工业相机取得的图像,使用小波降噪对图像进行降噪处理,通过计算信息熵的方式自动的获取最佳阈值;According to the image obtained by the industrial camera, use wavelet noise reduction to denoise the image, and automatically obtain the best threshold by calculating the information entropy;

对所识别的凹槽图像进行规则化、近似化处理获取较为精确的凹槽长度;根据所检测凹槽长度判别瓷砖的硬度。The identified groove image is regularized and approximated to obtain a more accurate groove length; the hardness of the tile is judged according to the detected groove length.

所述对所识别的凹槽图像进行规则化、近似化处理具体为:The process of regularizing and approximating the identified groove image is as follows:

通过四个边界点进行图线的重新绘制可得到规则的一条瓷砖凹痕,选取

Figure BDA0002024280370000021
Figure BDA0002024280370000022
作为该条瓷砖凹痕l1;A regular tile dent can be obtained by redrawing the graph through four boundary points.
Figure BDA0002024280370000021
to
Figure BDA0002024280370000022
as the tile dent l 1 ;

在工业相机上安装激光距离传感器,通过激光距离传感器不断调整工业相机至瓷砖的表面的距离,将工业相机至瓷砖的距离固定为d;Install a laser distance sensor on the industrial camera, continuously adjust the distance from the industrial camera to the surface of the tile through the laser distance sensor, and fix the distance from the industrial camera to the tile as d;

构建图像上像素点的位置与实际距离的对应关系表,根据瓷砖的大小设计像素对应表,将所检测到的凹槽长度转化为真实长度。The correspondence table between the position of the pixel points on the image and the actual distance is constructed, and the pixel correspondence table is designed according to the size of the tile, and the detected groove length is converted into the real length.

本发明提供的技术方案的有益效果是:The beneficial effects of the technical scheme provided by the present invention are:

1、本发明使用金刚石材质的开槽片可对任何硬度的瓷砖进行凹槽打磨,并通过工业相机和工控计算机对信息进行分析和计算,实时精确地检测瓷砖的硬度;1. The present invention uses the slotted sheet of diamond material to carry out groove grinding on ceramic tiles of any hardness, and analyzes and calculates the information through industrial cameras and industrial control computers, and accurately detects the hardness of ceramic tiles in real time;

2、该检测方法不仅对抛光砖的硬度进行测量,对釉面砖的硬度也能够进行衡量;2. This testing method not only measures the hardness of polished tiles, but also can measure the hardness of glazed tiles;

3、该检测装置以及计算过程误差小,检测精度高、速度快,而且维护成本低廉。3. The detection device and the calculation process have small errors, high detection accuracy, high speed, and low maintenance cost.

4、本发明利用工业相机进行尺寸的度量,其度量为像素级别,度量精度可精确至毫米。不仅可以对抛光砖的硬度进行测量,对釉面砖的硬度也能够进行衡量。4. The present invention uses an industrial camera to measure the size, the measurement is at the pixel level, and the measurement accuracy can be accurate to millimeters. Not only the hardness of polished tiles can be measured, but also the hardness of glazed tiles.

附图说明Description of drawings

图1为本发明提供的一种自动化检测瓷砖硬度自动化检测装置的结构示意图;1 is a schematic structural diagram of an automatic detection device for automatic detection of ceramic tile hardness provided by the present invention;

图2为所获取的经打磨后瓷砖图像示意图;Fig. 2 is the obtained tile image schematic diagram after grinding;

图3为降噪的流程图;Fig. 3 is the flow chart of noise reduction;

图4为经过降噪后的结果图;Fig. 4 is the result graph after noise reduction;

图5为识别凹槽的流程图;Fig. 5 is the flow chart of identifying groove;

图6为识别凹槽的结果图;Fig. 6 is the result graph of identifying groove;

图7为对结果进规则化、近似化处理的结果图。FIG. 7 is a result diagram of regularization and approximation processing of the results.

附图中,各标号所代表的部件列表如下:In the accompanying drawings, the list of components represented by each number is as follows:

1:瓷砖; 2、4、6:位置传感器;1: tile; 2, 4, 6: position sensor;

3:凹槽打磨装置; 5:清洁装置;3: Groove grinding device; 5: Cleaning device;

7:识别装置; 8:传送带;7: Identification device; 8: Conveyor belt;

9:砂轮打磨机; 10:圆盘异形刷;9: Grinding wheel grinding machine; 10: Disc shaped brush;

11:冲洗水管; 12:工业相机;11: Rinse water pipe; 12: Industrial camera;

13:条形光源; 14:距离传感器;13: Bar light source; 14: Distance sensor;

15:工控计算机。15: Industrial computer.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面对本发明实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention are further described in detail below.

实施例1Example 1

本发明实施例提供了一种自动化检测瓷砖硬度自动化检测装置,参见图1,该检测装置包括:凹槽打磨装置3,清洁装置5,条形光源13,工业相机12,工控计算机15,三个位置传感器(分别用标号2、4、6表示);The embodiment of the present invention provides an automatic detection device for automatic detection of tile hardness. Referring to FIG. 1, the detection device includes: a groove grinding device 3, a cleaning device 5, a bar light source 13, an industrial camera 12, an industrial computer 15, three Position sensor (represented by the labels 2, 4, 6);

其中,砂轮打磨机9安装在传送带8的一侧,工业相机12安装在传送带8另一侧,工控计算机15接收并分析工业相机传感器12的信号;清洁装置5安装至传送带8的中间。The grinding wheel grinder 9 is installed on one side of the conveyor belt 8 , the industrial camera 12 is installed on the other side of the conveyor belt 8 , and the industrial computer 15 receives and analyzes the signals of the industrial camera sensor 12 ; the cleaning device 5 is installed in the middle of the conveyor belt 8 .

优选地,砂轮打磨机9为两个,工业相机12为一个,条形光源13为四个,位置传感器为三个。Preferably, there are two grinding wheel grinders 9, one industrial camera 12, four bar light sources 13, and three position sensors.

具体实现时,用具有最硬强度的金刚石凹槽砂轮打磨机9对瓷砖1进行凹槽打磨,为了获取精度更高的识别结果,对瓷砖1进行两个凹槽的打磨处理。由于瓷砖1经过了打磨产生了一些污点,这些污点难免对后期凹槽的识别产生一定的影响,因此设置了瓷砖清洁装置5。例如:可以利用冲洗水管11与圆盘异形刷10对所打磨后的瓷砖1’进行清洗处理。In specific implementation, the ceramic tile 1 is subjected to groove grinding with a diamond groove grinding wheel grinder 9 having the hardest strength. In order to obtain a recognition result with higher accuracy, two groove grinding treatments are performed on the ceramic tile 1 . Since the tile 1 has some stains after being polished, these stains will inevitably have a certain impact on the identification of the grooves in the later stage, so a tile cleaning device 5 is provided. For example, the polished tiles 1' can be cleaned by using the flushing water pipe 11 and the disc special-shaped brush 10.

具体实现时,考虑到本发明实施例的目的是识别凹槽长度,为了更清楚的凸显出凹槽,使用四个条形光源13分别位于瓷砖1”的四周且与瓷砖1”的相对位置呈垂直放置。During the specific implementation, considering that the purpose of the embodiment of the present invention is to identify the length of the groove, in order to highlight the groove more clearly, four strip light sources 13 are used, which are respectively located around the tile 1" and in a relative position to the tile 1". placed vertically.

具体实现时,由于本发明实施例使用单目相机测量凹槽的长度,为了精确的测量凹槽的长度,需保持工业相机12与瓷砖表面位置固定,考虑到生产线所生产出的瓷砖厚度不同,本发明实施例使用距离传感器14保证工业相机12与瓷砖表面位置固定不变。In specific implementation, since the embodiment of the present invention uses a monocular camera to measure the length of the groove, in order to accurately measure the length of the groove, it is necessary to keep the position of the industrial camera 12 and the surface of the ceramic tile fixed. Considering the different thicknesses of the ceramic tiles produced by the production line, In the embodiment of the present invention, the distance sensor 14 is used to ensure that the position of the industrial camera 12 and the surface of the tile is fixed.

综上所述,本发明实施例使用金刚石材质的开槽片可对任何硬度的瓷砖进行凹槽打磨,并通过工业相机和工控计算机对信息进行分析和计算,实时精确地将瓷砖的硬度进行反应,该装置以及计算过程误差小,检测速度快,而且维护成本低廉。To sum up, in the embodiment of the present invention, the grooved sheet of diamond material can be used for groove grinding on tiles of any hardness, and the information is analyzed and calculated through an industrial camera and an industrial computer, and the hardness of the tiles can be accurately reflected in real time. , the device and the calculation process have small errors, fast detection speed and low maintenance cost.

实施例2Example 2

本发明实施例提供了一种自动化检测瓷砖硬度自动化检测方法,该方法包括以下步骤:The embodiment of the present invention provides an automatic detection method for automatically detecting the hardness of ceramic tiles, and the method includes the following steps:

101:对待检测的瓷砖1进行凹槽的打磨;101: Grinding the grooves of the tile 1 to be detected;

其中,该步骤101包括:设备初始化,使用金刚石材质的开槽片对瓷砖1进行两个凹槽的打磨。Wherein, the step 101 includes: initializing the equipment, and grinding the tile 1 with two grooves by using a grooved sheet made of diamond material.

102:利用清水与圆盘异形刷对所打磨后的瓷砖进行清洗处理;102: Use clean water and a disc special-shaped brush to clean the polished tiles;

103:分别使用四个位置不同的条形光源13对瓷砖凹槽进行光照处理,通过工业相机12和工控计算机获取打磨凹槽后的图像;(如图2所示);103: Use four strip light sources 13 at different positions to perform illumination processing on the tile grooves, and obtain images after grinding the grooves through the industrial camera 12 and the industrial control computer; (as shown in FIG. 2 );

104:根据工业相机12取得的图像,应用图像处理方法,做图像去燥处理;104: According to the image obtained by the industrial camera 12, apply an image processing method to perform image de-drying processing;

其中,该步骤104包括:使用小波降噪的方法对图像进行降噪处理,通过计算信息熵的方式自动的获取最佳阈值;并对所识别的凹槽图像进行规则化、近似化处理获取较为精确的凹槽长度。Wherein, this step 104 includes: using the wavelet noise reduction method to denoise the image, and automatically obtaining the optimal threshold by calculating the information entropy; Precise groove length.

105:使用所设计的长度测量技术,识别瓷砖1的凹槽长度;105: Identify the groove length of tile 1 using the designed length measurement technology;

即,包括:根据所检测凹槽长度判别瓷砖的硬度。That is, it includes: judging the hardness of the tile according to the detected groove length.

106:根据所识别的凹槽长度获取瓷砖的硬度。106: Obtain the hardness of the tile according to the identified groove length.

如图3所示,步骤104包括,通过黑白工业相机12获取打磨后的瓷砖图像,图2为一个条形光源13照射后工业相机12所获取的图像;考虑到在生产线中利用工业相机12所获取的图片具有椒盐噪声的特征,选择db5作为小波函数并将分解层数设置为4层;选取改进的阈值函数进行高频系数的处理:As shown in FIG. 3 , step 104 includes acquiring an image of the polished tile through the black and white industrial camera 12 , and FIG. 2 is an image acquired by the industrial camera 12 after being irradiated by a strip light source 13 ; The obtained image has the characteristics of salt and pepper noise, select db5 as the wavelet function and set the number of decomposition layers to 4 layers; select the improved threshold function to process high-frequency coefficients:

Figure BDA0002024280370000041
Figure BDA0002024280370000041

其中,

Figure BDA0002024280370000042
为处理后的小波系数,wj,k为原始信号,λ为阈值。λ采用不同层次上不同阈值的计算方法:in,
Figure BDA0002024280370000042
is the processed wavelet coefficient, w j, k is the original signal, λ is the threshold. λ adopts the calculation methods of different thresholds at different levels:

Figure BDA0002024280370000051
Figure BDA0002024280370000051

其中,δ2为噪声的方差,N为采样信号的长度,j为分解层数。Among them, δ 2 is the variance of the noise, N is the length of the sampled signal, and j is the number of decomposition layers.

对处理后的高频系数进行逆变换即可获得如图4所示的降噪图。An inverse transformation is performed on the processed high-frequency coefficients to obtain a noise reduction diagram as shown in FIG. 4 .

如图5所示,步骤105包括:针对降噪后的图像,使用二值化阈值的方法对打磨后的凹槽长度进行识别,其中二值化阈值的计算方法为:As shown in FIG. 5 , step 105 includes: for the denoised image, using the method of binarization threshold to identify the length of the polished groove, wherein the calculation method of the binarization threshold is:

(1)计算降噪灰度图中每个灰度值出现的概率:(1) Calculate the probability of each gray value appearing in the denoised grayscale image:

Figure BDA0002024280370000052
Figure BDA0002024280370000052

式中,N和M分别表示图像的长和宽,Gm={0,1,…,(m-1)}表示一幅图片中所出现的灰度值,fi表示每一个灰度值所出现的次数,m为256。In the formula, N and M represent the length and width of the image, respectively, G m = {0,1,...,(m-1)} represents the gray value that appears in a picture, and f i represents each gray value The number of occurrences, m is 256.

(2)对于任意一个灰度值s,通过计算可得到经过标准化的下述两部分:(2) For any gray value s, the following two normalized parts can be obtained by calculation:

Figure BDA0002024280370000053
Figure BDA0002024280370000053

式中,

Figure BDA0002024280370000054
表示从灰度值为0至s所出现的概率和,ps为灰度值s出现的概率,A、B为所计算获得的两部分信息。In the formula,
Figure BDA0002024280370000054
It represents the sum of the probability of occurrence from gray value 0 to s, ps is the probability of occurrence of gray value s , and A and B are the two parts of information obtained by calculation.

(3)对于本研究所涉及的瓷砖图像分割问题,如图2和图4可知,待识别的白色凹槽所出现的区域较小;另外,对于图像分割问题,基本的思想为使得目标和背景的区分达到最大化,因此由s作为阈值分割后A部分和B部分所能提供的整体信息熵为:(3) For the tile image segmentation problem involved in this study, as shown in Figures 2 and 4, the area where the white grooves to be recognized appear is small; in addition, for the image segmentation problem, the basic idea is to make the target and the background The distinction of s is maximized, so the overall information entropy that can be provided by part A and part B after dividing by s as the threshold is:

Figure BDA0002024280370000055
Figure BDA0002024280370000055

式中,CA(s),CB(s)分别为A部分和B部分所能提供的整体信息熵。In the formula, C A (s) and C B (s) are the overall information entropy that can be provided by part A and part B, respectively.

(4)为了将本方法所研究的瓷砖凹槽目标和背景最大化的分开,所选阈值TC(s)为极大化值:(4) In order to maximize the separation of the tile groove target and the background studied by this method, the selected threshold TC(s) is the maximized value:

Figure BDA0002024280370000056
Figure BDA0002024280370000056

其中,TC(s*)为TC(s)中的极大值。Among them, TC(s * ) is the maximum value in TC(s).

如图6所示,根据所计算的阈值可将瓷砖凹槽与背景进行分离:As shown in Figure 6, the tile grooves can be separated from the background according to the calculated threshold:

Figure BDA0002024280370000061
Figure BDA0002024280370000061

由于经过识别后所得到为不规则的形状,因此对所得到的形状进行规则化处理。如图7所示,求取识别得到的不规则图形四个边界点坐标A(xa,ya),B(xb,yb),C(xc,yc),D(xd,yd)。通过四个边界点进行图线的重新绘制可得到规则的一条瓷砖凹痕(图7中白色矩形)。选取

Figure BDA0002024280370000062
Figure BDA0002024280370000063
作为该条瓷砖凹痕l1。Since the obtained shape is an irregular shape after identification, the obtained shape is regularized. As shown in Figure 7, find the coordinates of the four boundary points of the identified irregular figure A(x a , y a ), B(x b , y b ), C(x c , y c ), D(x d , y d ). Redrawing the graph through the four boundary points results in a regular tile dent (white rectangle in Figure 7). select
Figure BDA0002024280370000062
to
Figure BDA0002024280370000063
as the tile indent l 1 .

考虑到待检测瓷砖的厚度不同,为了更方便获取凹槽的实际长度,在工业相机12上安装激光距离传感器14。通过激光距离传感器14不断调整工业相机12至瓷砖1的表面的距离,将工业相机12至瓷砖1的距离固定为d。由于工业相机12存在畸变,为了减少畸变的影响,构建表1进行图像上像素点的位置与实际距离的对应。根据瓷砖1的大小,本发明实施例所使用的工业相机12分辨率为1628×1236,设计10×10的像素对应表,将所检测到的凹槽长度l1转化为真实长度L1。类似的,分别打开其它条形光源13可以获得其余3个凹槽长度L2、L3、L4。求取四个长度的平均值

Figure BDA0002024280370000064
作为瓷砖1硬度的评价值。Considering the different thicknesses of the tiles to be detected, in order to obtain the actual length of the groove more conveniently, a laser distance sensor 14 is installed on the industrial camera 12 . The distance between the industrial camera 12 and the surface of the tile 1 is continuously adjusted by the laser distance sensor 14, and the distance between the industrial camera 12 and the tile 1 is fixed as d. Since the industrial camera 12 has distortion, in order to reduce the influence of the distortion, Table 1 is constructed to perform the correspondence between the position of the pixel point on the image and the actual distance. According to the size of the tile 1 , the resolution of the industrial camera 12 used in the embodiment of the present invention is 1628×1236, and a 10×10 pixel correspondence table is designed to convert the detected groove length l 1 into the real length L 1 . Similarly, the remaining three groove lengths L 2 , L 3 , and L 4 can be obtained by turning on the other bar light sources 13 respectively. Find the average of the four lengths
Figure BDA0002024280370000064
As the evaluation value of the hardness of the tile 1.

表1相机像素点与实际长度对应表Table 1. Correspondence between camera pixel points and actual length

Figure BDA0002024280370000065
Figure BDA0002024280370000065

表2检测得到的凹槽长度L与硬度对应关系表Table 2 Corresponding relationship between groove length L and hardness obtained by testing

Figure BDA0002024280370000066
Figure BDA0002024280370000066

如表2所示,步骤F包括根据凹槽的长度L与硬度对应关系表,将生产线所生产的瓷砖1进行硬度等级的划分。所构建的凹槽长度L与瓷砖硬度对应关系没有一个具体的标准,可以设定标准版,以标准金刚石材质的开槽片对任何硬度的瓷砖进行凹槽打磨获得长度与硬度进行对应。制定出详细标准规范,进行硬度等级的划分。As shown in Table 2, step F includes dividing the hardness level of the tiles 1 produced by the production line according to the correspondence table between the length L of the groove and the hardness. There is no specific standard for the corresponding relationship between the constructed groove length L and the hardness of the tiles. A standard version can be set, and a standard diamond material slotted sheet is used to grind the grooves of tiles of any hardness to obtain a correspondence between the length and the hardness. Develop detailed standard specifications for the division of hardness grades.

综上所述,本发明实施例提供了一种自动化检测瓷砖硬度自动化检测方法,该方法利用工业相机进行尺寸的度量,其度量为像素级别,度量精度可精确至毫米。该方法不仅对抛光砖的硬度进行测量,对釉面砖的硬度也能够进行衡量。To sum up, the embodiments of the present invention provide an automatic detection method for automatic detection of tile hardness. The method uses an industrial camera to measure the size, the measurement is at the pixel level, and the measurement accuracy can be accurate to millimeters. The method not only measures the hardness of polished tiles, but also can measure the hardness of glazed tiles.

本发明实施例对各器件的型号除做特殊说明的以外,其他器件的型号不做限制,只要能完成上述功能的器件均可。In the embodiment of the present invention, the models of each device are not limited unless otherwise specified, as long as the device can perform the above functions.

本领域技术人员可以理解附图只是一个优选实施例的示意图,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of a preferred embodiment, and the above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (3)

1. A method for automatically detecting the hardness of a tile, characterized in that it comprises the following steps:
using four strip light sources at different positions to perform illumination treatment on the ceramic tile groove respectively, and obtaining an image obtained after polishing the groove through an industrial camera and an industrial control computer;
according to an image obtained by an industrial camera, performing noise reduction processing on the image by using wavelet noise reduction, and automatically obtaining an optimal threshold value in a mode of calculating information entropy;
regularization and approximation processing are carried out on the identified groove image, and the regularization and approximation processing specifically comprises the following steps:
obtaining and identifying coordinates A (x) of four boundary points of the irregular figurea,ya),B(xb,yb),C(xc,yc),D(xd,yd) Redrawing the graph line through the four boundary points to obtain a regular tile dent, and selecting
Figure FDA0003140305990000011
To
Figure FDA0003140305990000012
As the length l of the groove of the strip of tiles1
Installing a laser distance sensor on the industrial camera, continuously adjusting the distance from the industrial camera to the surface of the ceramic tile through the laser distance sensor, and fixing the distance from the industrial camera to the ceramic tile as d;
constructing a corresponding relation table of the positions of the pixel points on the image and the actual distances, designing a pixel corresponding table according to the size of the ceramic tile,
the detected length l of the groove1Converted into a true length L1Respectively turning on other strip light sources to obtain the lengths L of the other 3 grooves2、L3、L4Calculating the average of four lengths
Figure FDA0003140305990000013
As an evaluation value of the tile hardness;
according to the corresponding relation table of the length L of the groove and the hardness, the hardness grades of the tiles produced by the production line are divided, the groove of the tiles with any hardness is polished by the grooving sheet made of standard diamond materials to obtain the correspondence between the length and the hardness, and the hardness grades are divided.
2. A method for the automated detection of the hardness of ceramic tiles according to claim 1, characterized in that the devices applied in said method comprise: the device comprises a groove polishing device, a cleaning device, a strip-shaped light source, an industrial camera, an industrial control computer and three position sensors;
the industrial control computer receives and analyzes signals of the industrial camera sensor; the cleaning device is arranged in the middle of the conveyor belt;
polishing two grooves on the ceramic tile by using a diamond groove grinding wheel polisher with the hardest strength, and cleaning the polished ceramic tile by using a ceramic tile cleaning device;
four strip-shaped light sources are respectively positioned on the periphery of the ceramic tile and are vertically arranged relative to the ceramic tile;
and analyzing and calculating the information through an industrial camera and an industrial control computer, and accurately reacting the hardness of the ceramic tile in real time.
3. The method for automatically detecting the hardness of the ceramic tiles as claimed in claim 2,
the industrial camera and the surface position of the ceramic tile are kept fixed, and the industrial camera and the surface position of the ceramic tile are guaranteed to be fixed and unchanged by using the distance sensor.
CN201910288993.XA 2019-04-11 2019-04-11 Device and method for automatically detecting hardness of ceramic tile Active CN110108584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910288993.XA CN110108584B (en) 2019-04-11 2019-04-11 Device and method for automatically detecting hardness of ceramic tile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910288993.XA CN110108584B (en) 2019-04-11 2019-04-11 Device and method for automatically detecting hardness of ceramic tile

Publications (2)

Publication Number Publication Date
CN110108584A CN110108584A (en) 2019-08-09
CN110108584B true CN110108584B (en) 2021-09-17

Family

ID=67483830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910288993.XA Active CN110108584B (en) 2019-04-11 2019-04-11 Device and method for automatically detecting hardness of ceramic tile

Country Status (1)

Country Link
CN (1) CN110108584B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101839832A (en) * 2009-03-19 2010-09-22 鸿富锦精密工业(深圳)有限公司 Vickers hardness test system and method
CN103123313A (en) * 2011-11-17 2013-05-29 株式会社三丰 Hardness tester and hardness test method
CN104075954A (en) * 2013-03-28 2014-10-01 株式会社三丰 Hardness tester and hardness test method
CN105058193A (en) * 2015-09-03 2015-11-18 黄河科技学院 Surface pattern spray printing, drying and edging equipment for building tiles
CN106181672A (en) * 2016-07-26 2016-12-07 江苏铂英特电子科技有限公司 A kind of automatically grinding equipment
CN106553107A (en) * 2017-01-05 2017-04-05 南通沃特光电科技有限公司 A kind of polishing milling machine and its finishing method
CN206492728U (en) * 2016-10-25 2017-09-15 青岛海智检测科技有限公司 Ceramic tile surface detection device
CN108296899A (en) * 2018-04-12 2018-07-20 闻斌壹 A kind of mechanical processing sheet metal polishing cleaning device
CN208485800U (en) * 2018-05-10 2019-02-12 佛山市南海区博昌业玻璃制品有限公司 A kind of glass-cutting edging cleaning integrated equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101839832A (en) * 2009-03-19 2010-09-22 鸿富锦精密工业(深圳)有限公司 Vickers hardness test system and method
CN103123313A (en) * 2011-11-17 2013-05-29 株式会社三丰 Hardness tester and hardness test method
CN104075954A (en) * 2013-03-28 2014-10-01 株式会社三丰 Hardness tester and hardness test method
CN105058193A (en) * 2015-09-03 2015-11-18 黄河科技学院 Surface pattern spray printing, drying and edging equipment for building tiles
CN106181672A (en) * 2016-07-26 2016-12-07 江苏铂英特电子科技有限公司 A kind of automatically grinding equipment
CN206492728U (en) * 2016-10-25 2017-09-15 青岛海智检测科技有限公司 Ceramic tile surface detection device
CN106553107A (en) * 2017-01-05 2017-04-05 南通沃特光电科技有限公司 A kind of polishing milling machine and its finishing method
CN108296899A (en) * 2018-04-12 2018-07-20 闻斌壹 A kind of mechanical processing sheet metal polishing cleaning device
CN208485800U (en) * 2018-05-10 2019-02-12 佛山市南海区博昌业玻璃制品有限公司 A kind of glass-cutting edging cleaning integrated equipment

Also Published As

Publication number Publication date
CN110108584A (en) 2019-08-09

Similar Documents

Publication Publication Date Title
US6983065B1 (en) Method for extracting features from an image using oriented filters
CN109490316B (en) Surface defect detection algorithm based on machine vision
CN105783723B (en) Precision die surface processing accuracy detection device and method based on machine vision
US20130304399A1 (en) Systems and methods for wafer surface feature detection, classification and quantification with wafer geometry metrology tools
CN106248686A (en) Glass surface defects based on machine vision detection device and method
CN117115153A (en) Intelligent detection method of printed circuit board quality based on visual assistance
CN119880946B (en) A method and system for detecting surface defects of optical lens based on image processing
CN118882520B (en) A three-dimensional detection device and method for surface defects of large-aperture curved optical elements
WO2010061779A1 (en) Device for measuring trolley wire wear and deviation by image processing
CN109961432A (en) A kind of detection method and system for filter cloth damage
CN115272256A (en) Sub-pixel level sensing optical fiber path Gaussian extraction method and system
CN114998343A (en) Vision-based detection method of mold surface polishing degree
CN110618140A (en) Machine vision detection system and method for bearing ring grinding vibration lines
CN119205644A (en) A method for defect detection of optical processed parts based on image technology
CN109270076B (en) Intelligent counting method and device for state test of plane glass fragments
CN114485433B (en) Three-dimensional measurement system, method and device based on pseudo-random speckle
CN109785290B (en) Steel plate defect detection method based on local illumination normalization
CN110108584B (en) Device and method for automatically detecting hardness of ceramic tile
JP2002535668A (en) How to determine the light receiving surface
CN120125589A (en) Electronic component surface quality inspection method and system based on machine vision
CN113989190A (en) Stone slab dimension machine vision measurement method applied to fixed-thickness equipment
KR20220154345A (en) Contour detection device using gaussian-weighted least squares and contour detection method thereof
CN116519640B (en) Method for measuring surface glossiness of silica gel key based on machine vision system
JP5391172B2 (en) Foreign object inspection apparatus and alignment adjustment method
CN117871530A (en) Surface detection method, system, device, computer equipment and storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20240315

Address after: 4-1-101, Ligangyuan, Shuanggang Industrial Zone, Shuanggang Town, Jinnan District, Tianjin City

Patentee after: CONTROL (TIANJIN) INDUSTRIAL AUTOMATION TECHNOLOGY CO.,LTD.

Country or region after: China

Address before: 300072 Tianjin City, Nankai District Wei Jin Road No. 92

Patentee before: Tianjin University

Country or region before: China

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 4-1-101, Ligangyuan, Shuanggang Industrial Zone, Shuanggang Town, Jinnan District, Tianjin City

Patentee after: Kento Intelligent Equipment (Tianjin) Group Co.,Ltd.

Country or region after: China

Address before: 4-1-101, Ligangyuan, Shuanggang Industrial Zone, Shuanggang Town, Jinnan District, Tianjin City

Patentee before: CONTROL (TIANJIN) INDUSTRIAL AUTOMATION TECHNOLOGY CO.,LTD.

Country or region before: China

CP03 Change of name, title or address