Damage detection method, device and equipment and computer readable storage medium

By smoothing the pole sheet image and morphological analysis, the damaged area of ​​the pole sheet is identified, which solves the problem of poor accuracy of pole sheet damage detection in the prior art, and improves the accuracy and stability of the detection.

CN119090848APending Publication Date: 2024-12-06ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411201857.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing pole sheet damage detection methods are poor in accuracy, making it difficult to effectively identify the damaged location of the pole sheet, resulting in mis-detection and missed inspection.

Method used

By extracting the pole area in the original pole picture, performing smoothing processing to determine the filled area, and determining the damaged area based on the morphology and area of ​​the filled sub-region, and outputting the damage detection result.

Benefits of technology

It effectively reduces false detection and missed detection caused by fluctuations in the pole position, improves the accuracy and stability of damage detection, and reduces detection errors caused by artificial factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119090848A_ABST
    Figure CN119090848A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of image processing, in particular to a damage detection method, device and equipment and a computer readable storage medium. According to the invention, the possible damaged position is determined by using the filled area in the smoothing process of the pole piece area, and whether the filled sub-area is the damaged area is further determined according to the form and / or the area of each filled sub-area, so that false detection and missing detection caused by the fluctuation of the position of the pole piece are effectively reduced; and the accuracy and the stability of the damage detection method are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and in particular to a damage detection method, device, equipment and computer-readable storage medium. Background Art

[0002] The pole piece is an important part of the lithium battery, responsible for the conversion and storage of electrical energy. The quality of the pole piece will directly affect the performance and life of the lithium battery. Therefore, the damage detection of the pole piece is one of the important steps in the production process of lithium batteries.

[0003] During the detection process, the electrode piece is transferred from the logistics belt to the detection device by a suction cup, the image of the electrode piece is captured to obtain an image containing the electrode piece, and the electrode piece detection area is manually delineated. Whether the electrode piece is complete is determined by judging whether the electrode piece image in the electrode piece detection area is complete.

[0004] Therefore, the accuracy of existing pole piece damage detection methods is poor. Summary of the invention

[0005] In order to solve the above technical problems, the present disclosure provides a damage detection method, device, equipment and computer-readable storage medium to improve the accuracy of pole piece damage detection.

[0006] In a first aspect, an embodiment of the present disclosure provides a damage detection method, comprising:

[0007] Extracting the pole piece region from the original pole piece image;

[0008] Smoothing the pole piece region to obtain a smoothed region;

[0009] Comparing the pole piece region with the smoothing region to determine a filled region, wherein the filled region includes one or more filled sub-regions;

[0010] Determine a damaged area among the plurality of filled sub-areas based on the shape and / or area of ​​each of the filled sub-areas;

[0011] The damaged area is output as a damage detection result.

[0012] In some embodiments, extracting the pole piece region in the original pole piece image includes:

[0013] The image of the electrode to be inspected is acquired by an image acquisition device to obtain an original electrode image;

[0014] Pixels whose grayscale values ​​in the original pole piece image are lower than a first grayscale threshold are extracted to obtain the pole piece region.

[0015] In some embodiments, determining the damaged area in the plurality of filled sub-areas based on the shape and / or area of ​​each of the filled sub-areas includes:

[0016] For any of the filled sub-regions, if the short radius of the equivalent ellipse of the filled sub-region is greater than a preset radius threshold, the filled sub-region is determined to be a damaged region.

[0017] In some embodiments, the screening based on the morphology and / or area of ​​each of the filled sub-regions to determine the damaged region in the plurality of filled sub-regions includes:

[0018] For any of the filled sub-regions, if the area of ​​the filled sub-region is greater than a preset area threshold, the filled sub-region is determined to be a damaged region.

[0019] In some embodiments, the method further comprises:

[0020] Determining a light source evaluation area in the original pole piece image, wherein the light source evaluation area is an area of ​​a preset area outside the pole piece area;

[0021] Obtaining the pixel grayscale level of the light source evaluation area.

[0022] In some embodiments, obtaining the grayscale level of pixels in the light source evaluation area includes:

[0023] Traversing the pixels in the light source evaluation area to obtain the grayscale value of each pixel;

