A method for image recognition of crushing and separation of steel-concrete structural components

The edge detection, Bayesian online change point detection algorithm, and DBSCAN clustering algorithm are used to identify the broken areas of steel concrete structural members, which solves the problem of indistinguishability between concrete cracks and steel bar edge lines, and achieves efficient crushing and separation of steel concrete structural members.

CN118470541BActive Publication Date: 2024-09-10MAOMAO (NANTONG) INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410917595.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-09-10
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

Existing image recognition technology is difficult to effectively distinguish concrete cracks and steel edge lines during the crushing and separation process of steel concrete structural components, resulting in insufficient crushing and separation, requiring hydraulic drills to crush and separate again, and the traditional algorithm has concrete problems when identifying the concrete crushing area. The problem of indistinguishability between edges and steel bars.

Method used

The edge detection algorithm and breadth-first search algorithm are used to obtain edge lines. The Bayesian online change point detection algorithm and DBSCAN clustering algorithm are combined to obtain the curvature characteristics and steel bar exposure index of the edge lines. The neural network is used to identify areas to be broken to avoid concrete cracks. and misidentification of edge lines of steel bars.

Benefits of technology

It achieves precise distinction between concrete cracks and steel bar edge lines, improves the adequacy of crushing and separation of steel concrete structural components, avoids unnecessary crushing of concrete by hydraulic drill bits, and improves the accuracy and efficiency of crushing and separation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470541B
    Figure CN118470541B
Patent Text Reader

Abstract

The present invention relates to the field of image recognition technology, and in particular to a steel-concrete structural component crushing and separation image recognition method, the method comprising: collecting concrete crushing and separation images; obtaining edge line curvature sequences, constructing edge deflection angle sequences and deflection information entropy; constructing curvature mutation probability sequences, obtaining curvature mutation points; constructing curvature mutation sequence numbers, obtaining curvature smoothing factors; obtaining curvature mutation density factors; obtaining edge straightness of each edge line; obtaining the average deflection of each edge line, and then obtaining edge straight line vectors, and obtaining homogeneous clusters of each edge; calculating edge vector representative strength, and then obtaining representative edge data points; and then obtaining horizontal and vertical steel bar edge confidence indexes, calculating horizontal and vertical steel bar correlations; obtaining horizontal and vertical steel bar exposed real indexes, and then identifying the to-be-crushed area of ​​a hydraulic drill. The present invention aims to solve the problem that concrete cracks and steel bar edge lines cannot be accurately identified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of image recognition, and in particular to a method for image recognition of crushing and separation of steel-concrete structural components. Background Art

[0002] Steel-concrete composite structure, also known as rigid concrete structure or rigid steel-concrete structure, is composed of concrete, steel, longitudinal steel bars and transverse stirrups. It has the advantages of strong bearing capacity, small cross-sectional size of components, fire resistance and high durability, and is widely used in the field of housing construction. Crushing and separating steel-concrete structural components can maximize the use of existing building materials, reduce the demand for new raw materials, help reduce resource consumption, and comply with the principle of sustainable development.

[0003] At present, the main demolition methods used in construction projects are blasting demolition, mechanical demolition and static crushing demolition. Since the steel in the steel-concrete structural member has a strong constraint on the concrete in its clamping area, blasting demolition has high professional and technical requirements, and mechanical demolition has the problem of low control precision of large machinery. Static crushing demolition uses static crushing agents for construction, which has low noise, but the crushing and separation is not sufficient, and a hydraulic drill is needed for crushing and separation again. When the traditional image recognition algorithm identifies the concrete crushing area, the concrete edge and the steel bar edge are similar, resulting in the problem that the concrete cracks and the steel bar edge lines cannot be distinguished, which affects the crushing and separation of the concrete by the hydraulic drill. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a steel-concrete structural member crushing and separation image recognition method to solve the existing problems.

[0005] The present invention provides a steel-concrete structural member crushing and separation image recognition method using the following technical solutions:

[0006] An embodiment of the present invention provides a method for identifying a crushed and separated image of a steel-concrete structural member, the method comprising the following steps:

[0007] Collect concrete crushing and separation diagram;

[0008] The edge detection algorithm and the breadth-first search algorithm are used to obtain the edge lines in the concrete crushing and separation diagram; the edge line curvature sequence of each edge line is obtained according to the curvature of the pixel points on the edge line, and the edge deflection angle sequence and deflection information entropy of each edge line are obtained according to the slope of the pixel points on the edge line;

[0009] Use the change point detection algorithm to obtain the mutation probability of each element in the edge line curvature sequence, form the curvature mutation probability sequence of each edge line, and combine the threshold segmentation to obtain the curvature mutation point in each edge line;

[0010] According to the order of the curvature mutation points in the edge line curvature sequence, a curvature mutation number sequence of each curvature mutation point is constructed, and the curvature smoothing factor of each curvature mutation point on each edge line is obtained according to the elements in the curvature mutation probability sequence; the edge straightness of each edge line is obtained according to the elements in the curvature mutation number sequence, the skew information entropy of the edge skew angle sequence, and the curvature smoothing factor;

[0011] Obtain edge straight line vectors of each edge line and each edge homogeneous cluster according to edge skew angle sequence, skew information entropy and edge straightness; record elements in edge homogeneous clusters as edge data points, and obtain representative edge data points of each edge homogeneous cluster according to the number of edge data points in each edge homogeneous cluster;

[0012] The correlation between the horizontal and vertical reinforcements of different edge homogeneous clusters is obtained according to the edge straight line vector and the number of edge data points in each edge homogeneous cluster. The horizontal and vertical reinforcement exposure real index of each pixel point in the concrete crushing and separation map is obtained according to the correlation between the horizontal and vertical reinforcements to identify the area to be crushed.

