Visual inspection method and system for processing quality of refractory material

By analyzing the connected domains and edge features in the refractory material image and calculating the ruggedness index, the detection error problem caused by the adhesion of aggregate particles is solved and more accurate particle size detection is achieved.

CN118674718AActive Publication Date: 2024-09-20DASHIQIAO ZHONGNING METALLURGY & MINING CO LTD

Patent Information

Application Number
CN202411155165.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-09-20
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

In the particle size detection of refractory materials, since the aggregate particles may stick together or the edges are unclear, the detection error increases and affects the accuracy of quality detection.

Method used

By obtaining the connected domain in the refractory material image, analyzing the grayscale distribution and neighborhood discrimination, combining edge features and texture features, calculating the ruggedness index, judging whether the edge is an aggregate profile, and performing quality inspection based on the distribution of the aggregate profile .

Benefits of technology

It improves the accuracy of particle size detection of refractory materials, can separate adhered aggregate particles more accurately, reduces errors, and improves the reliability of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674718A
    Figure CN118674718A
Patent Text Reader

Abstract

The invention relates to the technical field of image processing, in particular to a refractory material processing quality visual detection method and system, and the method comprises the steps: obtaining a refractory material image and all connected domains in the image; obtaining a suspected aggregate region based on gray value distribution difference characteristics of each connected domain of the refractory material image and connected domains in a local range of the connected domain; according to the contour feature of each edge of the suspected aggregate region and the gradient magnitude local distribution feature of the pixel points on the edge, and in combination with the texture feature of the suspected aggregate region, obtaining a rugged degree index of each edge, and obtaining an aggregate contour; and obtaining the average particle size of the refractory material image according to the distribution of pixel points in the aggregate contour in the refractory material image, and carrying out quality detection on the refractory material. The invention aims to accurately identify the aggregate edge in the refractory material and improve the accuracy of the detection result of the granularity of the refractory material.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a method and system for visually inspecting the processing quality of refractory materials. Background Art

[0002] Refractory aggregate plays a key role in refractory materials, mainly used to provide strength and performance support for refractory products. These particles are obtained by calcination, crushing or artificial synthesis, and are the main components of amorphous refractory materials, usually accounting for 60% to 75% of the total weight of the entire refractory material. The density, particle size, chemical composition, water absorption and other parameters of refractory aggregate directly affect the overall performance of refractory materials.

[0003] When testing the particle size of refractory aggregates, particle image analysis is usually used to test the particle size through image processing technology. In the image, some particles may be stuck together or have unclear edges, which may result in the inability to accurately identify the edges of aggregate particles during the actual testing process, thereby increasing the error in the refractory aggregate particle size testing and affecting the accuracy of the quality test results. Summary of the invention

[0004] In view of the above, it is necessary to provide a method and system for visual inspection of refractory processing quality to solve the above problems.

[0005] The first aspect of the present application provides a method for visually inspecting the processing quality of a refractory material, the method comprising: Obtain a refractory material image and all connected domains in the image; According to the grayscale distribution of the pixels in the connected domain of the refractory material image, the grayscale approximate value of each connected domain is obtained; based on the distance between the connected domains, the surrounding connected domains of each connected domain are obtained; according to the grayscale distribution of each connected domain and its surrounding connected domains, the neighborhood discrimination of each connected domain is obtained in combination with the grayscale approximate value; the connected domains are classified based on the neighborhood discrimination to obtain the suspected aggregate area; According to the contour features on each edge of each suspected aggregate area and the local distribution features of the gradient amplitude of the pixel points on the edge, combined with the texture features of the suspected aggregate area, a ruggedness index of each edge is obtained; based on the ruggedness index, whether the edge is an aggregate contour is determined; The average particle size of the refractory material image is obtained according to the distribution of all aggregate contours of the refractory material image and the distribution of pixel points in the aggregate contour; the quality of the refractory material is inspected in combination with the mapping relationship between the average particle size and the actual diameter of the aggregate.

[0006] The surrounding connected domains of each connected domain are specifically connected domains that are closest to each connected domain in a preset direction.

[0007] The neighborhood discrimination of each connected domain is obtained as follows: Obtain the average level and minimum value of the grayscale approximation values ​​of all surrounding connected domains of any connected domain; fuse the difference between any connected domain and the minimum value with the average level to obtain the numerator of the neighborhood discrimination of any connected domain; obtain the probability distribution of the grayscale values ​​of all surrounding connected domains, and obtain the denominator of the neighborhood discrimination of any connected domain based on the similarity of the probability distribution between all surrounding connected domains of any connected domain.