[0024] Calculating the grayscale average value in the light source evaluation area according to the grayscale value of each pixel;

[0025] The grayscale average value is used as the pixel grayscale level of the light source evaluation area.

[0026] In some embodiments, the method further comprises:

[0027] If the pixel grayscale level does not meet the image acquisition condition of the light source, the brightness level of the light source is adjusted, and the light source is used to assist the image acquisition device in acquiring the original pole piece image.

[0028] In some embodiments, if the pixel grayscale level does not meet the image acquisition condition of the light source, adjusting the brightness level of the light source includes:

[0029] If the grayscale level of the pixel is lower than a second grayscale threshold, the brightness level of the light source is increased.

[0030] In a second aspect, an embodiment of the present disclosure provides a damage detection device, comprising:

[0031] An extraction module, used for extracting the pole piece area in the original pole piece image;

[0032] A smoothing processing module, used for smoothing the pole piece region to obtain a smoothed region;

[0033] A first determination module, used for comparing the pole piece region with the smoothing region to determine a filled region, wherein the filled region includes one or more filled sub-regions;

[0034] A second determination module, configured to determine a damaged area among the plurality of filled sub-areas based on the shape and / or area of ​​each of the filled sub-areas;

[0035] An output module is used to output the damaged area as a damage detection result.

[0036] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0037] Memory;

[0038] Processor; and

[0039] Computer programs;

[0040] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect.

[0041] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method described in the first aspect.

[0042] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the damage detection method as described above is implemented.

[0043] The damage detection method, device, equipment and computer-readable storage medium provided by the embodiments of the present disclosure determine the location where damage may exist by utilizing the area filled in the process of smoothing the pole piece area, and further determine whether the filled sub-area is a damaged area based on the shape and / or area of ​​each filled sub-area, thereby effectively reducing false detections and missed detections caused by fluctuations in the pole piece position, and improving the accuracy and stability of the damage detection method. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0046] Figure 1 A flow chart of a damage detection method provided in an embodiment of the present disclosure;

[0047] Figure 2 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0048] Figure 3 A schematic diagram of a binary image provided by an embodiment of the present disclosure;

[0049] Figure 4 A schematic diagram for comparing a pole piece area and a smoothing treatment area provided in an embodiment of the present disclosure;

[0050] Figure 5 A schematic diagram of separation of filled sub-regions provided in an embodiment of the present disclosure;

[0051] Figure 6 A schematic diagram of the structure of a damage detection device provided in an embodiment of the present disclosure;

[0052] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0053] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0055] The present disclosure provides a damage detection method, which is described below in conjunction with a specific embodiment.

[0056] Figure 1 This is a flow chart of the damage detection method provided by the embodiment of the present disclosure. The method can be applied to Figure 2The application scenario shown includes an image acquisition device 21, a backlight platform 22, a terminal device 23, and a light source controller 24. Among them, the image acquisition device 21 is a planar array camera, which is used to acquire images of the pole piece placed on the backlight platform. The pole piece is placed above the backlight platform. The terminal device 23 can obtain the picture acquired by the image acquisition device 21 and perform image processing; the terminal device 23 and the light source controller 24 are connected in communication through a preset communication protocol such as the Transmission Control Protocol (TCP), so as to adjust the brightness of the light source in the backlight platform 22 through the light source controller 24. The terminal device 23 can specifically be an industrial computer, a smart phone, a handheld computer, a tablet computer, a desktop computer, a laptop computer, an all-in-one computer, etc. It can be understood that the damage detection method provided in the embodiment of the present disclosure can also be applied in other scenarios.

[0057] Combine the following Figure 2 The application scenario shown is Figure 1 The damage detection method shown in the figure is introduced, and the specific steps of the method are as follows:

[0058] S101, extracting the pole piece region in the original pole piece image.

[0059] The original pole piece image is obtained by an image acquisition device, which includes the pole piece area and the background area.

[0060] like Figure 2 In the scene shown, the pole piece is placed above the backlight platform 22, and the backlight platform 22 can provide uniform and efficient backlighting. When the pole piece is imaged by the image acquisition device 21, since the pole piece blocks the light source, the light emitted by the backlight platform that is not blocked by the pole piece can be transmitted normally. Therefore, in the ideal original pole piece image, the pole piece area is black and the background area is white.