[0013] Further, the step of obtaining edge lines in the concrete crushing and separation diagram includes:

[0014] Using edge detection algorithm to obtain the first edge line in the concrete crushing separation map;

[0015] For each first edge line, the pixel point in the first edge line with the smallest Euclidean distance to the pixel point in the lower left corner of the concrete crushing and separation map is used as the endpoint of the first edge line, all the pixel points in the first edge line are used as edge map nodes, and two adjacent edge map nodes are connected to obtain an edge map. Starting from the edge map node at the endpoint of the first edge line, the edge map is used as the input of a breadth-first search algorithm, and the output of the breadth-first search algorithm is each reachable path of the first edge line, and the lines connecting all the pixel points corresponding to each reachable path are used as each edge line of the concrete crushing and separation map.

[0016] Furthermore, the step of obtaining the edge line curvature sequence of each edge line and obtaining the edge deflection angle sequence and deflection information entropy of each edge line according to the slope of the pixel points on the edge line includes:

[0017] Calculate the curvature and slope of each pixel point on each edge line, use the arc tangent value of the slope of each pixel point as the deflection angle of each pixel point on the edge line, use the endpoint pixel point of each edge line with the smallest Euclidean distance to the pixel point in the lower left corner of the concrete crushing separation map as the initial pixel point of the edge line, and use the other endpoint pixel point of each edge line as the terminal pixel point of the edge line;

[0018] Starting from the initial pixel point, the serial number is 1, and the serial numbers are sequentially increased along the edge line. The curvature values ​​of each pixel point on the edge line are sorted in order from small to large to form an edge line curvature sequence;

[0019] For the skew angle of each pixel point on the edge line, the edge skew angle sequence of each edge line is obtained by adopting the same method as the curvature of each pixel point, and the information entropy of the edge skew angle sequence is calculated as the skew information entropy.

[0020] Furthermore, the method of obtaining the mutation probability of each element in the edge line curvature sequence to form a curvature mutation probability sequence of each edge line, and combining threshold segmentation to obtain the curvature mutation point in each edge line includes:

[0021] The output of the change point detection algorithm is the mutation probability of each element in the edge line curvature sequence. The mutation probability of each element is sorted according to the order of each element in the edge line curvature sequence to form the curvature mutation probability sequence of each edge line;

[0022] The curvature mutation probability sequence is segmented by threshold, and the pixel points corresponding to the elements whose mutation probability is greater than or equal to the segmentation threshold are taken as curvature mutation points.

[0023] Furthermore, the curvature mutation number sequence of each curvature mutation point is constructed, and the curvature smoothing factor of each curvature mutation point on each edge line is obtained according to the elements in the curvature mutation probability sequence, including:

[0024] Obtain the serial numbers of the pixel points on the edge line corresponding to all the curvature mutation points before each curvature mutation point on the edge line, and sort the serial numbers from small to large to form a curvature mutation serial number sequence of each curvature mutation point;

[0025] For the x-th curvature mutation point of each edge line, the information entropy of all mutation probabilities before the x-th curvature mutation point in the curvature mutation probability sequence is calculated as the first information entropy, the information entropy of all mutation probabilities before the x-th curvature mutation point in the curvature mutation probability sequence except the mutation probability of the curvature mutation point is calculated as the second information entropy, and the absolute value of the difference between the first information entropy and the second information entropy is calculated;

[0026] The reciprocal of the sum of the absolute value of the difference and the preset adjustment factor is used as the curvature smoothing factor of the x-th curvature mutation point on each edge line.

[0027] Furthermore, the method for obtaining the edge straightness of each edge line is:

[0028] Calculate the reciprocal of the difference between each element in the curvature mutation number sequence of the curvature mutation point and the previous element, calculate the sum of all the reciprocals in the curvature mutation number sequence, calculate the ratio of the number of all elements in the curvature mutation number sequence to the sequence number of the curvature mutation point in the curvature mutation probability sequence, and use the product of the sum and the ratio as the curvature mutation density factor of each curvature mutation point on each edge line;

[0029] The curvature mutation density factor is negatively correlated with the edge straightness, the curvature smoothness factor is positively correlated with the edge straightness, and the skew information entropy is negatively correlated with the edge straightness.

[0030] Further, the obtaining of each edge homogeneous cluster includes:

[0031] For each edge line, the average skewness of all pixels on the edge line is calculated as the average skewness of the edge line, and the average skewness, skew information entropy and edge straightness of the edge line are sorted and normalized to form the edge straight line vector of each edge line;

[0032] The edge straight line vectors of each edge line are divided into clusters using a clustering algorithm, and each cluster is regarded as an edge homogeneous cluster.

[0033] Furthermore, the representative edge data points of each edge homogeneous cluster include:

[0034] The area with the edge data point as the center and the preset value as the radius is taken as the neighborhood of the edge data point, and the number of edge data points in the neighborhood of the edge data point that are in the same edge homogeneous cluster as the edge data point is counted as the number of edges in the same cluster in the neighborhood, and the number of edge data points in the neighborhood of the edge data point that are not in the same edge homogeneous cluster as the edge data point is counted as the number of edges in the different clusters in the neighborhood;

[0035] The difference between the number of edges in the same cluster in the neighborhood and the number of edges in different clusters in the neighborhood is calculated as the edge vector representative strength of the edge data point, and the edge data point with the largest edge vector representative strength in each edge homogeneous cluster is used as the representative edge data point of each edge homogeneous cluster.

[0036] Further, the step of obtaining the correlation between the horizontal and vertical reinforcements between the homogeneous edge clusters of different edges includes:

[0037] The vector composed of the last two dimensions of the edge straight line vector of the edge line corresponding to each edge data point in each edge homogeneous cluster is used as the edge posterior term vector of each edge data point;

