Honeycomb disease identification method, system and device and storage medium

Through the method of Gaussian curvature and clustering superpixel segmentation processing, combined with edge and texture features, the honeycomb disease area of ​​the bridge is identified, which solves the problem of low recognition accuracy in the existing technology and achieves higher recognition accuracy.

CN118747847APending Publication Date: 2024-10-08GUANGDONG HIGHWAY CONSTR CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410768413.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The identification accuracy of bridge honeycomb diseases in the existing technology is low, mainly due to noise pollution and uneven light intensity, which makes it difficult to fully and accurately identify manual detection.

Method used

Gaussian curvature is used to extract edges from the image, combined with clustering superpixel segmentation processing, and the honeycomb disease area is identified through the merging of edge information and superpixel information to improve the accuracy of identification.

Benefits of technology

Through the application of Gaussian curvature and super-pixel information, the recognition accuracy of cellular diseases is significantly improved, and good recognition results can be maintained under conditions of illumination imbalance and noise interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747847A_ABST
    Figure CN118747847A_ABST
Patent Text Reader

Abstract

The invention discloses a honeycomb disease identification method, system and device and a storage medium. The method comprises the following steps: acquiring a to-be-recognized image; performing edge extraction on the image through Gaussian curvature to determine edge information; performing clustering super-pixel segmentation processing on the image, and determining super-pixel information; and carrying out merging processing on the edge information and the superpixel information, and identifying a honeycomb disease area. According to the embodiment of the invention, through the application of the Gaussian curvature and the superpixel information, the recognition of the honeycomb disease is realized, and the recognition accuracy is improved. The method can be widely applied to the technical field of computer image processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer image processing, and in particular to a cellular disease recognition method, system, device and storage medium. Background Art

[0002] Honeycomb is a common disease of concrete bridges and has become an important factor affecting the strength of bridge construction. It is of great significance to be able to identify honeycomb diseases in bridges in a timely and accurate manner. In related technologies, it is necessary to use a telescope to observe bridge diseases from a distance or to use a bridge bottom platform to observe bridge bottom diseases at close range. However, due to the random distribution of bridge honeycomb diseases, it is difficult to fully and accurately identify bridge honeycomb diseases through manual detection. With the rise of drone technology, the use of image processing technology to classify and identify images taken by drone inspections has become an important method for automatically detecting bridge honeycomb diseases. Specifically, the image segmentation of bridge honeycomb pockmarks can be performed by combining HSI color space with grayscale fluctuation; the grayscale co-occurrence matrix can be combined with the average Euclidean distance method to realize the identification of defects such as honeycomb pockmarks; the traditional algorithm and the extreme learning machine method can also be combined to identify honeycomb loose diseases. However, due to problems such as noise pollution and uneven light intensity, the recognition accuracy of current detection methods is low. Summary of the invention

[0003] The purpose of the present invention is to solve one of the technical problems existing in the prior art to at least a certain extent.

[0004] To this end, an object of the present invention is to provide a highly accurate cellular disease identification method, system, device and storage medium.

[0005] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present invention include:

[0006] On the one hand, an embodiment of the present invention provides a cellular disease identification method, comprising the following steps:

[0007] The method for identifying cellular disease in an embodiment of the present invention comprises: obtaining an image to be identified; extracting edges of the image by Gaussian curvature to determine edge information; performing clustering superpixel segmentation on the image to determine superpixel information; merging the edge information and the superpixel information to identify the cellular disease area. The embodiment of the present application realizes the identification of cellular disease by applying Gaussian curvature and superpixel information, thereby improving the accuracy of identification.

[0008] In addition, the cellular disease identification method according to the above embodiment of the present invention may also have the following additional technical features:

[0009] Furthermore, the cellular disease identification method of the embodiment of the present invention extracts the edge of the image by Gaussian curvature to determine the edge information, including:

[0010] Determining the Gaussian curvature of each point of the image on the spatial grayscale surface;

[0011] The Gaussian curvature is screened to determine edge information.

[0012] Furthermore, in one embodiment of the present invention, determining the Gaussian curvature of each point of the image on the spatial grayscale surface includes:

[0013] Performing color space transformation processing on the image to determine first image data;

[0014] Performing grayscale processing on the first image data to obtain second image data;