[0061] Figure 3 A schematic diagram of a binary image provided for an embodiment of the present disclosure. The pole region can be understood as a binary image, the size of which is the same as the original pole image, wherein each pixel position in the selected area (such as the pole region in this step) is marked as 1, and each pixel position in the remaining unselected area is marked as 0, so that the selected area and the unselected area can be distinguished.

[0062] S102, smoothing the pole piece region to obtain a smoothed region.

[0063] There may be small holes inside the pole piece area or depressions on the edges. These situations are caused by damage to the pole piece itself or noise during the image acquisition process. The pole piece area is smoothed to close the small holes inside the area or repair the depressions on the edges of the area.

[0064] Specifically, a preset structure matrix is ​​used to perform morphological processing on the pole area by first dilating and then corroding. An example of a structure matrix of 3*3 pixels is given below:

[0065]

[0066] The size of the structure matrix can be adjusted according to actual conditions. The larger the structure matrix, the better the smoothing effect after morphological processing. In addition, the value of the element in the structure matrix depends on the label value of the pixel point in the selected area. For example, if the label value of the pole area in this embodiment is 1, the value of the element in the structure matrix is ​​1.

[0067] Morphological processing is to use the structure matrix to traverse the pole piece area extracted above, calculate the values ​​of the overlapping pixels in the structure matrix and the pole piece area based on certain rules, and adjust the value of each pixel in the pole piece area according to the calculation result, and finally obtain the pole piece area after smoothing, that is, the smoothing processing area.

[0068] Let the pole area be A, the structure matrix be B, and x and y be used to represent the pixel coordinates of the structure matrix in the pole area. Then the result of the dilation operation E is expressed as:

[0069]

[0070] That is, the midpoint of the structure matrix B is translated to the (x, y) position in the pole area A. If there is at least one pixel with a mark value of 1 in the area covered by the structure matrix at this time, it means that the structure matrix B intersects with the pole area, then the pixel mark value at (x, y) is set to 1, otherwise the pixel mark value at (x, y) is set to 0.

[0071] The result C of the corrosion operation is expressed as:

[0072]

[0073] That is, when the midpoint of the structure matrix B is translated to the (x, y) position in E, if the pixel mark values ​​in E corresponding to element 1 in the structure matrix B are all 1, then the pixel mark value at (x, y) is set to 1, otherwise the pixel mark value at (x, y) is set to 0.

[0074] S103 , comparing the pole piece region with the smoothing region to determine a filled region, wherein the filled region includes one or more filled sub-regions.

[0075] Figure 4 A schematic diagram for comparing a pole piece area and a smoothing treatment area provided in an embodiment of the present disclosure.

[0076] In order to determine the area in the pole piece area that has changed during the smoothing process, the pole piece area is compared with the smoothing area. The location where there is a difference between the two is the area that has changed during the smoothing process, which is called the filled area. Figure 4 The 41 points in the figure are the difference between the pole piece area and the smooth area.

[0077] Specifically, the smoothed area is subtracted from the pole area to output the filled area D. The calculation process is expressed as:

[0078] D={x,y|C (x,y) -A (x,y) >0}

[0079] The premise of the difference is that the two sizes are consistent, both are the size of the original pole image. The pixel mark values ​​at the same position in the smoothing area and the pole area are subtracted. If the difference is not zero, it means that the pixel mark value is assigned a new value in the smoothing area and belongs to the filled area.

[0080] The filled area includes one or more filled sub-areas, each of which is independent of each other and corresponds to each damaged area that may represent damage to the pole piece.

[0081] Figure 5 Schematic diagram of separation of filled sub-areas provided in the embodiment of the present disclosure. Figure 5 As shown, when the filled region includes a plurality of independent filled sub-regions, each filled sub-region is separated so as to detect each filled sub-region separately in subsequent steps.

[0082] S104: Determine a damaged region among the multiple filled sub-regions based on the shape and / or area of ​​each of the filled sub-regions.