[0038] Calculate the sum of the edge vector representative intensities of the representative edge data points of the kth and wth edge homogeneous clusters as the second sum, calculate the cosine similarity between the edge posterior vectors of the representative edge data points of the kth and wth edge homogeneous clusters, calculate the absolute value of the difference between the average skewness of the edge lines corresponding to the representative edge data points of the kth and wth edge homogeneous clusters as the first absolute value of the difference, and calculate and the absolute value of the first difference, calculating the sum of the difference and a preset adjustment factor as a third sum, calculating the ratio of the cosine similarity to the third sum, and taking the product of the ratio and the second sum as the horizontal and vertical reinforcement edge confidence index between the kth and wth edge homogeneous clusters;

[0039] The sum of the numbers of edge data points in the kth and wth edge homogeneous clusters is calculated as a fourth sum, and the product of the fourth sum and the horizontal and vertical reinforcement braiding confidence index is calculated as the horizontal and vertical reinforcement association between the kth and wth edge homogeneous clusters.

[0040] Furthermore, the method of obtaining the horizontal and vertical exposed steel bar real index of each pixel point in the concrete crushing and separation map and identifying the area to be crushed includes:

[0041] The combination of the two edge homogeneous clusters with the largest correlation between the horizontal and vertical reinforcements in the concrete crushing and separation diagram is taken as the horizontal and vertical reinforcement combination, each pixel point in all edge lines of one edge homogeneous cluster in the horizontal and vertical reinforcement combination is taken as the first type of horizontal and vertical reinforcement pixel point, and each pixel point in all edge lines of the other edge homogeneous cluster in the horizontal and vertical reinforcement combination is taken as the second type of horizontal and vertical reinforcement pixel point, and the first type of horizontal and vertical reinforcement pixel points and the second type of horizontal and vertical reinforcement pixel points are collectively referred to as horizontal and vertical reinforcement pixel points;

[0042] A square neighborhood is constructed with each pixel in the concrete crushing and separation map as the center;

[0043] For each pixel point in the concrete crushing and separation image, the sum of the minimum value of the number of horizontal and vertical steel bar type 1 pixel points and the number 1 in the square neighborhood of the pixel point is calculated as the fifth sum value, the Euclidean distance between the pixel point and each horizontal and vertical steel bar pixel point is calculated, the reciprocal of the sum of the Euclidean distance and the preset adjustment factor is calculated, and the product of the sum of all the reciprocals in the square neighborhood of the pixel point and the fifth sum value is calculated as the horizontal and vertical steel bar exposure true index of each pixel point in the concrete crushing and separation image;

[0044] The exposed rebar true index of each pixel point is used as the gray value of each pixel point to construct the exposed rebar true map. The exposed rebar true map and concrete crushing separation map are used as the input of the neural network model to output the area to be crushed.

[0045] The present invention has at least the following beneficial effects:

[0046] The invention realizes a steel-concrete structural component crushing and separation image recognition method. Based on the curvature and straight line characteristics between pixel points on the edge line of the concrete crushing and separation image, combined with the Bayesian online change point detection algorithm, the edge straight line vector of each edge line in the concrete crushing and separation image is obtained to reflect the edge characteristics of the edge line of the concrete crushing and separation image. The invention has the beneficial effect of comprehensively considering the change characteristics of the curvature between each pixel point on the edge line, and preliminarily distinguishing between concrete cracks and steel bar edge lines; based on the reinforcement conditions of the longitudinal steel bars and the transverse stirrups in the concrete crushing and separation process, combined with the DBSCAN clustering algorithm, the transverse and longitudinal steel bar exposure real index is obtained to reflect the steel bar exposure conditions of each pixel point in the concrete crushing and separation image, and the steel bar exposure real image is constructed. The neural network is used to obtain the target area and crushing and separation strength of the hydraulic drill bit crushing. The invention has the beneficial effect of avoiding the problem that the concrete cracks and the steel bar edge lines cannot be distinguished, accurately distinguishing the concrete cracks and the steel bar edge lines, and adaptively identifying the target area of ​​the hydraulic drill bit crushing and separation of the steel-concrete structural component by combining the neural network, so as to improve the adequacy of the crushing and separation of the steel-concrete structural component. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 A flow chart of a steel-concrete structural member crushing and separation image recognition method provided by the present invention;

[0049] Figure 2 It is a schematic diagram of the edge deflection angle sequence of the steel bar edge line;

[0050] Figure 3 Obtain a flow graph for edge homogeneous clusters;

[0051] Figure 4 This is a diagram of concrete crushing and separation;

[0052] Figure 5 This is the edge detection diagram of concrete crushing and separation. DETAILED DESCRIPTION

[0053] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a steel-concrete structural component crushing and separation image recognition method proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0054] 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 invention belongs.

[0055] The specific scheme of the steel-concrete structural member crushing and separation image recognition method provided by the present invention is described in detail below with reference to the accompanying drawings.

[0056] An embodiment of the present invention provides a steel-concrete structural component crushing and separation image recognition method. Specifically, the following steel-concrete structural component crushing and separation image recognition method is provided. Figure 1 , the method comprises the following steps:

[0057] Step S001, using a CMOS camera to collect images of the crushing and separation process of the steel concrete structural component and perform preprocessing.

[0058] The concrete crushing and separation process of steel-concrete column-beam joints includes:

[0059] S1: Query building construction drawings;

[0060] S2: Mix the static breaker with water;

[0061] S3: Capture images of the crushing and separation process of steel-concrete structural components through a CMOS camera;

[0062] S4: Determine whether the steel-concrete structural member to be crushed and separated has been crushed and separated.