[0015] The Gaussian curvature of each point of the image on the spatial grayscale surface is determined by the Gaussian curvature of each point of the second image data on the grayscale surface.

[0016] Further, in one embodiment of the present invention, the Gaussian curvature is determined by the following steps:

[0017] K=k 1 ×k 2 ;

[0018] Among them, K represents the Gaussian curvature of the spatial grayscale surface composed of the image grayscale values, where k 1 and k 2 Represents the principal curvature of the spatial grayscale surface, and the calculation formula is as follows:

[0019]

[0020] Among them, L, M, N, E, F, G are the constituent parameters of the first basic form and the second basic form of the surface, u and v are the surface parameters, du and dv represent the slight changes of the surface coordinate parameters u and v; the first basic form and the second basic form of the surface are:

[0021]

[0022] Where ds represents the length of the tiny line element along the surface; Used to characterize the length of small displacements on surfaces; is the unit normal vector of the surface at a given point.

[0023] Furthermore, in one embodiment of the present invention, the performing clustering superpixel segmentation processing on the image to determine superpixel information includes:

[0024] Determine a five-dimensional feature vector of image pixels according to the image;

[0025] According to the five-dimensional feature vector, a distance measurement criterion is constructed, the image pixels are locally clustered, and super-pixel information is determined.

[0026] Furthermore, in one embodiment of the present invention, the method comprises:

[0027] The five-dimensional feature vector is determined by the following expression:

[0028] U=[l,a,b,x,y] T ;

[0029] In the formula, l, a, b are the three-channel color components of the color space, and x and y are the pixel coordinate values;

[0030] The distance measurement criterion is constructed by the following formula:

[0031]

[0032]

[0033] In the formula, j represents the jth cluster center, i represents the i-th pixel, and d lab Indicates the color distance, d xy represents the spatial distance, m represents the spatial distance weight coefficient, and S is the iteration step size.

[0034] Furthermore, in one embodiment of the present invention, the edge information and the superpixel information are combined to identify the honeycomb defect area, including:

[0035] Setting the pixel value of the boundary point in the edge information to zero, performing a dot product operation with the superpixel information, and determining third image data;

[0036] If the number of zero pixel values ​​in the super pixel region in the third image data is greater than or equal to a set threshold, retaining the current super pixel region;

[0037] Alternatively, if the number of zero pixel values ​​in the superpixel area in the third image data is less than the set threshold, the current superpixel area is merged with the merged set and the merged set is updated; the merged set is the set generated by merging the superpixel areas before the current superpixel area.

[0038] On the other hand, an embodiment of the present invention provides a cellular disease identification system, including:

[0039] The first module is used to obtain an image to be identified;

[0040] The second module is used to extract the edge of the image through Gaussian curvature to determine edge information;

[0041] The third module is used to perform clustering superpixel segmentation processing on the image to determine superpixel information;

[0042] The fourth module is used to merge the edge information and the superpixel information to identify the honeycomb disease area.

[0043] On the other hand, an embodiment of the present invention provides a cellular disease identification device, including:

[0044] at least one processor;

[0045] at least one memory for storing at least one program;

[0046] When the at least one program is executed by the at least one processor, the at least one processor implements the above-mentioned cellular disease identification method.

[0047] On the other hand, an embodiment of the present invention provides a storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the above-mentioned cellular disease identification method.

[0048] The method provided by the embodiment of the present invention includes: obtaining an image to be identified; extracting edges of the image by Gaussian curvature to determine edge information; performing clustering superpixel segmentation on the image to determine superpixel information; merging the edge information and the superpixel information to identify the honeycomb disease area. The embodiment of the present application realizes the identification of honeycomb diseases through the application of Gaussian curvature and superpixel information, thereby improving the accuracy of identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 A schematic diagram of a flow chart of an embodiment of a cellular disease identification method provided by the present invention;

[0051] Figure 2 A simplified flow chart of another embodiment of the cellular disease identification method provided by the present invention;

[0052] Figure 3A detailed flow chart of another embodiment of the cellular disease identification method provided by the present invention;

[0053] Figure 4 A schematic diagram of a process flow of an embodiment of a linear iterative clustering superpixel segmentation process provided by the present invention;

[0054] Figure 5 This is a rendering of an embodiment of determining a honeycomb edge area based on Gaussian curvature change provided by the present invention;