[0083] By determining the shape of the filled sub-region, the narrow and long filled sub-region caused by the unevenness of the pole piece and the slight curling of the edge can be effectively eliminated; by determining the area of ​​the filled sub-region, the influence of noise in the image acquisition process can be effectively eliminated.

[0084] Based on the preset defect standard, the multiple filled sub-regions are screened by their morphology and / or area, and the filled sub-regions whose morphology and / or area do not meet the preset defect standard are removed, and the remaining filled sub-regions are damaged regions.

[0085] S105: Output the damaged area as a damage detection result.

[0086] There may be defects at the corresponding position of the actual pole piece corresponding to the damaged area. By mapping the relative position of the damaged area in the original pole piece image to the corresponding position in the actual pole piece, the damaged position on the actual pole piece can be quickly located.

[0087] The disclosed embodiment extracts a pole piece region from an original pole piece image; smoothes the pole piece region to obtain a smoothed region; compares the pole piece region with the smoothed region to determine a filled region, wherein the filled region includes one or more filled sub-regions; based on the shape and / or area of ​​each of the filled sub-regions, determines a damaged region among the multiple filled sub-regions; outputs the damaged region as a damage detection result, determines a location where damage may exist by utilizing the filled region during the smoothing process of the pole piece region, and further determines whether the filled sub-region is a damaged region based on the shape and / or area of ​​each filled sub-region, thereby effectively reducing false detections and missed detections caused by fluctuations in the pole piece position, and improving the accuracy and stability of the damage detection method.

[0088] At the same time, since the embodiment of the present disclosure does not require manual drawing of the pole piece detection area, the detection error caused by human factors is reduced, and the stability of the damage detection method is further improved.

[0089] Based on the above embodiment, the extraction of the pole piece area in the original pole piece image includes: performing image acquisition on the pole piece to be detected by an image acquisition device to obtain the original pole piece image; extracting pixel points in the original pole piece image whose grayscale values ​​are lower than a first grayscale threshold to obtain the pole piece area.

[0090] As described in the above embodiment, in an ideal original pole piece image, the pole piece area is black and the background area is white, so different areas in the original pole piece image can be accurately distinguished according to the gray value of the pixel. This process is called threshold segmentation.

[0091] Optionally, the first grayscale threshold may be 50, and the corresponding pole piece area is an area formed by pixels having grayscale values ​​lower than 50.

[0092] The disclosed embodiment extracts the pole piece area through the grayscale value of the pixels in the original pole piece image, which is more suitable for the scenario of collecting the original pole piece image using a backlight platform. Its accuracy can reach the pixel level, providing a good image data foundation for subsequent damage detection based on the pole piece area.

[0093] In some embodiments, determining the damaged area among the multiple filled sub-areas based on the shape and / or area of ​​each of the filled sub-areas includes: for any one of the filled sub-areas, if the short radius of the equivalent ellipse of the filled sub-area is greater than a preset radius threshold, determining that the filled sub-area is a damaged area.

[0094] The equivalent ellipse of the filled sub-region is an approximated ellipse having a similar direction and aspect ratio to the filled sub-region, and is used to describe the geometric shape characteristics of the filled sub-region.

[0095] The radius of the equivalent ellipse includes a major radius and a minor radius, which correspond to the major semi-axis length and the minor semi-axis length of the equivalent ellipse respectively.

[0096] When the short radius of the equivalent ellipse is less than or equal to the preset radius threshold, it usually means that the filled sub-area is relatively narrow and long, which usually corresponds to the situation that the actual pole piece is not flat enough and the edge is raised. This situation does not belong to the damage of the pole piece. Therefore, it is necessary to remove the filled sub-area with the short radius of the equivalent ellipse less than or equal to the preset radius threshold and not treat it as a damaged area.

[0097] Correspondingly, when the short radius of the equivalent ellipse is greater than the preset radius threshold, it usually means that the filled sub-area is wider and has exceeded the degree of warping of the edge of the general pole piece, which means that the corresponding area is very likely to be damaged and needs to be treated as a damaged area.

[0098] Optionally, the preset radius threshold may be 1.5 pixels, which may be adjusted according to the degree of tilting of the pole piece.