[0063] A CMOS camera is fixed in front of the steel-concrete structural component to be crushed and separated, and the focus of the CMOS camera is aligned with the center position of the steel-concrete structural component to be crushed and separated to obtain the concrete crushing and separation RGB image. In order to eliminate the interference of the equipment and the external environment on the collected image, the concrete crushing and separation RGB image is denoised by bilateral filtering. Further, the denoised concrete crushing and separation RGB image is converted into a concrete crushing and separation grayscale image, which is recorded as a concrete crushing and separation map. The concrete crushing and separation map is shown in Figure 4 The bilateral filtering and grayscale conversion are well-known technologies, and the specific process will not be described in detail.

[0064] Step S002, based on the degree of curvature and straight line characteristics between the pixel points on the edge line in the concrete crushing and separation diagram, combined with the Bayesian online change point detection algorithm, obtain the edge straight line vector of each edge line in the concrete crushing and separation diagram; based on the reinforcement conditions of the longitudinal steel bars and transverse stirrups during the concrete crushing and separation process, combined with the DBSCAN clustering algorithm, obtain the true index of exposed transverse and longitudinal steel bars.

[0065] There are a lot of longitudinal steel bars, transverse stirrups and other steel structures inside steel-concrete structural components. During the crushing and separation process, these steel structures will gradually be exposed. The edge detection algorithm can be used to obtain the steel structure in the concrete crushing and separation diagram. However, during the crushing and separation process, concrete cracks will also be generated due to the action of static crushing agents. During the image recognition process, the edge detection algorithm is used, and there will also be concrete cracks in the edge lines obtained, resulting in the problem that the steel structure and concrete cracks cannot be distinguished. Since steel-concrete is widely used in column and beam structures, it has a strong bearing capacity and high quality requirements for steel structures. The edge lines of the steel structure in steel-concrete structural components have a small curvature and high straightness, while the cement and aggregates, which are the main components of concrete in steel-concrete structural components, have a large curvature and low straightness.

[0066] Based on the above analysis, the Canny edge detection algorithm is used to detect the edge of the concrete crushing separation map. The concrete crushing separation edge detection map is shown in Figure 5 As shown, the edge line obtained is recorded as the first edge line, wherein the Canny edge detection algorithm is a well-known technology, and the specific process is not repeated. Take the first edge line as an example to obtain the The first edge line endpoint with the smallest Euclidean distance to the pixel point in the lower left corner of the concrete crushing separation map in the first edge line, and All pixel points in the first edge line are used as edge graph nodes, and two edge graph nodes with adjacent relationships are connected to obtain an edge graph. Starting from the edge graph node corresponding to the endpoint of the first edge line, the edge graph is used as the input of the breadth-first search BFS (Breadth-First Search) algorithm, and the output is each reachable path of the first edge line. The connection of all pixel points corresponding to each reachable path is recorded as an edge line of the concrete crushing and separation map, wherein the BFS algorithm is a well-known technology, and the specific process is not repeated here.

[0067] This embodiment takes the ath edge line as an example, calculates the curvature and slope of each pixel point on the ath edge line, and uses the arc tangent value of the slope of each pixel point as the deflection angle of each pixel point on the edge line, wherein the calculation methods of the curvature and slope are well-known technologies, and the specific process is not repeated here. The edge line endpoint pixel point at the lower left corner of the concrete crushing and separation diagram of the ath edge line is recorded as the initial pixel point of the ath edge line, and the other edge line endpoint pixel point of the ath edge line is recorded as the termination pixel point. Starting from the initial pixel point, the serial number is 1, and the serial numbers are sequentially increased along the edge line. According to the curvature values ​​of the pixel points of the ath edge line, an edge line curvature sequence is sequentially composed in order of serial numbers from small to large. Similarly, the corresponding edge deflection angle sequence of the ath edge line is obtained, and the information entropy of the edge deflection angle sequence is calculated, which is recorded as the deflection information entropy. , the edge deflection angle sequence diagram of the steel bar edge line is as follows Figure 2 shown.

[0068] Secondly, the edge line curvature sequence is used as the input of the Bayesian online change point detection algorithm, and the mutation probability of each element in the edge line curvature sequence is output. The mutation probability of each element is sorted according to the order of each element in the edge line curvature sequence to form a curvature mutation probability sequence. Further, the curvature mutation probability sequence is used as the input of the Otsu threshold method to obtain the segmentation threshold , the pixel points corresponding to the elements whose mutation probability is greater than or equal to the segmentation threshold are recorded as curvature mutation points, wherein the Bayesian online change point detection algorithm and the Otsu threshold method are well-known technologies, and the specific process will not be repeated here.

[0069] Furthermore, for each edge line, the serial numbers of the pixels corresponding to all the curvature mutation points before each curvature mutation point on the edge line are obtained, and the serial numbers are sorted from small to large to form the curvature mutation serial number sequence of each curvature mutation point. Based on the above analysis, the curvature smoothing factor of the x-th curvature mutation point in the a-th edge line in the concrete crushing and separation diagram can be obtained, and the formula is: ;in, is the curvature smoothing factor of the x-th curvature mutation point in the a-th edge line, is the corresponding serial number value of the x-th curvature mutation point in the a-th edge line in the curvature mutation probability sequence, is the curvature mutation probability sequence of the ath edge line whose number is less than or equal to The information entropy of all mutation probabilities is is the curvature mutation probability sequence of the ath edge line whose number is less than or equal to , and remove the mutation probability of all curvature mutation points, the information entropy of all remaining mutation probabilities is, It is an adjustment factor, which is used to prevent the denominator from being 0. In this embodiment, the value is 0.001.

[0070] When the two information entropies corresponding to the x-th curvature mutation point are closer, that is, The closer it is, the less the curvature mutation probability is affected by the curvature mutation point. The smoother the curvature mutation of the x-th curvature mutation point on the entire edge line, the curvature smoothing factor The bigger.