[0055] Figure 6 This is a rendering of an embodiment of the linear iterative clustering superpixel segmentation method provided by the present invention;

[0056] Figure 7 This is a superpixel merging effect diagram provided by the present invention;

[0057] Figure 8 The cellular disease recognition result diagram without adding noise and the cellular disease recognition result diagram of the maximum between-class variance method (OTSU) provided by the present invention;

[0058] Fig. 9 The cellular disease recognition result diagram provided by the present invention with the addition of salt and pepper noise and the cellular disease recognition result diagram using the maximum between-class variance method (OTSU);

[0059] Fig.10 The cellular disease recognition result diagram provided by the present invention with Gaussian noise added and the cellular disease recognition result diagram using the maximum between-class variance method (OTSU);

[0060] Fig.11 A schematic diagram of the structure of an embodiment of a cellular disease identification system provided by the present invention;

[0061] Fig.12 A schematic structural diagram of an embodiment of a cellular disease identification device provided by the present invention. DETAILED DESCRIPTION

[0062] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0063] Honeycomb is a common disease of concrete bridges and has become an important factor affecting the strength of bridge construction. It is of great significance to be able to identify honeycomb diseases on bridges in a timely and accurate manner.

[0064] Traditional methods rely on manually using telescopes to observe bridge diseases from a distance or using a built bridge bottom platform to observe bridge bottom diseases at close range. However, due to the relatively random distribution of bridge honeycomb diseases, it is difficult for manual inspection to fully and accurately identify bridge honeycomb diseases. With the widespread rise of drone applications in recent years, the use of drones equipped with high-definition cameras to inspect bridges has improved work efficiency and can cover areas that are difficult for inspectors to observe. However, at this stage, most of the image data captured by drones is still manually identified, which is prone to false detection and missed detection. Therefore, it is of great significance to study and design automatic detection methods for bridge honeycomb diseases.

[0065] Using image processing technology to classify and identify images taken by drone inspections has become an important method for automatically detecting bridge honeycomb defects. In recent years, some researchers have also applied digital image processing technology to detect and process images of bridge building defects. Some researchers have proposed using a method that combines HSI color space with grayscale fluctuations to segment bridge honeycomb surfaces; some researchers have proposed using a grayscale co-occurrence matrix combined with an average Euclidean distance method to identify defects such as honeycomb surfaces; some researchers have combined traditional algorithms with extreme learning machine methods to identify honeycomb loose defects. However, due to problems such as noise pollution and uneven light intensity, the recognition accuracy of current detection methods is low.

[0066] The cellular disease identification method and system proposed in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. First, the cellular disease identification method proposed in the embodiments of the present invention will be described with reference to the accompanying drawings.

[0067] Reference Figure 1 In an embodiment of the present invention, a cellular disease identification method is provided. The cellular disease identification method in the embodiment of the present invention can be applied to a terminal, can be applied to a server, can also be software running in a terminal or a server, etc. The terminal can be a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The server can be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The cellular disease identification method in the embodiment of the present invention mainly includes the following steps:

[0068] S100: Acquire an image to be recognized;

[0069] S200: extracting edges of the image by Gaussian curvature to determine edge information;

[0070] S300: performing clustering superpixel segmentation processing on the image to determine superpixel information;

[0071] S400: Combining the edge information and the superpixel information to identify a honeycomb defect area.

[0072] In some possible implementations, the present invention is applicable to image processing operations for detecting honeycomb damage on bridges based on drone images, referring to Figure 2 As shown, in the process of honeycomb disease identification, Gaussian curvature is used to extract the edge features of the honeycomb; the linear iterative clustering superpixel method is applied to use the texture features of the honeycomb for superpixel segmentation, and finally the edge features and texture features of the honeycomb image are combined for superpixel merging, which greatly improves the accuracy of honeycomb disease identification. Of course, it can be understood that the image to be identified in the embodiment of the present application can be obtained in any feasible form, not limited to drones, and the present application does not make specific limitations.

[0073] Optionally, in one embodiment of the present invention, the performing edge extraction on the image by using Gaussian curvature to determine edge information includes:

[0074] Determining the Gaussian curvature of each point of the image on the spatial grayscale surface;

[0075] The Gaussian curvature is screened to determine edge information.