[0099] In other embodiments, the screening is performed based on the shape and / or area of ​​each of the filled sub-regions to determine the damaged area among the multiple filled sub-regions, including: for any one of the filled sub-regions, if the area of ​​the filled sub-region is greater than a preset area threshold, then the filled sub-region is determined to be a damaged area.

[0100] In the process of using image acquisition equipment to obtain the original pole piece image, there may be visible noise points on the original pole piece image due to sensor noise and circuit noise inside the equipment, electromagnetic interference in the environment, light changes, etc., or fluctuations of 1 to 3 pixels at the edge of the pole piece during the image acquisition process. The area of ​​the noise points is usually small and generally appears as a very small number of pixels.

[0101] If the area of ​​the filled sub-region is less than or equal to the preset area threshold, it means that the number of pixels corresponding to the filled sub-region is very small, usually noise points in the image. Therefore, the filled sub-region with an area less than or equal to the preset area threshold needs to be removed and not treated as a damaged area.

[0102] Correspondingly, if the area of ​​the filled sub-region is greater than the preset area threshold, it means that the filled sub-region is likely to correspond to a hole or a gap in the actual electrode piece, and such a filled sub-region needs to be processed as a damaged area.

[0103] Optionally, the preset area threshold is 4 pixels.

[0104] The disclosed embodiment can accurately screen out damaged areas in multiple filled sub-areas by determining the equivalent ellipse short radius and area of ​​the filled sub-areas, thereby further improving the accuracy of the damage detection method.

[0105] In some embodiments, the method further includes: determining a light source evaluation area in the original pole piece image, the light source evaluation area being an area of ​​a preset area outside the pole piece area; and obtaining a pixel grayscale level of the light source evaluation area.

[0106] If the pixel grayscale level meets the image acquisition condition of the light source, the current brightness acquisition of the light source is maintained; if the pixel grayscale level does not meet the image acquisition condition of the light source, the brightness level of the light source is adjusted, and the light source is used to assist the image acquisition device in acquiring the original pole piece image.

[0107] The light source is the light source on the backlight platform.

[0108] During the image acquisition process, if the brightness of the backlight platform light source is insufficient, the boundary between the pole piece area and other areas may not be obvious, affecting the image acquisition effect and thus the subsequent detection effect.

[0109] Therefore, in the embodiment of the present disclosure, the pixel grayscale level of the light source evaluation area is used as a reference to determine whether the brightness level of the light source needs to be adjusted.

[0110] Specifically, the light source evaluation area may be any area in the original pole piece image except the pole piece area, and its preset area may be adjusted according to actual needs.

[0111] Optionally, the light source evaluation area includes a plurality of light source evaluation sub-areas, each of which is located at a different position in the original pole piece image, so as to perform a more comprehensive evaluation on the brightness of the light source.

[0112] The obtaining of the pixel grayscale level in the light source evaluation area includes: traversing the pixels in the light source evaluation area to obtain the grayscale value of each pixel; calculating the grayscale average value in the light source evaluation area according to the grayscale value of each pixel; and using the grayscale average value as the pixel grayscale level of the light source evaluation area.

[0113] Correspondingly, if the grayscale level of the pixel does not meet the image acquisition condition of the light source, adjusting the brightness level of the light source includes: if the grayscale level of the pixel is lower than a second grayscale threshold, increasing the brightness level of the light source.

[0114] That is, the pixel grayscale level of the light source evaluation area is the average value of the grayscale value of each pixel in the light source evaluation area.

[0115] Since in the ideal original pole piece image, the pole piece area is black, corresponding to the gray value of 0, if the gray value of the pixels in the background area is too low, it will be similar to the pole piece area; at the same time, the gray value of the pixels in the background area depends on the brightness of the light source. Therefore, when the pixel gray level is lower than the second gray threshold, it means that the brightness of the light source is insufficient, and the brightness level of the light source needs to be increased.

[0116] Optionally, the second grayscale threshold is set to 255, and when the grayscale level of the pixels in the light source evaluation area is lower than 255, that is, not white, the brightness level of the light source is increased.