[0008] The suspected aggregate area is specifically: The neighborhood discrimination of all connected domains is threshold segmented to obtain the segmentation threshold, and the connected domains whose neighborhood discrimination is less than or equal to the segmentation threshold are regarded as suspected aggregate areas.

[0009] The process of obtaining the roughness index of each edge includes: According to the gradient amplitude distribution characteristics of the local range of any edge pixel point, combined with the Fourier descriptor of the edge where any edge pixel point is located, the angular probability of any edge pixel point is obtained; The sum of the off-diagonal elements and the sum of the diagonal elements of the gray level co-occurrence matrix of each suspected aggregate region are calculated, which are recorded as the first sum and the second sum, respectively. The angularity probability of all edge pixels on any edge of each suspected aggregate region, the inverse proportional mapping results of the first sum and the second sum are merged to obtain the ruggedness index of any edge of each suspected aggregate region.

[0010] The step of obtaining the corner probability of any edge pixel point is as follows: For each suspected aggregate area, calculate the average level of the gradient amplitudes of all the neighborhood pixels of any edge pixel point, and record it as the first mean value of any edge pixel point; obtain the minimum value of the first mean value of all the neighborhood pixels of any edge pixel point; based on the difference between the first mean value and the minimum value of any edge pixel point, combined with the average level of the similarity between the Fourier descriptors of the edge where any edge pixel point is located, obtain the angular probability of any edge pixel point in each suspected aggregate area.

[0011] The specific steps of determining whether the edge is an aggregate contour are as follows: Threshold segmentation is performed on all the ruggedness indexes of each suspected aggregate area to obtain a ruggedness threshold. If the ruggedness index is less than or equal to the ruggedness threshold, the corresponding edge is an aggregate contour; otherwise, the edge is not an aggregate contour.

[0012] The average particle size of the refractory material image is specifically the ratio of the number of pixel points in all aggregate contours to the number of aggregate contours in the refractory material image.

[0013] Wherein, the quality inspection of refractory materials includes: Obtaining a mapping relationship between the average particle size and the actual diameter of the aggregate according to historical data; obtaining an average diameter of the aggregate in the refractory material image according to the average particle size of the refractory material image and the mapping relationship; If the average diameter is within the preset diameter range, the refractory material quality is qualified; otherwise, the refractory material quality is unqualified.

[0014] In a second aspect, an embodiment of the present application further provides a visual inspection system for refractory material processing quality, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above-mentioned methods when executing the computer program.

[0015] In the above scheme, since there may be a phenomenon of aggregate particles sticking together in the acquired refractory material image, the edges of the aggregate particles are not clear enough. In actual detection, two or even more aggregate particles are easily treated as one particle. Therefore, a connected domain is obtained, and the grayscale distribution characteristics in the connected domain are analyzed. According to the difference between the connected domains and the spatial distribution characteristics, a ruggedness index is constructed to obtain a suspected aggregate area. The beneficial effect is that according to the grayscale difference characteristics between the voids and the aggregate particles, the interference of the void area is eliminated, and an analysis basis is provided for the subsequent judgment of the aggregate contour. According to the contour characteristics of the edge in the suspected aggregate area and the gradient amplitude distribution characteristics of the edge pixels, combined with the texture characteristics, the aggregate contour is obtained. The beneficial effect is that the aggregate edge is further screened, two or more particles in an aggregate area are separated, and a more accurate aggregate contour is obtained. Finally, according to the mapping relationship between the number of pixels occupied by all aggregates and the number of aggregates, a more accurate average particle size of the refractory image is obtained, thereby improving the accuracy of the refractory quality detection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A flowchart of a method for visually inspecting the processing quality of refractory materials provided in one embodiment of the present application; Figure 2 A flowchart for obtaining a suspected aggregate area provided in one embodiment of the present application; Figure 3 A flow chart for obtaining aggregate profile provided for one embodiment of the present application. DETAILED DESCRIPTION

[0017] In the description of the embodiments of the present application, words such as "exemplary", "or", "for example" and the like are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "or", "for example" and the like is intended to present related concepts in a concrete manner.