[0076] It is understandable that the process of determining edge information can compare the Gaussian curvature with the set value to filter out edge information that conforms to the change of Gaussian curvature. The Gaussian curvature can also be sorted to filter out edge information that conforms to the change trend.

[0077] Optionally, in one embodiment of the present invention, determining the Gaussian curvature of each point of the image on the spatial grayscale surface includes:

[0078] Performing color space transformation processing on the image to determine first image data;

[0079] Performing grayscale processing on the first image data to obtain second image data;

[0080] The Gaussian curvature of each point of the image on the spatial grayscale surface is determined by the Gaussian curvature of each point of the second image data on the grayscale surface.

[0081] Optionally, in one embodiment of the present invention, the Gaussian curvature is determined by the following steps:

[0082] K=k 1 ×k 2 ;

[0083] Among them, K represents the Gaussian curvature of the spatial grayscale surface composed of the image grayscale values, where k 1 and k 2 Represents the principal curvature of the spatial grayscale surface. The principal curvatures are the two curvatures with the largest and smallest curvatures at a point on the spatial surface, which are k and 1 and k 2 , the calculation formula is as follows:

[0084]

[0085] Among them, L, M, N, E, F, G are the constituent parameters of the first basic form and the second basic form of the surface, u and v are the surface parameters, du and dv represent the partial derivatives of the surface coordinate parameters u and v, that is, they represent the slight changes of the surface coordinate parameters u and v; the first basic form and the second basic form of the surface are:

[0086]

[0087] Where ds represents the small increment of the shortest distance between two points on the surface, that is, the length of the small line element along the surface; It means to find the partial derivative of the position vector r, which is used to characterize the length of small displacement on the surface; is the unit normal vector of the surface at a given point.

[0088] In some possible implementations, the position of a point on a space surface can be represented by two coordinate values ​​(u, v). Specifically, if u is regarded as a constant, r(u, v) can be regarded as a space curve about parameter v; similarly, v can also be regarded as a constant, and the resulting curve is called a parametric curve (coordinate curve). dr is the eigenvector of the Weingarten transformation.

[0089] Optionally, in one embodiment of the present invention, performing clustering superpixel segmentation processing on the image to determine superpixel information includes:

[0090] Determine a five-dimensional feature vector of image pixels according to the image;

[0091] According to the five-dimensional feature vector, a distance measurement criterion is constructed, the image pixels are locally clustered, and super-pixel information is determined.

[0092] Optionally, in one embodiment of the present invention, the method further comprises:

[0093] The five-dimensional feature vector is determined by the following expression:

[0094] U=[l,a,b,x,y] T ;

[0095] In the formula, l, a, b are the three-channel color components of the color space, and x and y are the pixel coordinate values;

[0096] The distance measurement criterion is constructed by the following formula:

[0097]

[0098] In the formula, j represents the jth cluster center, i represents the i-th pixel, and d lab Indicates the color distance, d xy represents the spatial distance, m represents the spatial distance weight coefficient, and S is the iteration step size.

[0099] Optionally, in an embodiment of the present invention, the merging the edge information and the superpixel information to identify the honeycomb defect area includes:

[0100] Setting the pixel value of the boundary point in the edge information to zero, performing a dot product operation with the superpixel information, and determining third image data;

[0101] If the number of zero pixel values ​​in the super pixel region in the third image data is greater than or equal to a set threshold, retaining the current super pixel region;

[0102] Alternatively, if the number of zero pixel values ​​in the superpixel area in the third image data is less than the set threshold, the current superpixel area is merged with the merged set and the merged set is updated; the merged set is the set generated by merging the superpixel areas before the current superpixel area.

[0103] In some possible implementations, the threshold value may be set according to actual needs.

[0104] Specifically, refer to Figure 3 and Figure 4 As shown, the method provided by the present application includes:

[0105] S201, obtaining a honeycomb disease image.

[0106] The honeycomb disease images of this embodiment can be directly collected by the camera of the drone, or can be obtained by searching a database. For example, the honeycomb disease images taken by the drone are stored in the database in advance, and the honeycomb disease images can be obtained by searching the database.

[0107] S202, calculating the position where the Gaussian curvature of the grayscale surface of the disease image space changes greatly, as the possible edge area of ​​the honeycomb disease, and then obtaining the honeycomb disease edge marking map.