[0071] Furthermore, the curvature mutation density factor of each curvature mutation point in each edge line is obtained, and the formula is: ;in, is the curvature mutation density factor of the x-th curvature mutation point in the a-th edge line, is the number of elements in the curvature mutation sequence of the x-th curvature mutation point, is the serial number of the x-th curvature mutation point in the curvature mutation probability sequence, They are respectively the tth and t-1th elements in the curvature mutation number sequence of the xth curvature mutation point.

[0072] When the proportion of the curvature mutation points before the xth curvature mutation point pixel number on the ath edge line is larger, the pixel numbers of the two adjacent elements in the curvature mutation number sequence are closer, that is, The bigger, The larger the value is, the denser the curvature mutation of the pixels before the xth curvature mutation point pixel number on the ath edge line is. The bigger.

[0073] Furthermore, the edge straightness of each edge line in the concrete crushing and separation diagram is obtained according to the curvature smoothing factor and the curvature mutation density factor. The curvature mutation density factor is negatively correlated with the edge straightness, the curvature smoothing factor is positively correlated with the edge straightness, and the skew information entropy is negatively correlated with the edge straightness.

[0074] It should be noted that the positive correlation relationship can be a multiplication, addition, or idempotent relationship of an exponential function, which can be determined based on actual conditions and will not be elaborated in this application; the negative correlation relationship can be a subtraction relationship, a division relationship, etc., which can be determined based on actual conditions and will not be elaborated in this application.

[0075] Specifically, the present application proposes an embodiment, and the acquisition method is:

[0076] Calculate the sum of the curvature mutation density factor of the curvature mutation point of the edge line and the preset adjustment factor as the first sum, calculate the ratio of the curvature smoothing factor of the curvature mutation point of the edge line to the first sum as the first ratio, calculate the calculation result of an exponential function with a natural constant as the base and the negative value of the skew information entropy of the edge skew angle sequence of the edge line as the exponent, and take the sum of all the first ratios on the edge line and the product of the calculation result as the edge straightness of each edge line.

[0077] When the difference between the deflection angles of each pixel point on the a-th edge line is smaller, that is, the value of the calculation result of the exponential function is larger, it means that the inclination of each pixel point on the a-th edge line is consistent, and the straightness of the edge line is higher. At the same time, when the curvature mutation of each curvature mutation point on the a-th edge line is smoother and the curvature mutation is sparser, that is, the sum of all the first ratios on the edge line is larger, it means that the straight curvature of the a-th edge line is smaller, then the straightness of the edge line is higher, and the edge straightness is higher. The bigger.

[0078] Furthermore, the average skew angle of all pixels on the ath edge line is calculated and recorded as the average skewness to obtain the skew information entropy of the ath edge line in the concrete crushing and separation diagram: , Edge straightness , Due to the different dimensions of the above indicators, the Z-score method is used for standard normalization. Secondly, the average skewness, skew information entropy, and edge straightness after standard normalization are sequentially used to form the edge straight line vector of the ath edge line , reflects the edge features of the ath edge line, where They are the average skewness, skew information entropy, and edge straightness of the a-th edge line after normalization.

[0079] According to the above steps, the edge straight line vector of each edge line in the concrete crushing and separation diagram can be obtained, and the edge straight line vector of the edge line is regarded as a data point in a three-dimensional space, recorded as an edge data point, and the set of all edge data points in the concrete crushing and separation diagram is obtained, recorded as the edge data point set, and the edge data point set is used as the input of the DBSCAN clustering algorithm, wherein the neighborhood radius of the DBSCAN clustering algorithm is 0.1 in this embodiment, and the minimum number of neighborhood points (MinPts) in this embodiment is 5, and the edge data point set is divided into K clusters. The DBSCAN clustering algorithm is a well-known technology, and the specific process will not be repeated. The similarity between the edge straight line vectors of all edge data points in each cluster is relatively large, and it is very likely that they are the edges of the same material in the concrete crushing and separation diagram. Each cluster is recorded as an edge homogeneous cluster, wherein the edge homogeneous cluster acquisition flow chart is as follows Figure 3 shown.

[0080] Steel-concrete structural components contain a large number of steel bars, among which the longitudinal steel bars and transverse stirrups are close to the surface of the steel-concrete and are often exposed during the crushing process of the steel-concrete structural components. Moreover, the longitudinal steel bars and transverse stirrups in the steel-concrete structural components are vertically tied and welded. These steel bars are tied and welded densely and in large numbers.

[0081] Taking the kth edge homogeneous cluster as an example, the area with the edge data point as the center and a radius of 0.1 is taken as the neighborhood of the edge data point. The number of edge data points in the same edge homogeneous cluster and the number of edge data points in different edge homogeneous clusters in the neighborhood of each edge data point in the kth edge homogeneous cluster is counted, which are recorded as the number of edges in the same cluster in the neighborhood and the number of edges in different domain clusters, respectively. Secondly, the difference between the number of edges in the same cluster in the neighborhood and the number of edges in different domain clusters of each edge data point in the kth edge homogeneous cluster is calculated, which is recorded as the edge vector representative strength. The larger the value, the smaller the difference between the edge data point and other edge data points in the same edge homogeneous cluster, and the larger the difference between the edge data point and the edge data points in different edge homogeneous clusters, the more the edge data point can represent the entire edge homogeneous cluster. The edge data point with the largest edge vector representative strength in the kth edge homogeneous cluster is taken as the representative edge data point of the kth edge homogeneous cluster.