[0117] Specifically, the brightness level of the light source is adjusted by the light source controller, and the brightness level has 255 levels to be adjusted, from 0 to 255 from dark to bright. Figure 2 In the scenario shown, when the pixel grayscale level is lower than the second grayscale threshold, the terminal device 23 sends a light source brightness adjustment instruction to the light source controller 24 to increase the brightness level of the light source in the backlight platform 22 by one level.

[0118] Optionally, the brightness condition of the light source can be judged after acquiring the original pole piece image. If it is determined that the brightness level of the light source needs to be increased, the original pole piece image is reacquired after the brightness level of the light source is increased, and damage detection is performed again until the pixel grayscale level of the light source evaluation area meets the image acquisition conditions; and / or, the brightness condition of the light source is judged after the damage detection is performed to continuously monitor the brightness condition of the light source and avoid brightness attenuation of the light source.

[0119] The disclosed embodiment sets a light source evaluation area outside the pole piece area in the original pole piece image, obtains the pixel grayscale level of the light source evaluation area, and further determines whether the brightness level of the light source needs to be adjusted based on the pixel grayscale level, thereby avoiding fluctuations in damage detection results caused by poor original pole piece images collected due to light source attenuation, thereby further improving the accuracy and stability of damage detection.

[0120] Figure 6 Schematic diagram of the structure of the damage detection device provided in the embodiment of the present disclosure. The damage detection device may be the terminal device as described in the above embodiment, or the damage detection device may be a component or assembly in the terminal device. The damage detection device provided in the embodiment of the present disclosure may execute the processing flow provided in the damage detection method embodiment, such as Figure 6 As shown, the damage detection device 60 includes: an extraction module 61, a smoothing processing module 62, a first determination module 63, a second determination module 64, and an output module 65; wherein the extraction module 61 is used to extract the pole piece area in the original pole piece image; the smoothing processing module 62 is used to smooth the pole piece area to obtain a smoothed processing area; the first determination module 63 is used to compare the pole piece area with the smoothed processing area to determine the filled area, and the filled area includes one or more filled sub-areas; the second determination module 64 is used to determine the damaged area in the multiple filled sub-areas based on the shape and / or area of ​​each of the filled sub-areas; the output module 65 is used to output the damaged area as a damage detection result.

[0121] Optionally, the extraction module 61 includes an acquisition unit 611 and an extraction unit 612; the acquisition unit 611 is used to acquire an image of the electrode to be inspected through an image acquisition device to obtain an original electrode image; the extraction unit 612 is used to extract pixel points in the original electrode image whose grayscale values ​​are lower than a first grayscale threshold to obtain the electrode area.

[0122] Optionally, the second determination module 64 includes a morphology judgment unit 641, which is used to determine, for any of the filled sub-regions, that the filled sub-region is a damaged region if the short radius of the equivalent ellipse of the filled sub-region is greater than a preset radius threshold.

[0123] Optionally, the second determination module 64 further includes an area judgment unit 642, which is used to determine, for any of the filled sub-regions, that the filled sub-region is a damaged region if the area of ​​the filled sub-region is greater than a preset area threshold.

[0124] Optionally, the damage detection device 60 also includes a light source adjustment module 66, which includes a determination unit 661 and an acquisition unit 662; the determination unit 661 is used to determine a light source evaluation area in the original pole piece image, and the light source evaluation area is an area of ​​a preset area outside the pole piece area; the acquisition unit 662 is used to acquire the pixel grayscale level of the light source evaluation area.

[0125] Optionally, the acquisition unit 662 is specifically used to traverse the pixels in the light source evaluation area to obtain the grayscale value of each pixel; calculate the grayscale average value in the light source evaluation area according to the grayscale value of each pixel; and use the grayscale average value as the pixel grayscale level of the light source evaluation area.

[0126] Optionally, the light source adjustment module 66 further includes an adjustment unit 663 for adjusting the brightness level of the light source if the pixel grayscale level does not meet the image acquisition condition of the light source, and the light source is used to assist the image acquisition device in acquiring the original pole piece image.

[0127] Optionally, the adjustment unit 663 is specifically configured to increase the brightness level of the light source if the grayscale level of the pixel is lower than a second grayscale threshold.