[0108] This step S202 is a honeycomb disease edge detection mark based on the change of Gaussian curvature. Gaussian curvature can reflect the degree of curvature of the surface. For the honeycomb disease area in the image, since the grayscale value of the boundary area changes greatly compared with its neighboring pixels, the curvature of the edge position of the honeycomb disease changes faster than the curvature of other positions on the grayscale surface of the image space. Therefore, this embodiment can better find the edge area position of the honeycomb disease and mark it by selecting the position where the Gaussian curvature changes greatly.

[0109] The step S202 specifically includes:

[0110] S2021. Perform HSI color space transformation on the pit image.

[0111] In this embodiment, the formula for HSI color space conversion is as follows:

[0112]

[0113] Among them, R, G, and B are the three channel values ​​of the image, and θ is the angle value to be sought.

[0114] S2022. Perform grayscale transformation on the honeycomb disease image to obtain a honeycomb disease I channel grayscale image.

[0115] In this embodiment, the average value method is used to grayscale the honeycomb disease image, as shown in the following formula:

[0116] Gray=(R+G+B) / 3;

[0117] S2023. Calculate the Gaussian curvature of the grayscale surface of the image space. The calculation formula of the Gaussian curvature is as follows:

[0118]

[0119]

[0120] Where K represents the Gaussian curvature of the spatial grayscale surface composed of the image grayscale values, k 1 and k 2 Indicates the principal curvature of the spatial grayscale surface. In the formula, L, M, N, E, F, and G are the constituent parameters of the first basic form and the second basic form of the surface, u and v are the surface parameters, and du and dv represent the partial derivatives of the surface coordinate parameters u and v, respectively, that is, they represent the slight changes of the surface coordinate parameters u and v. The first basic form expression of the surface and the second basic form expression of the surface are given by the above formulas I and H.

[0121] S2024. Calculate the position where the Gaussian curvature changes greatly, use it as the position of the edge of the honeycomb disease image and mark it.

[0122] The derivative of Gaussian curvature is calculated for each point, and the absolute value of the derivative is used as the basis for determining the degree of change. If the absolute value of the derivative of Gaussian curvature is greater than 2, it is considered that the condition of a large change in Gaussian curvature is met, and the possible location of the honeycomb disease boundary is obtained and marked. Figure 5 In one embodiment shown, the effect diagram of the honeycomb edge area is determined by Gaussian curvature.

[0123] S203, performing linear iterative clustering superpixel analysis on the honeycomb disease image.

[0124] This step S203 is a preprocessing based on superpixel segmentation. Superpixel segmentation refers to the process of subdividing a digital image into multiple image sub-regions. Superpixels are small regions composed of a series of pixels that are adjacent in position and have similar characteristics such as color, brightness, and texture. Since the image background composition of bridge honeycomb disease images is often complex, superpixel segmentation can be used to divide the honeycomb disease images into many sub-blocks with similar texture and color characteristics, which can reduce the complexity of subsequent image processing.

[0125] The five-dimensional feature vector of the SLIC superpixel algorithm expresses the pixel attributes as shown below:

[0126] U=[l,a,b,x,y] T ;

[0127] In the formula, l, a, and b represent the three-channel color components of the Lab color space, and x and y represent the pixel coordinate values. The distance measure D is calculated as follows:

[0128]

[0129] In the formula, j represents the jth cluster center, i represents the i-th pixel, and d lab Indicates the color distance, d xy represents the spatial distance, m represents the spatial distance weight coefficient, and S is the iteration step size.

[0130] The superpixel structure generated by the linear iterative clustering superpixel algorithm is compact and neat, which can better express the neighborhood characteristics of the image and facilitate subsequent operation and processing; the linear iterative clustering superpixel algorithm runs fast and has high memory efficiency, which can well meet the needs of drone inspection and identification of cellular diseases. Figure 6 As shown, this is the effect diagram of linear iterative clustering superpixel segmentation.

[0131] S204: Combine the superpixel segmentation with the honeycomb edge position determined by the curvature change to merge the superpixel regions.

[0132] In order to obtain the accurate honeycomb disease area in the image, we need to combine the honeycomb disease boundary marker image and the superpixel segmentation image to complete the superpixel region merging. In this way, the edge features and texture color features of honeycomb disease are combined to improve the accuracy of honeycomb disease recognition under complex backgrounds.