[0082] Based on the above analysis, the confidence index of the horizontal and vertical reinforcement edges between the kth and wth edge homogeneous clusters in the concrete crushing and separation diagram can be obtained, and the formula is: ;in, is the confidence index of the horizontal and vertical reinforcement edges between the kth and wth edge homogeneous clusters in the concrete crushing and separation diagram, The edge vectors of the representative edge data points of the kth and wth edge homogeneous clusters represent the strength, are the average skewness corresponding to the edge data points representing the kth and wth edge homogeneous clusters, respectively. The edge posterior vectors of the edge data points of the kth and wth edge homogeneous clusters are obtained by selecting the vector composed of the last two dimensions of the edge line vector corresponding to the edge data point, which is recorded as the edge posterior vector. It is to calculate the cosine similarity of the edge posterior vectors of two edge data points. It is an adjustment factor, which is used to prevent the denominator from being 0. In this embodiment, the value is 0.001.

[0083] Furthermore, the correlation between the horizontal and vertical reinforcements of the kth and wth edge homogeneous clusters in the concrete crushing and separation diagram is obtained, and the formula is: ;in, is the correlation between the horizontal and vertical reinforcements of the kth and wth edge homogeneous clusters in the concrete crushing and separation diagram, are the number of edge data points in the kth and wth edge homogeneous clusters respectively.

[0084] When the edge homogeneous cluster represents the edge data point, the edge vector represents the greater strength, i.e. The larger the value is, the more representative the edge straight line vector representing the edge data point is, and the more it can reflect the edge characteristics of the entire edge homogeneous cluster. At the same time, when the difference between the average skewness of the two representative edge data points is closer , the more similar the edge features of the two edge data points are, that is, The smaller, The larger the value is, the more the edge data points representing the two edge homogeneous clusters conform to the image edge characteristics of the longitudinal reinforcement and transverse stirrups in the steel-concrete structural member. The larger the number of edge data points in a homogeneous cluster, the larger the The more the number of , the more consistent with the characteristics of dense and large number of longitudinal reinforcement and transverse stirrups in steel-concrete structural components, then the higher the correlation of the characteristics of the longitudinal reinforcement and transverse stirrups in steel-concrete structural components, the higher the correlation of the transverse and longitudinal reinforcement. The bigger.

[0085] At this point, the correlation between the horizontal and vertical reinforcements between any two edge homogeneous clusters in the concrete crushing and separation diagram is obtained, and the edge homogeneous cluster combination with the largest horizontal and vertical reinforcement correlation is recorded as the horizontal and vertical reinforcement combination, and each pixel point in all edge lines of one of the edge homogeneous clusters in the horizontal and vertical reinforcement combination is recorded as type I horizontal and vertical reinforcement pixel points, and each pixel point in all edge lines of the other edge homogeneous cluster in the horizontal and vertical reinforcement combination is recorded as type II horizontal and vertical reinforcement pixel points; type I horizontal and vertical reinforcement pixel points and type II horizontal and vertical reinforcement pixel points are collectively referred to as horizontal and vertical reinforcement pixel points.

[0086] When using a hydraulic drill to accurately crush and separate steel-concrete structural components, in order to protect the horizontal and vertical steel bars from being cut off and deformed, the crushing and separation strength of the hydraulic drill should be controlled. When the horizontal and vertical steel bars are mostly exposed, a smaller crushing and separation strength should be used to prevent the hydraulic drill from being too strong, which will cause the horizontal and vertical steel bars to be cut off or deformed. At the same time, in steel-concrete structural components, in order to ensure that the longitudinal steel bars can fully penetrate the entire cross-section when subjected to force, the longitudinal steel bars and the transverse steel bars are usually arranged in an overlapping manner. For the intersection of the longitudinal and transverse steel bars, a smaller crushing and separation strength should be used.

[0087] Based on the above analysis, a 5*5 neighborhood is constructed with the i-th pixel in the concrete crushing and separation map as the center, and the number of horizontal and vertical steel bar type 1 pixels and horizontal and vertical steel bar type 2 pixels in the neighborhood is obtained. The horizontal and vertical steel bar exposure true index of the i-th pixel in the concrete crushing and separation map is calculated. , the formula is: ;in, is the real index of exposed horizontal and vertical reinforcement at the i-th pixel in the concrete crushing and separation map, , are the number of horizontal and vertical reinforcement type 1 pixels and horizontal and vertical reinforcement type 2 pixels in the neighborhood of the i-th pixel, respectively. is the sum of the number of horizontal and vertical reinforcement type 1 pixels and horizontal and vertical reinforcement type 2 pixels in the neighborhood of the i-th pixel point, is the Euclidean distance between the i-th pixel and the j-th horizontal and vertical reinforcement pixel, It is an adjustment factor, which is used to prevent the denominator from being 0. In this embodiment, the value is 0.001.

[0088] When the Euclidean distance between the i-th pixel point in the concrete crushing and separation map and the horizontal and vertical steel bar pixel points is smaller, The larger the value is, the more likely the i-th pixel is to be around the horizontal and vertical steel bar pixels, and the more likely the i-th pixel is also a horizontal and vertical steel bar pixel. At the same time, when the i-th pixel appears at the same time, the number of horizontal and vertical steel bar type 1 pixels and horizontal and vertical steel bar type 2 pixels is greater, that is, The larger the value is, the more likely the i-th pixel point is the intersection of the longitudinal and transverse reinforcements of the steel-concrete structural member. The larger it is, the more likely it is that the steel pixel has been exposed during the crushing and separation process. When using a hydraulic drill to accurately crush and separate steel-concrete structural components, a smaller crushing and separation strength is required, or even no crushing and separation strength is required.

[0089] Step S003, obtaining the real index of exposed horizontal and vertical steel bars for each pixel in the concrete crushing and separation map, constructing a real map of exposed steel bars, and using a neural network model to obtain the target area and crushing and separation strength of the hydraulic drill.