[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the present application. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.

[0019] It should also be noted that the terms "first" and "second" in this application and the accompanying drawings are used to distinguish similar objects, rather than to describe a specific order or sequence. The method disclosed in the embodiments of the present application or the method shown in the flow chart includes one or more steps for implementing the method. Without departing from the scope of protection of the present application, the execution order of multiple steps can be interchanged with each other, and some steps can also be deleted.

[0020] Unless defined otherwise, 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 application belongs.

[0021] The specific scheme of a method and system for visual inspection of refractory material processing quality provided by the present application is described in detail below with reference to the accompanying drawings.

[0022] See also Figure 1 , which shows a flowchart of a method for visually inspecting the processing quality of refractory materials provided by an embodiment of the present application, the method comprising the following steps: The first step is to obtain the refractory material image and all connected domains in the image.

[0023] Refractory aggregates can be divided into clay, high-alumina, corundum, silica, magnesia, magnesia-alumina spinel, etc. according to their materials. The present application aims to detect the particle size of a high-alumina aggregate. When collecting images, since the size of the image occupied by each aggregate particle in the image will change with the distance between the camera and the refractory material, the present embodiment fixes the position of the industrial camera to collect images of the refractory material, converts the image into a grayscale image, uses median filtering to denoise the image, uses adaptive histogram equalization to enhance the contrast of the obtained image, and records the final image as a refractory material image. Among them, median filtering technology and adaptive histogram equalization are well-known technologies, and the specific process will not be repeated; implementers can choose appropriate methods to process the image.

[0024] As an embodiment, the Sobel operator is used to calculate the gradient amplitude and direction of each pixel in the refractory material image; non-maximum suppression (NMS) is used to eliminate the stray response caused by edge detection according to the size of the gradient amplitude, and the edge pixel points are determined; the edge pixel points obtained here are screened by a double threshold analysis method to obtain the edge pixel points of the refractory material image. Among them, the Sobel operator, non-maximum suppression, and double threshold analysis are all existing well-known technologies, and this embodiment will not elaborate on them.

[0025] Furthermore, the edge pixels obtained are further processed by an edge tracking algorithm to form a continuous and meaningful edge contour to obtain the edge of the refractory material image; and all connected domains of the refractory material image are obtained by using a connected domain analysis according to the edge of the refractory material image. Among them, the edge tracking algorithm and the connected domain analysis method are well-known technologies, and the specific process will not be repeated.

[0026] It should be noted that the implementer may choose other existing publicly known technologies to obtain the edges, edge pixels and connected domains in the image, and this application does not impose any restrictions on this.

[0027] The second step: according to the grayscale distribution of pixel points in the connected domain of the refractory material image, the grayscale approximation of each connected domain is obtained; based on the distance between the connected domains, the surrounding connected domains of each connected domain are obtained; according to the grayscale distribution of each connected domain and its surrounding connected domains, the neighborhood discrimination of each connected domain is obtained in combination with the grayscale approximation; the connected domains are classified based on the neighborhood discrimination to obtain the suspected aggregate area.

[0028] In actual production, various specifications of aggregates will be produced according to customer requirements. According to the particle size of high-alumina aggregate, it can be divided into six grades, namely 0.088-1mm, 1-3mm, 3-5mm, 5-8mm, 8-10mm, and 10-15mm. When testing the particle size index of high-alumina aggregate, it is necessary to determine which particle size grade the aggregate to be tested belongs to.

[0029] In the refractory material image, most of the aggregate areas appear light gray or even white, and their grayscale values ​​are relatively large; there are dark gaps between adjacent aggregate areas, and the grayscale values ​​of these gaps are relatively small. In the obtained connected domain, both aggregate areas and gap areas are included, so the gap areas need to be removed. For the grayscale image of high-alumina refractory aggregate, the color of the aggregate is lighter, and the corresponding grayscale value is larger, while the color of the gap is darker, and the corresponding grayscale value is smaller. Based on this, according to the grayscale distribution of the pixels in the connected domain of the refractory material image, the grayscale approximation of each connected domain is obtained.

[0030] As an embodiment, the average value of the grayscale values ​​of all pixels in each connected domain is used as the grayscale approximation value of each connected domain; in other embodiments, the average value may be replaced by the mode.

[0031] The gap region is formed by stacking two or more aggregates. Therefore, if a connected domain is a gap region, then the connected domains adjacent to it must all belong to aggregate regions; and the connected domains adjacent to the aggregate region are mostly aggregate regions, and there may also be one or more gaps. Based on this, the neighborhood discrimination of each connected domain is obtained according to the difference characteristics of the grayscale approximation between each connected domain and the adjacent connected domain.

[0032] For any connected domain, the connected domain closest to the connected domain in a preset direction is used as the surrounding connected domain of the connected domain; Obtain the average level and minimum value of the grayscale approximation values ​​of all surrounding connected domains of any connected domain; fuse the difference between any connected domain and the minimum value with the average level to obtain the numerator of the neighborhood discrimination of any connected domain; obtain the probability distribution of the grayscale values ​​of all surrounding connected domains, and obtain the denominator of the neighborhood discrimination of any connected domain based on the similarity of the probability distribution between all surrounding connected domains of any connected domain.

[0033] As an embodiment, for the i-th connected domain, the connected domains with the smallest Euclidean distance of the center point of each connected domain in the eight neighborhood directions are respectively used as the surrounding connected domains of each connected domain; the formula form of the neighborhood discrimination of the i-th connected domain is: ,in, is the neighborhood discrimination of the i-th connected domain, is the grayscale approximation of the i-th connected domain, , are the minimum and mean of the grayscale approximations of all surrounding connected domains of the i-th connected domain, respectively; is the maximum value of the Bhattacharyya distance between the gray value probability distributions of all the surrounding connected domains of the i-th connected domain. The calculation of the Bhattacharyya distance is a well-known technique, and the specific process will not be repeated here. To preset an adjustment parameter greater than zero to prevent the denominator from being 0, the value is 0.01.

[0034] It should be noted that the mean of the grayscale approximation is used to evaluate the grayscale values ​​in all surrounding connected domains of the i-th connected domain. The larger the mean, the more likely the surrounding connected domains are aggregate regions; the smaller the mean, the more likely the surrounding connected domains are gap regions, and the i-th connected domain itself is less likely to be a gap region.

[0035] Furthermore, The greater the grayscale difference between the i-th connected domain and its surrounding connected domains, the greater the possibility that the connected domain is a gap area; at the same time, if The smaller the value of , the more likely the i-th connected domain is a gap area surrounded by multiple particles with high similarity, so the neighborhood distinction of the connected domain is greater.

[0036] The neighborhood discrimination of all connected domains is threshold segmented to obtain the segmentation threshold. The connected domains with neighborhood discrimination less than or equal to the segmentation threshold are regarded as suspected aggregate regions; otherwise, they are regarded as void regions. Subsequent analysis is performed based on the suspected aggregate regions.

[0037] Among them, the acquisition flow chart of the suspected aggregate area is as follows: Figure 2 shown.

[0038] The third step: according to the contour features on each edge of each suspected aggregate area and the local distribution characteristics of the gradient amplitude of the pixel points on the edge, combined with the texture features of the suspected aggregate area, the ruggedness index of each edge is obtained; based on the ruggedness index, whether the edge is an aggregate contour is determined.

[0039] For any suspected aggregate area, further detect the edge of each suspected aggregate area, and determine whether the detected edge belongs to the edge of the aggregate or the corner of the aggregate. If the edge pixel a belongs to the corner area formed by the intersection of multiple aggregate surfaces, then the edge line where the edge pixel a is located is a different edge line of multiple surfaces, and multiple edge lines have more obvious texture changes in different directions; if the edge pixel a belongs to a pixel on the edge suppressed by non-maximum value, then the edge pixel a will only have a more significant grayscale change on the edge line where it is located.

[0040] According to the gradient amplitude distribution characteristics of the local range of any edge pixel point, combined with the Fourier descriptor of the edge where any edge pixel point is located, the angular probability of any edge pixel point is obtained: For each suspected aggregate area, calculate the average level of the gradient amplitudes of all the neighborhood pixels of any edge pixel point, and record it as the first mean value of any edge pixel point; obtain the minimum value of the first mean value of all the neighborhood pixels of any edge pixel point; based on the difference between the first mean value and the minimum value of any edge pixel point, combined with the average level of the similarity between the Fourier descriptors of the edge where any edge pixel point is located, obtain the angular probability of any edge pixel point in each suspected aggregate area.

[0041] As an embodiment, the Fourier descriptor of each suspected aggregate region is obtained respectively, and the gray level co-occurrence matrix of each suspected aggregate region is obtained. If there are multiple aggregate particles in the suspected aggregate region, the corresponding gray level co-occurrence matrix has a smaller value on the diagonal and a larger value on both sides of the diagonal; if there is an edge suppressed by the maximum value in the suspected aggregate region, the texture of the suppressed edge is less significant, the value on the diagonal of the gray level co-occurrence matrix is ​​larger, and the overall texture changes slowly. Among them, the Fourier descriptor and the gray level co-occurrence matrix are both well-known technologies, and the specific process will not be repeated.

[0042] Furthermore, the average level of a set of data is usually measured by the average value. In this embodiment, the first mean of the edge pixel refers to the average value of the gradient amplitude of all the neighboring pixels of the edge pixel; the difference between the variables is measured in the form of variable subtraction, and the similarity between the two sets of data can be characterized by the Pearson correlation coefficient. In this embodiment, the difference between the first mean and the minimum value of the edge pixel is calculated, the Pearson correlation coefficient between the Fourier descriptors of the edge where the edge pixel is located is calculated, and then the average value is calculated; the ratio of the difference to the average value is calculated to obtain the angular probability of the edge pixel. The formula is: , is the corner probability of the a-th edge pixel, is the first mean value of the ath edge pixel, is the minimum value of the first mean of all eight neighboring pixels of the a-th edge pixel, It is the mean of the Pearson correlation coefficients between the Fourier descriptors of the edge line where the a-th edge pixel is located.

[0043] In other embodiments, the reciprocal of the DTW distance may be used to measure the similarity between two sets of data, that is, the formula for the corner probability of the ath edge pixel point is: ,in, It is the mean of the DTW distances between the Fourier descriptors of the edge line where the a-th edge pixel is located.

[0044] It should be noted that there is at least one edge where the a-th edge pixel is located, and one edge is usually described by multiple Fourier descriptors.

[0045] It should be understood that if the edge pixel has more directions with large gradient changes, the gradient amplitude in different directions is larger, the first mean value of the edge pixel is larger; the greater the difference in texture significance of the edge line where the edge pixel is located, the smaller the similarity between the Fourier descriptors of the edge line where the a-th edge pixel is located, The smaller the value of The larger the value of , the lower the probability that the ath edge pixel is located on the suppressed edge line, and the higher the probability that it belongs to the angular area formed by the intersection of multiple surfaces; According to the gray level co-occurrence matrix of each suspected aggregate area, combined with the angular probability of all edge pixels on each edge, the ruggedness index of each edge is obtained: The sum of the off-diagonal elements and the sum of the diagonal elements of the gray level co-occurrence matrix of each suspected aggregate region are calculated, which are recorded as the first sum and the second sum, respectively. The angularity probability of all edge pixels on any edge of each suspected aggregate region, the inverse proportional mapping results of the first sum and the second sum are merged to obtain the ruggedness index of any edge of each suspected aggregate region.

[0046] As an example, the formula for the ruggedness index of the rth edge of the kth suspected aggregate region is: , is the ruggedness index of the rth edge of the kth suspected aggregate region, , are the first and second sums of the gray level co-occurrence matrix of the k-th suspected aggregate region, and R is the cumulative sum of the edge probabilities of all edge pixels on the r-th edge.

[0047] It should be understood that the more complex the overall texture changes in the kth suspected aggregate region, The larger the value, The smaller the value of is, the more likely it is that there are angular regions formed by multiple surfaces in the kth suspected aggregate region. The larger the value of The larger the value of , the lower the probability that the edge pixel on the rth edge belongs to the edge suppressed by the maximum value, and the more edge pixels on the rth edge are located in the angular area. The larger the value of , the more rugged the rth edge is.

[0048] As an embodiment, the ruggedness index of each edge detected in the suspected aggregate area is counted, and these ruggedness indices are used as inputs of the Otsu threshold algorithm to obtain the ruggedness threshold, and the edges with a ruggedness index greater than the ruggedness threshold are used as angular contours; the edges with a ruggedness index less than or equal to the ruggedness threshold are used as aggregate contours. Among them, the Otsu threshold algorithm is an existing well-known technology, and the implementer may also choose other threshold segmentation methods, which are not limited in this application.

[0049] It should be understood that, based on the obtained aggregate contour, two or more aggregates that were originally stuck together can be separated to obtain a more accurate aggregate area, and then analysis can be performed based on the aggregate contour.

[0050] Among them, the flow chart of obtaining aggregate profile is as follows: Figure 3shown.

[0051] The fourth step: according to the distribution of all aggregate contours in the refractory material image and the distribution of pixel points in the aggregate contour, the average particle size of the refractory material image is obtained; and the quality of the refractory material is inspected in combination with the mapping relationship between the average particle size and the actual diameter of the aggregate.

[0052] For aggregate images of different particle size levels, the larger the area occupied by each aggregate particle, the fewer particles are contained in the image; the smaller the area occupied by each aggregate particle, the more particles are contained in the image. Therefore, the area of ​​the aggregate particles and the number of aggregates will affect the final particle size level judgment. Aggregates of different particle sizes will appear in the same aggregate image, and the size and shape of each aggregate are different. Based on this, the average particle size is constructed: the ratio of the number of pixels in all aggregate contours to the number of aggregate contours in the refractory image is taken as the average particle size of the refractory image.

[0053] It should be understood that when there are more pixels in the aggregate contour, it means that the aggregate occupies a larger area and thus has a larger particle size.

[0054] After collecting data experimentally, n images with known average diameter d are obtained. L is obtained for each image according to the above process. Each image has an L and d, and a total of n groups are obtained. , and the data is fitted to obtain the mapping function between the average particle size L and the average diameter d: Among them, the iterative least square method is a well-known technology, and the specific process will not be repeated here.

[0055] The average diameter is used to determine whether the aggregate meets the industry standard. Generally, when the diameter of high-aluminum aggregate belongs to the six levels of 0.088-1mm, 1-3mm, 3-5mm, 5-8mm, 8-10mm, and 10-15mm, it is judged as qualified; when the diameter of high-aluminum aggregate is less than 0.088mm or greater than 15mm, it is judged as unqualified.

[0056] Based on the same inventive concept as the above method, an embodiment of the present application also provides a visual inspection system for refractory material processing quality, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above-mentioned methods for visual inspection of refractory material processing quality when executing the computer program.

[0057] In summary, in the embodiment of the present application, since there may be a phenomenon of aggregate particles sticking together in the acquired refractory material image, the edges of the aggregate particles are not clear enough. In actual detection, it is easy to treat two or even more aggregate particles as one particle. Therefore, a connected domain is obtained, and the grayscale distribution characteristics in the connected domain are analyzed. According to the difference between the connected domains and the spatial distribution characteristics, a suspected aggregate area is obtained. The beneficial effect is that according to the grayscale difference characteristics between the voids and the aggregate particles, the interference of the void area is eliminated, and an analysis basis is provided for the subsequent judgment of the aggregate contour. According to the contour characteristics of the edge in the suspected aggregate area and the gradient amplitude distribution characteristics of the edge pixels, combined with the texture characteristics, the aggregate contour is obtained. The beneficial effect is that the aggregate edge is further screened, two or more particles in an aggregate area are separated, and a more accurate aggregate contour is obtained. Finally, according to the mapping relationship between the number of pixels occupied by all aggregates and the number of aggregates, the particle size level of the aggregate image is judged, a more accurate particle size level is obtained, and the accuracy of particle size detection is improved.

[0058] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two continuous operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

[0059] For those skilled in the art, it is obvious that the present application is not limited to the details of the above exemplary embodiments, and the present application can be implemented in other specific forms without departing from the basic features of the present application. Therefore, no matter from which point of view, the above embodiments of the present application should be regarded as exemplary and non-restrictive; the technical solutions recorded in the above embodiments are modified, or some of the technical features are replaced by equivalents, which does not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A method for visual inspection of refractory material processing quality, characterized in that: The method comprises the following steps: Obtain a refractory material image and all connected domains in the image; According to the grayscale distribution of the pixels in the connected domain of the refractory material image, the grayscale approximate value of each connected domain is obtained; based on the distance between the connected domains, the surrounding connected domains of each connected domain are obtained; according to the grayscale distribution of each connected domain and its surrounding connected domains, the neighborhood discrimination of each connected domain is obtained in combination with the grayscale approximate value; the connected domains are classified based on the neighborhood discrimination to obtain the suspected aggregate area; According to the contour features on each edge of each suspected aggregate area and the local distribution features of the gradient amplitude of the pixel points on the edge, combined with the texture features of the suspected aggregate area, a ruggedness index of each edge is obtained; based on the ruggedness index, whether the edge is an aggregate contour is determined; The average particle size of the refractory material image is obtained according to the distribution of all aggregate contours of the refractory material image and the distribution of pixel points in the aggregate contour; the quality of the refractory material is inspected in combination with the mapping relationship between the average particle size and the actual diameter of the aggregate.

2. A method for visual inspection of refractory material processing quality according to claim 1, characterized in that: The surrounding connected domains of each connected domain are specifically connected domains that are closest to each connected domain in a preset direction.

3. A visual inspection method for refractory material processing quality according to claim 1, characterized in that: The neighborhood discrimination of each connected domain is obtained as follows: Obtain the average level and minimum value of the grayscale approximation values ​​of all surrounding connected domains of any connected domain; fuse the difference between any connected domain and the minimum value with the average level to obtain the numerator of the neighborhood discrimination of any connected domain; obtain the probability distribution of the grayscale values ​​of all surrounding connected domains, and obtain the denominator of the neighborhood discrimination of any connected domain based on the similarity of the probability distribution between all surrounding connected domains of any connected domain.

4. A method for visual inspection of refractory material processing quality according to claim 1, characterized in that: The suspected aggregate area is specifically: The neighborhood discrimination of all connected domains is threshold segmented to obtain the segmentation threshold, and the connected domains whose neighborhood discrimination is less than or equal to the segmentation threshold are regarded as suspected aggregate areas.

5. A method for visual inspection of refractory material processing quality according to claim 1, characterized in that: The process of obtaining the ruggedness index of each edge includes: According to the gradient amplitude distribution characteristics of the local range of any edge pixel point, combined with the Fourier descriptor of the edge where any edge pixel point is located, the angular probability of any edge pixel point is obtained; The sum of the off-diagonal elements and the sum of the diagonal elements of the gray level co-occurrence matrix of each suspected aggregate region are calculated, which are recorded as the first sum and the second sum, respectively. The angularity probability of all edge pixels on any edge of each suspected aggregate region, the inverse proportional mapping results of the first sum and the second sum are merged to obtain the ruggedness index of any edge of each suspected aggregate region.

6. A method for visual inspection of refractory material processing quality according to claim 5, characterized in that: The steps for obtaining the corner probability of any edge pixel point are as follows: For each suspected aggregate area, the average level of the gradient amplitudes of all neighboring pixel points of any edge pixel point is calculated, and recorded as the first average value of the any edge pixel point; the minimum value of the first average value of all neighboring pixel points of the any edge pixel point is obtained; According to the difference between the first mean and the minimum value of any edge pixel point, combined with the average level of similarity between Fourier descriptors of the edge where any edge pixel point is located, the angular probability of any edge pixel point in each suspected aggregate area is obtained.

7. A method for visually inspecting refractory material processing quality according to claim 1, characterized in that: The specific steps of determining whether the edge is an aggregate contour are: Threshold segmentation is performed on all the ruggedness indexes of each suspected aggregate area to obtain a ruggedness threshold. If the ruggedness index is less than or equal to the ruggedness threshold, the corresponding edge is an aggregate contour; otherwise, the edge is not an aggregate contour.

8. A visual inspection method for refractory material processing quality according to claim 1, characterized in that: The average particle size of the refractory material image is specifically the ratio of the number of pixel points in all aggregate contours to the number of aggregate contours in the refractory material image.

9. A method for visually inspecting refractory material processing quality according to claim 1, characterized in that: The quality inspection of refractory materials includes: Obtaining a mapping relationship between the average particle size and the actual diameter of the aggregate according to historical data; obtaining an average diameter of the aggregate in the refractory material image according to the average particle size of the refractory material image and the mapping relationship; If the average diameter is within the preset diameter range, the refractory material quality is qualified; otherwise, the refractory material quality is unqualified.

10. A visual inspection system for refractory material processing quality, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Ore granularity detection method

    CN115272319A

  • Visual image enhancement processing method for construction waste

    CN116029941A

  • Refractory brick surface defect detection method based on image feature analysis

    CN118261912A

  • Liver cancer pathology image enhancement method based on artificial intelligence

    CN118297812A

  • Quality detection method for porous metal material

    US12025552B1

Cited By

  • Preparation method of catalyst applied to cyanide cracking

    CN119158561A

  • Assembly quality inspection method, device and system applied to safety piece protection box

    CN119273680A

  • Refractory material quality detection method and system based on machine learning

    CN120782712A

  • Particle granularity detection method and system based on image processing

    CN121213549A