[0133] Furthermore, step S204 specifically includes:

[0134] S2041, binarizing the honeycomb boundary position mark image to obtain a honeycomb disease boundary position mark binary image, and setting the pixel values ​​of the pixels of the honeycomb disease boundary position mark to zero.

[0135] S2042, multiplying the obtained binary image of the honeycomb disease boundary points and the superpixel segmentation image pixel by pixel.

[0136] S2043, judging the multiplied image, if the number of zero pixel values ​​in the superpixel region exceeds the set threshold, it will be retained, otherwise this superpixel part will be merged with other superpixel parts to be merged, so as to achieve the goal of retaining the superpixel segmentation region containing the marker point position, and the superpixel segmentation part that does not contain the marker point area will be zeroed and merged, thereby obtaining the merged superpixel segmentation region. Figure 7 As shown, this is the effect after superpixel merging.

[0137] S205, filtering the super-pixel region merged image to obtain an accurate honeycomb disease region image to achieve honeycomb disease identification.

[0138] The feasibility of the cellular disease identification method provided by this embodiment is verified by a specific test below. The cellular disease identification method of the present invention is analyzed in terms of cellular disease detection and cellular disease morphology segmentation:

[0139] 1) Working conditions

[0140] This experiment uses an Intel core i5-9400F CPU @ 2.90Ghz processor, a PC running Windows 10, a GeForce RTX 1660 graphics card, and Matlab as the programming language.

[0141] 2) Experimental content and results analysis

[0142] Figure 8 , Fig. 9 and Fig.10The result examples of three honeycomb disease images are given, and the edge areas of the honeycomb diseases are marked in the figures. It can be proved that the results obtained by the honeycomb disease recognition method of the present invention are relatively accurate, and have significant advantages over the segmentation effect of the maximum between-class variance method (OTSU), which confirms the accuracy of the honeycomb disease recognition method of the present invention.

[0143] The above three groups of experimental results show that this embodiment calculates the area with a large change in Gaussian curvature, effectively marks the edge position of the honeycomb disease, and then uses the superpixel division method to better utilize the texture information of the honeycomb disease image for segmentation. Afterwards, the superpixel segmentation is combined with the honeycomb edge position determined by the curvature change, and the superpixel area is merged to segment the accurate honeycomb disease area. The present invention combines the superpixel division based on the structural characteristics of the image region and the Gaussian curvature change based on the edge characteristics of the segmentation target, comprehensively considering the structural information and local feature information of the image, not only achieving effective segmentation of bridge honeycomb diseases, but also by Figures 8 to 10 Experiments have shown that the algorithm proposed in this invention can still maintain good segmentation effect for honeycomb defects under conditions such as unbalanced illumination and noise interference.

[0144] In summary, the above method includes obtaining an image to be identified; extracting edges of the image by Gaussian curvature to determine edge information; performing clustering superpixel segmentation on the image to determine superpixel information; merging the edge information and the superpixel information to identify the honeycomb disease area. The embodiment of the present application realizes the identification of honeycomb diseases through the application of Gaussian curvature and superpixel information, thereby improving the accuracy of identification.

[0145] Secondly, refer to the attached Fig.11 A cellular disease identification system proposed according to an embodiment of the present invention is described.

[0146] Fig.11 1 is a schematic diagram of the structure of a cellular disease identification system according to an embodiment of the present invention, wherein the system specifically comprises:

[0147] The first module 310 is used to obtain an image to be identified;

[0148] The second module 320 is used to extract the edge of the image by Gaussian curvature to determine edge information;

[0149] The third module 330 is used to perform clustering superpixel segmentation processing on the image to determine superpixel information;

[0150] The fourth module 340 is used to merge the edge information and the superpixel information to identify the honeycomb defect area.

[0151] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0152] Reference Fig.12 The embodiment of the present invention provides a cellular disease identification device, including:

[0153] at least one processor 410;

[0154] At least one memory 420, used to store at least one program;

[0155] When the at least one program is executed by the at least one processor 410, the at least one processor 410 implements the cellular disease identification method.

[0156] Similarly, the contents of the above method embodiments are all applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0157] An embodiment of the present invention further provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to execute the above-mentioned cellular disease identification method.