[0090] According to the above steps, the horizontal and vertical exposed steel bar real index of each pixel point in the concrete crushing and separation map is obtained, and the exposed steel bar real map is constructed according to the position coordinates of the pixel point on the concrete crushing and separation map. The CNN (Convolutional Neural Network) neural network model is used, the mean square error MSE (Mean-square error) function is used as the loss function, and the Adam algorithm is used as the optimization algorithm. The concrete crushing and separation map and the exposed steel bar real map in the crushing and separation process of the steel-concrete structural component are used as input, and the output is the area to be crushed. The hydraulic drill bit is used to crush and separate the area to be crushed. The training process of the CNN neural network is an existing well-known technology and will not be described in detail.

[0091] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The above is a description of a specific embodiment of this specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0092] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0093] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Modifications to the technical solutions recorded in the aforementioned embodiments, or equivalent replacement of some of the technical features therein, do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for image recognition of crushing and separation of steel-concrete structural components, It is characterized in that The method comprises the following steps: Collect concrete crushing and separation diagram; The edge detection algorithm and the breadth-first search algorithm are used to obtain the edge lines in the concrete crushing and separation diagram; the edge line curvature sequence of each edge line is obtained according to the curvature of the pixel points on the edge line, and the edge deflection angle sequence and deflection information entropy of each edge line are obtained according to the slope of the pixel points on the edge line; Use the change point detection algorithm to obtain the mutation probability of each element in the edge line curvature sequence, form the curvature mutation probability sequence of each edge line, and combine the threshold segmentation to obtain the curvature mutation point in each edge line; According to the order of the curvature mutation points in the edge line curvature sequence, a curvature mutation number sequence of each curvature mutation point is constructed, and the curvature smoothing factor of each curvature mutation point on each edge line is obtained according to the elements in the curvature mutation probability sequence; the edge straightness of each edge line is obtained according to the elements in the curvature mutation number sequence, the skew information entropy of the edge skew angle sequence, and the curvature smoothing factor; Obtain edge straight line vectors of each edge line and each edge homogeneous cluster according to edge skew angle sequence, skew information entropy and edge straightness; record elements in edge homogeneous clusters as edge data points, and obtain representative edge data points of each edge homogeneous cluster according to the number of edge data points in each edge homogeneous cluster; The correlation between the horizontal and vertical reinforcements of different edge homogeneous clusters is obtained according to the edge straight line vector and the number of edge data points in each edge homogeneous cluster; the horizontal and vertical reinforcement exposure real index of each pixel point in the concrete crushing and separation map is obtained according to the correlation between the horizontal and vertical reinforcements to identify the area to be crushed; The step of obtaining homogeneous edge clusters includes: For each edge line, the average skewness of all pixels on the edge line is calculated as the average skewness of the edge line, and the average skewness, skew information entropy and edge straightness of the edge line are sorted and normalized to form the edge straight line vector of each edge line; The edge straight line vectors of each edge line are divided into clusters using a clustering algorithm, and each cluster is regarded as an edge homogeneous cluster.

2. A steel-concrete structural member crushing and separation image recognition method as claimed in claim 1, It is characterized in that The step of obtaining edge lines in the concrete crushing and separation diagram includes: Using edge detection algorithm to obtain the first edge line in the concrete crushing separation map; For each first edge line, the pixel point in the first edge line with the smallest Euclidean distance to the pixel point in the lower left corner of the concrete crushing and separation map is used as the endpoint of the first edge line, all the pixel points in the first edge line are used as edge map nodes, and two adjacent edge map nodes are connected to obtain an edge map. Starting from the edge map node at the endpoint of the first edge line, the edge map is used as the input of a breadth-first search algorithm, and the output of the breadth-first search algorithm is each reachable path of the first edge line, and the lines connecting all the pixel points corresponding to each reachable path are used as each edge line of the concrete crushing and separation map.

3. A steel-concrete structural member crushing and separation image recognition method as claimed in claim 1, It is characterized in that The step of obtaining the edge line curvature sequence of each edge line and obtaining the edge deflection angle sequence and deflection information entropy of each edge line according to the slope of the pixel points on the edge line includes: Calculate the curvature and slope of each pixel point on each edge line, use the arc tangent value of the slope of each pixel point as the deflection angle of each pixel point on the edge line, use the endpoint pixel point of each edge line with the smallest Euclidean distance to the pixel point in the lower left corner of the concrete crushing separation map as the initial pixel point of the edge line, and use the other endpoint pixel point of each edge line as the terminal pixel point of the edge line; Starting from the initial pixel point, the serial number is 1, and the serial numbers are sequentially increased along the edge line. The curvature values ​​of each pixel point on the edge line are sorted in order from small to large to form an edge line curvature sequence; For the skew angle of each pixel point on the edge line, the edge skew angle sequence of each edge line is obtained by adopting the same method as the curvature of each pixel point, and the information entropy of the edge skew angle sequence is calculated as the skew information entropy.

4. A steel-concrete structural member crushing and separation image recognition method as claimed in claim 1, It is characterized in that The method of obtaining the mutation probability of each element in the edge line curvature sequence to form the curvature mutation probability sequence of each edge line, and combining the threshold segmentation to obtain the curvature mutation point in each edge line includes: The output of the change point detection algorithm is the mutation probability of each element in the edge line curvature sequence. The mutation probability of each element is sorted according to the order of each element in the edge line curvature sequence to form the curvature mutation probability sequence of each edge line; The curvature mutation probability sequence is segmented by threshold, and the pixel points corresponding to the elements whose mutation probability is greater than or equal to the segmentation threshold are taken as curvature mutation points.