[0128] Figure 6 The damage detection device of the illustrated embodiment can be used to implement the technical solution of the above-mentioned method embodiment. Its implementation principle and technical effect are similar and will not be described in detail here.

[0129] Figure 7 Schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. The electronic device may be the terminal device described in the above embodiment. The electronic device provided in an embodiment of the present disclosure may execute the processing flow provided in the damage detection method embodiment, such as Figure 7 As shown, the electronic device 70 includes: a memory 71, a processor 72, a computer program and a communication interface 73; wherein the computer program is stored in the memory 71 and is configured so that the processor 72 executes the damage detection method as described above.

[0130] In addition, the embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the damage detection method described in the above embodiment. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0131] In addition, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the damage detection method as described above is implemented.

[0132] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0133] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0134] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0135] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0136] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0137] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A damage detection method, It is characterized in that The method comprises: Extracting the pole piece region from the original pole piece image; Smoothing the pole piece region to obtain a smoothed region; Comparing the pole piece region with the smoothing region to determine a filled region, wherein the filled region includes one or more filled sub-regions; Determine a damaged area among the plurality of filled sub-areas based on the shape and / or area of ​​each of the filled sub-areas; The damaged area is output as a damage detection result.

2. The method according to claim 1, It is characterized in that The extracting of the pole piece region in the original pole piece image comprises: The image of the electrode to be inspected is acquired by an image acquisition device to obtain an original electrode image; Pixels whose grayscale values ​​in the original pole piece image are lower than a first grayscale threshold are extracted to obtain the pole piece region.

3. The method according to claim 1, It is characterized in that The determining of the damaged area in the plurality of filled sub-areas based on the shape and / or area of ​​each of the filled sub-areas comprises: For any of the filled sub-regions, if the short radius of the equivalent ellipse of the filled sub-region is greater than a preset radius threshold, the filled sub-region is determined to be a damaged region.

4. The method according to claim 1, It is characterized in that The screening based on the shape and / or area of ​​each of the filled sub-regions to determine the damaged region in the multiple filled sub-regions includes: For any of the filled sub-regions, if the area of ​​the filled sub-region is greater than a preset area threshold, the filled sub-region is determined to be a damaged region.

5. The method according to claim 1, It is characterized in that The method further comprises: Determining a light source evaluation area in the original pole piece image, wherein the light source evaluation area is an area of ​​a preset area outside the pole piece area; Obtaining the pixel grayscale level of the light source evaluation area.

6. The method according to claim 5, It is characterized in that The obtaining of the pixel gray level in the light source evaluation area comprises: Traversing the pixels in the light source evaluation area to obtain the grayscale value of each pixel; Calculating the grayscale average value in the light source evaluation area according to the grayscale value of each pixel; The grayscale average value is used as the pixel grayscale level of the light source evaluation area.

7. The method according to claim 5, It is characterized in that The method further comprises: If the pixel grayscale level does not meet the image acquisition condition of the light source, the brightness level of the light source is adjusted, and the light source is used to assist the image acquisition device in acquiring the original pole piece image.

8. The method according to claim 7, It is characterized in that If the pixel grayscale level does not meet the image acquisition condition of the light source, adjusting the brightness level of the light source includes: If the grayscale level of the pixel is lower than a second grayscale threshold, the brightness level of the light source is increased.

9. A damage detection device, It is characterized in that include: An extraction module, used for extracting the pole piece area in the original pole piece image; A smoothing processing module, used for smoothing the pole piece region to obtain a smoothed region; A first determination module, used for comparing the pole piece region with the smoothing region to determine a filled region, wherein the filled region includes one or more filled sub-regions; A second determination module, configured to determine a damaged area among the plurality of filled sub-areas based on the shape and / or area of ​​each of the filled sub-areas; An output module is used to output the damaged area as a damage detection result.

10. An electronic device, It is characterized in that include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Method and device for automatically detecting defects of lithium battery pole piece

    CN104655644A

  • Substrate detection method and device, and computer readable storage medium

    CN107358603A

  • High-resolution light guide plate image defect detection method

    CN109102497A

  • An intelligent detection method of PCB defects based on image processing

    CN109242853A

  • Battery pole piece defect detection method and device

    CN117218085A