[0158] Similarly, the contents of the above method embodiments are all applicable to the present storage medium embodiments. The functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0159] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.

[0160] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0161] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several programs to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0162] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable programs for implementing the logical functions, and may be embodied in any computer-readable medium for use by a program execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch and execute a program from a program execution system, device or apparatus), or in conjunction with such program execution systems, devices or apparatuses. For purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by a program execution system, device or apparatus, or in conjunction with such program execution systems, devices or apparatuses.

[0163] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0164] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable program execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0165] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0166] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0167] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A method for identifying cellular diseases, characterized in that: The following steps are involved: Obtain an image to be recognized; Extracting edges of the image by Gaussian curvature to determine edge information; Performing clustering superpixel segmentation processing on the image to determine superpixel information; The edge information and the superpixel information are combined to identify the honeycomb defect area.

2. The method for identifying cellular damage according to claim 1, characterized in that: The step of extracting the edge of the image by using Gaussian curvature to determine edge information includes: Determining the Gaussian curvature of each point of the image on the spatial grayscale surface; The Gaussian curvature is screened to determine edge information.

3. The method for identifying cellular diseases according to claim 2, characterized in that: Determining the Gaussian curvature of each point of the image on the spatial grayscale surface includes: Performing color space transformation processing on the image to determine first image data; Performing grayscale processing on the first image data to obtain second image data; The Gaussian curvature of each point of the image on the spatial grayscale surface is determined by the Gaussian curvature of each point of the second image data on the grayscale surface.

4. The method for identifying cellular damage according to claim 1, characterized in that: The Gaussian curvature is determined by the following steps: K = k1 × k2; Among them, K represents the Gaussian curvature of the spatial grayscale surface composed of the image grayscale values, and k1 and k2 represent the principal curvatures of the spatial grayscale surface. The calculation formula is as follows: Among them, L, M, N, E, F, G are the constituent parameters of the first basic form and the second basic form of the surface, u and v are the surface parameters, du and dv represent the slight changes of the surface coordinate parameters u and v; the first basic form and the second basic form of the surface are: Where ds represents the length of the tiny line element along the surface; Used to characterize the length of small displacements on surfaces; is the unit normal vector of the surface at a given point.

5. The method for identifying cellular damage according to claim 1, characterized in that: The performing clustering superpixel segmentation processing on the image to determine superpixel information includes: Determine a five-dimensional feature vector of image pixels according to the image; According to the five-dimensional feature vector, a distance measurement criterion is constructed, the image pixels are locally clustered, and super-pixel information is determined.

6. The method for identifying cellular damage according to claim 5, characterized in that: The method further comprises: The five-dimensional feature vector is determined by the following expression: U=[l,a,b,x,y] T ; In the formula, l, a, b are the three-channel color components of the color space, and x and y are the pixel coordinate values; The distance measurement criterion is constructed by the following formula: In the formula, j represents the jth cluster center, i represents the i-th pixel, and d lab Indicates the color distance, d xy represents the spatial distance, m represents the spatial distance weight coefficient, and S is the iteration step size.

7. The method for identifying cellular damage according to claim 1, characterized in that: The combining and processing the edge information and the superpixel information to identify the honeycomb defect area includes: Setting the pixel value of the boundary point in the edge information to zero, performing a dot product operation with the superpixel information, and determining third image data; If the number of zero pixel values ​​in the super pixel region in the third image data is greater than or equal to a set threshold, retaining the current super pixel region; Alternatively, if the number of zero pixel values ​​in the superpixel area in the third image data is less than the set threshold, the current superpixel area is merged with the merged set and the merged set is updated; the merged set is the set generated by merging the superpixel areas before the current superpixel area.

8. A cellular disease identification system, characterized in that: include: The first module is used to obtain an image to be identified; The second module is used to extract the edge of the image through Gaussian curvature to determine edge information; The third module is used to perform clustering superpixel segmentation processing on the image to determine superpixel information; The fourth module is used to merge the edge information and the superpixel information to identify the honeycomb disease area.

9. A cellular disease identification device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the cellular disease identification method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The program executable by the processor is used to implement the cellular disease identification method according to any one of claims 1 to 7 when executed by the processor.

Citation Information

Cited By

  • Intelligent inspection method for appearance quality of concrete

    CN120339237A