5. A steel-concrete structural member crushing and separation image recognition method as claimed in claim 1, It is characterized in that The step of constructing a curvature mutation number sequence of each curvature mutation point and obtaining a curvature smoothing factor of each curvature mutation point on each edge line according to an element in the curvature mutation probability sequence includes: Obtain the serial numbers of the pixel points on the edge line corresponding to all the curvature mutation points before each curvature mutation point on the edge line, and sort the serial numbers from small to large to form a curvature mutation serial number sequence of each curvature mutation point; For the x-th curvature mutation point of each edge line, the information entropy of all mutation probabilities before the x-th curvature mutation point in the curvature mutation probability sequence is calculated as the first information entropy, the information entropy of all mutation probabilities before the x-th curvature mutation point in the curvature mutation probability sequence except the mutation probability of the curvature mutation point is calculated as the second information entropy, and the absolute value of the difference between the first information entropy and the second information entropy is calculated; The reciprocal of the sum of the absolute value of the difference and the preset adjustment factor is used as the curvature smoothing factor of the x-th curvature mutation point on each edge line.

6. A steel-concrete structural member crushing and separation image recognition method as claimed in claim 1, It is characterized in that The method for obtaining the edge straightness of each edge line is: Calculate the reciprocal of the difference between each element in the curvature mutation number sequence of the curvature mutation point and the previous element, calculate the sum of all the reciprocals in the curvature mutation number sequence, calculate the ratio of the number of all elements in the curvature mutation number sequence to the sequence number of the curvature mutation point in the curvature mutation probability sequence, and use the product of the sum and the ratio as the curvature mutation density factor of each curvature mutation point on each edge line; The curvature mutation density factor is negatively correlated with the edge straightness, the curvature smoothness factor is positively correlated with the edge straightness, and the skew information entropy is negatively correlated with the edge straightness.

7. A steel-concrete structural member crushing and separation image recognition method as claimed in claim 1, It is characterized in that The representative edge data points of each edge homogeneous cluster include: The area with the edge data point as the center and the preset value as the radius is taken as the neighborhood of the edge data point, and the number of edge data points in the neighborhood of the edge data point that are in the same edge homogeneous cluster as the edge data point is counted as the number of edges in the same cluster in the neighborhood, and the number of edge data points in the neighborhood of the edge data point that are not in the same edge homogeneous cluster as the edge data point is counted as the number of edges in the different clusters in the neighborhood; The difference between the number of edges in the same cluster in the neighborhood and the number of edges in different clusters in the neighborhood is calculated as the edge vector representative strength of the edge data point, and the edge data point with the largest edge vector representative strength in each edge homogeneous cluster is used as the representative edge data point of each edge homogeneous cluster.

8. A steel-concrete structural member crushing and separation image recognition method as claimed in claim 7, It is characterized in that The step of obtaining the correlation between the horizontal and vertical reinforcements of the homogeneous clusters at different edges includes: The vector composed of the last two dimensions of the edge straight line vector of the edge line corresponding to each edge data point in each edge homogeneous cluster is used as the edge posterior term vector of each edge data point; Calculate the sum of the edge vector representative intensities of the representative edge data points of the kth and wth edge homogeneous clusters as the second sum, calculate the cosine similarity between the edge posterior vectors of the representative edge data points of the kth and wth edge homogeneous clusters, calculate the absolute value of the difference between the average skewness of the edge lines corresponding to the representative edge data points of the kth and wth edge homogeneous clusters as the first absolute value of the difference, and calculate and the absolute value of the first difference, calculating the sum of the difference and a preset adjustment factor as a third sum, calculating the ratio of the cosine similarity to the third sum, and taking the product of the ratio and the second sum as the horizontal and vertical reinforcement edge confidence index between the kth and wth edge homogeneous clusters; The sum of the numbers of edge data points in the kth and wth edge homogeneous clusters is calculated as a fourth sum, and the product of the fourth sum and the horizontal and vertical reinforcement braiding confidence index is calculated as the horizontal and vertical reinforcement association between the kth and wth edge homogeneous clusters.

9. A steel-concrete structural member crushing and separation image recognition method as claimed in claim 1, It is characterized in that The method of obtaining the horizontal and vertical exposed steel bar real index of each pixel point in the concrete crushing and separation map and identifying the area to be crushed includes: The combination of the two edge homogeneous clusters with the largest correlation between the horizontal and vertical reinforcements in the concrete crushing and separation diagram is taken as the horizontal and vertical reinforcement combination, each pixel point in all edge lines of one edge homogeneous cluster in the horizontal and vertical reinforcement combination is taken as the first type of horizontal and vertical reinforcement pixel point, and each pixel point in all edge lines of the other edge homogeneous cluster in the horizontal and vertical reinforcement combination is taken as the second type of horizontal and vertical reinforcement pixel point, and the first type of horizontal and vertical reinforcement pixel points and the second type of horizontal and vertical reinforcement pixel points are collectively referred to as horizontal and vertical reinforcement pixel points; A square neighborhood is constructed with each pixel in the concrete crushing and separation map as the center; For each pixel point in the concrete crushing and separation image, the sum of the minimum value of the number of horizontal and vertical steel bar type 1 pixel points and the number 1 in the square neighborhood of the pixel point is calculated as the fifth sum value, the Euclidean distance between the pixel point and each horizontal and vertical steel bar pixel point is calculated, the reciprocal of the sum of the Euclidean distance and the preset adjustment factor is calculated, and the product of the sum of all the reciprocals in the square neighborhood of the pixel point and the fifth sum value is calculated as the horizontal and vertical steel bar exposure true index of each pixel point in the concrete crushing and separation image; The exposed rebar true index of each pixel point is used as the gray value of each pixel point to construct the exposed rebar true map. The exposed rebar true map and concrete crushing separation map are used as the input of the neural network model to output the area to be crushed.