Size correction method and system suitable for slurry ultrasonic testing
By using plane wave ultrasonic scanning and energy compensation network of a ring array probe, combined with a sound field coverage ring and a two-dimensional point diffusion function, the inaccuracy problem of foreign object size detection in slurry production was solved, and high-precision correction of foreign object size was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WUXI TOPSOUND TECH CO LTD
- Filing Date
- 2025-08-26
- Publication Date
- 2026-05-15
AI Technical Summary
In lithium battery production, when using a large-diameter circular conveying pipe, the ultrasonic detection of foreign objects in the slurry suffers from severe energy attenuation, resulting in uneven reflected signals and making it difficult to accurately determine the size of foreign objects.
A plane wave ultrasonic scan was performed using a ring array probe. Combined with a sound field coverage ring and an energy compensation network, the foreign object region was segmented and its size was corrected using a two-dimensional point spread function. An ultrasonic compensation reflection map of the slurry was generated and the region was segmented to extract the corrected size of the foreign object region.
It improves the accuracy and reliability of foreign object size detection, ensures the accuracy of foreign object size calculation, and overcomes the detection deviation caused by ultrasonic energy attenuation.
Smart Images

Figure CN121095314B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a size correction method and system, and more particularly to a size correction method and system suitable for ultrasonic testing of slurries. Background Technology
[0002] In the lithium battery industry, the produced slurry is typically transported to a designated workstation via a conveying pipe, which is usually a circular tube. To improve the quality of lithium battery production, it is necessary to monitor the slurry within the conveying pipe. In existing technologies, ultrasonic testing can be used to detect the slurry. During ultrasonic scanning, to ensure compatibility with the conveying pipe, a ring-shaped ultrasonic probe is usually used to detect the slurry within the pipe.
[0003] To improve slurry delivery efficiency, a large-diameter circular delivery pipe is generally used. However, it's understandable that when using such a pipe, ultrasonic energy experiences significant attenuation. This results in strong reflected signals in the near-field region (close to the ultrasonic probe) and weak reflected signals in the far-field region (far from the probe), along with weak transmitted signals from the probe. Consequently, using ultrasonic imaging for slurry quality inspection makes it impossible to accurately determine the size of foreign objects within the slurry.
[0004] In lithium battery production, when foreign objects are detected in the slurry, accurately determining the size of the foreign objects is of great significance to the production of lithium batteries. Therefore, how to perform size correction is a technical problem that urgently needs to be solved. Summary of the Invention
[0005] The purpose of this invention is to overcome the shortcomings of the existing technology and provide a size correction method and system suitable for ultrasonic testing of slurry, which can effectively correct the size of foreign objects in slurry testing and improve the accuracy and reliability of the size of foreign objects obtained by testing.
[0006] According to the technical solution provided by the present invention, a size correction method suitable for ultrasonic testing of slurries is provided, the size correction method comprising:
[0007] A ring array probe is provided for ultrasonic testing of slurry, and the ring array probe is configured to perform ultrasonic testing on the slurry to generate an ultrasonic reflection map of the slurry after ultrasonic testing.
[0008] Energy compensation is performed on the ultrasonic reflection map of the slurry to generate an ultrasonic compensation reflection map of the slurry after energy compensation;
[0009] The ultrasonic compensation reflection map of the slurry is segmented into regions. When there are foreign objects in the ultrasonic compensation reflection map of the slurry, the foreign object region representing the presence of foreign objects is extracted in the ultrasonic compensation reflection map of the slurry after region segmentation.
[0010] For any foreign object region, the corrected foreign object size of the region is calculated after size extraction and correction processing, wherein,
[0011] When performing size extraction and correction processing, the following are included:
[0012] The two-dimensional point diffusion function of the slurry during ultrasonic testing by the ring array probe is obtained, and the size of the foreign object region is calculated and corrected using the two-dimensional point diffusion function to generate the foreign object correction size.
[0013] The foreign object correction dimension includes the foreign object area, wherein,
[0014] When the foreign object correction dimension is the foreign object area, the calculation of the foreign object correction dimension includes:
[0015] The center of the foreign object region is determined, and the foreign object region is divided into N sector regions based on the number N array elements in the ring array probe, and the radius of each sector region is determined.
[0016] For each sector region, extract the length of the diffusion function corresponding to the two-dimensional point diffusion function within the two-dimensional point diffusion function;
[0017] When calculating the sector area of the corresponding sector region using the region radius, the size correction is performed using the diffusion function length to calculate the corrected sector area of the generated sector region.
[0018] Based on the sector correction area of all sector regions, the foreign object area of the foreign object region is generated.
[0019] When calculating the sector correction area of the generated sector region, we have:
[0020]
[0021] Where s is the sector correction area, Υ is the region radius of the sector, and I is the length of the diffusion function corresponding to the sector.
[0022] When performing energy compensation on the ultrasonic reflectance of the slurry, the following is included:
[0023] Configure an energy compensation network corresponding to the ultrasonic reflection pattern of the slurry. The energy compensation network includes several concentrically distributed energy compensation rings, and each energy compensation ring includes several energy compensation grids.
[0024] One energy compensation grid within the outermost energy compensation ring is configured as a standard block grid, and the grid attribute information of the standard block grid is configured. The grid attribute information includes grid background information and grid foreground information. The grid background information includes the background noise generated based on the ring array probe, and the grid foreground information is generated at least based on the two-dimensional point spread function of the ring array probe performing ultrasonic scanning on the standard block.
[0025] Based on the grid attribute information of the standard block grid, the corresponding energy compensation threshold information is calculated and generated, wherein the energy compensation threshold information includes the gray-level mean threshold and the gray-level variance threshold.
[0026] For energy compensation grids other than the standard block grid in the energy compensation ring, calculate the basic energy compensation information for each grid, and compare the calculated basic energy compensation information with the energy compensation threshold information to determine the energy compensation type for each grid.
[0027] The basic information for energy compensation includes the mean gray level and the variance of gray level.
[0028] The energy compensation types include noise block, target block, and transition block;
[0029] For any energy compensation grid of type target block, when there is an energy compensation grid of type transition block around the energy compensation grid, at least a merging process is performed to generate an energy compensation region after merging. Each energy compensation region includes a target block, a transition block around the target block, and a noise block adjacent to the target block and / or the transition block.
[0030] For any energy-compensated region, pixel grayscale values are mapped based on the grid attribute information of the standard block grid to generate an energy-compensated region after pixel grayscale value mapping.
[0031] Based on all the energy-compensated regions, an ultrasonic compensation reflection map of the slurry is generated.
[0032] When performing pixel grayscale mapping, the following is included:
[0033] Construct the standard block grayscale histogram normalization curve of the standard block grid, and construct the grayscale histogram normalization curve of the compensation area for each energy compensation region;
[0034] For any gray value to be compensated within the energy compensation area, the corresponding histogram normalization function value is determined by searching on the gray histogram normalization curve of the compensation area, and the corresponding standard block gray value is determined on the standard block gray histogram normalization curve based on the determined histogram normalization function value.
[0035] Replace the grayscale values of all energy-compensated regions with the corresponding standard block grayscale values to generate energy-compensated regions.
[0036] When segmenting the ultrasonic compensation reflection map of the slurry into regions, the following steps are included:
[0037] Construct a statistical histogram of compensated reflections from the ultrasonic compensated reflection map of the slurry;
[0038] Within the compensated reflection statistical histogram, the maximum statistical value and the gray value corresponding to the maximum statistical value are determined, and the gray value is configured as the segmentation threshold.
[0039] The ultrasonic compensation reflection map of the slurry was binarized and segmented using a segmentation threshold, and the background was removed to extract the foreign object region.
[0040] A sound field covering ring is fitted onto the ring array probe to shield the sound field in the outer edge region of the ring array probe.
[0041] When ultrasonically testing the slurry flowing through the ring array probe, the ultrasonic signals emitted by the array elements pass through the sound field coverage ring before entering the inner ring of the ring array probe, and the configuration makes the sound field of the ultrasonic signals emitted by different array elements uniform.
[0042] When performing ultrasonic testing on slurry, the ring array probe is configured to be in plane wave ultrasonic scanning mode;
[0043] After ultrasonic testing of the slurry using a ring array probe in plane wave ultrasonic scanning state, plane wave reflection images and corresponding plane wave transmission images of the slurry are generated.
[0044] A mask is created based on the plane wave transmission image of the slurry, and the mask is used to remove artifacts from the plane wave reflection image of the slurry, so as to generate an ultrasonic reflection image of the slurry after artifact removal.
[0045] When the ring array probe is configured for plane wave ultrasonic scanning, the ultrasonic testing of the slurry includes several sequential interval ultrasonic scans, wherein...
[0046] Perform interval ultrasonic scanning, select the corresponding array elements in the ring array probe as a group of interval scanning substrates, and configure the timing of all array elements in the interval scanning substrate to emit ultrasonic signals to the inner ring of the ring array probe, so that the wavefront of the ultrasonic signals emitted by all array elements remains consistent after entering the slurry.
[0047] A dimensional correction system suitable for ultrasonic testing of slurries includes a ring array probe and an ultrasonic testing processor adapted and connected to the ring array probe, wherein...
[0048] The ultrasonic testing processor performs dimensional correction on the slurry ultrasonic reflection map generated using the ring array probe using the dimensional correction method described above.
[0049] Advantages of this invention: When performing ultrasonic testing on slurry, the ring array probe is configured to be in a plane wave ultrasonic scanning state. In order to avoid uneven sound field density at the outer edge of the ring array probe, a sound field covering ring can be set on the ring array probe to shield the sound field at the outer edge of the ring array probe, ensuring that the sound field entering the slurry is uniform.
[0050] To avoid the influence of depth attenuation, energy compensation can be performed on the ultrasonic reflectance map of the slurry to generate an ultrasonically compensated reflectance map. Subsequently, the ultrasonically compensated reflectance map is segmented into regions to generate foreign object regions. For these foreign object regions, size extraction and correction processing is performed to calculate the corrected foreign object size, effectively correcting the foreign object size in slurry detection and improving the accuracy and reliability of the detected foreign object size. Attached Figure Description
[0051] Figure 1 This is a schematic flowchart of one embodiment of the size correction of the present invention.
[0052] Figure 2 This is a schematic diagram of an embodiment of the present invention where the ring array probe is in a plane wave ultrasonic scanning state.
[0053] Figure 3 This is a schematic diagram of an embodiment of ultrasonic testing using the ring array probe of the present invention.
[0054] Figure 4 This is a schematic diagram of one embodiment of the standard block of the present invention.
[0055] Figure 5 This is a schematic diagram of one embodiment of the ultrasonic reflection pattern of the slurry in the standard block of the present invention.
[0056] Figure 6 This is a schematic diagram of one embodiment of the present invention for determining the segmentation threshold.
[0057] Figure 7 This is a schematic diagram of one embodiment of the energy compensation network of the present invention.
[0058] Figure 8 for Figure 7 A schematic diagram of one embodiment of the corresponding grayscale histogram.
[0059] Figure 9 This is a schematic diagram of one embodiment of pixel grayscale value mapping of the present invention.
[0060] Figure 10 This is a schematic diagram of one embodiment of the foreign object region of the present invention.
[0061] Figure 11 This is a schematic diagram of one embodiment of the present invention after dimensional correction of the foreign object area.
[0062] Explanation of reference numerals in the attached diagram: 1-Ring array probe body, 2-Sound field coverage ring, 3-Array element, 4-Effective area, 5-Standard block, 10-Standard block grayscale histogram normalization curve, 20-Grayscale histogram normalization curve of the area to be compensated. Detailed Implementation
[0063] The present invention will be further described below with reference to specific accompanying drawings and embodiments.
[0064] To effectively correct the size of foreign objects in slurry testing and improve the accuracy and reliability of the detected foreign object size, this invention provides a size correction method suitable for ultrasonic testing of slurries. Specifically, the size correction method includes:
[0065] A ring array probe is provided for ultrasonic testing of slurry, and the ring array probe is configured to perform ultrasonic testing on the slurry to generate an ultrasonic reflection map of the slurry after ultrasonic testing.
[0066] Energy compensation is performed on the ultrasonic reflection map of the slurry to generate an ultrasonic compensation reflection map of the slurry after energy compensation;
[0067] The ultrasonic compensation reflection map of the slurry is segmented into regions. When there are foreign objects in the ultrasonic compensation reflection map of the slurry, the foreign object region representing the presence of foreign objects is extracted in the ultrasonic compensation reflection map of the slurry after region segmentation.
[0068] For any foreign object region, the corrected foreign object size of the region is calculated after size extraction and correction processing, wherein,
[0069] When performing size extraction and correction processing, the following are included:
[0070] The two-dimensional point diffusion function of the slurry during ultrasonic testing by the ring array probe is obtained, and the size of the foreign object region is calculated and corrected using the two-dimensional point diffusion function to generate the foreign object correction size.
[0071] It should be understood that the size correction of the present invention specifically refers to the correction of the size obtained by ultrasonic testing of the slurry. The size specifically refers to the size of foreign matter in the slurry. The foreign matter in the slurry may be bubbles or agglomerates, etc. The slurry may be the lithium battery slurry mentioned above, or a slurry with the same properties. The type of slurry shall be determined based on whether it can be ultrasonically tested.
[0072] Figure 1 A flowchart illustrating an embodiment of the present invention for dimensional correction is shown. As illustrated, during dimensional correction, a ring array probe for ultrasonic testing of the slurry should be provided. The ring probe can adopt a commonly used form, such as the ring-shaped outer probe mentioned in publication number CN118465055A. The method and process of ultrasonic testing of the slurry using the ring array probe can be consistent with existing methods and will not be elaborated here. It is understood that after ultrasonic testing of the slurry using the ring array probe, an ultrasonic reflection map of the slurry can be generated. Generally, the ultrasonic reflection map of the slurry is a two-dimensional grayscale image.
[0073] When using a ring array probe for ultrasonic testing of slurry, either focused wave scanning or plane wave scanning can be employed. However, in focused wave scanning, the image size of the target object differs significantly between the focal and non-focal points, leading to uncontrollable and difficult-to-compensate dimensional deviations in subsequent automatic detection. In plane wave scanning, although the image size of the target object is larger than its actual size, the size remains consistent across different locations, facilitating subsequent uniform correction. Here, the target object refers to foreign matter present within the slurry. To facilitate dimensional correction, in one embodiment of this invention, the ring array probe is configured in plane wave ultrasonic scanning mode during slurry ultrasonic testing; that is, this invention employs plane wave scanning for ultrasonic testing of the slurry. The use of plane wave scanning for slurry testing will be described in detail below.
[0074] Considering that the energy of sound waves attenuates with depth during propagation in slurry, and that different types of slurry attenuate ultrasonic waves to different degrees, it is impossible to use a uniform energy compensation coefficient to compensate for the energy of the actual slurry image. However, if the ultrasonic reflection map of the slurry is not compensated, the response intensity of the same target object at different depths will be different. Specifically, after energy compensation of the ultrasonic reflection map of the slurry, a corresponding ultrasonic compensation reflection map of the slurry can be generated. The method and process of energy compensation of the ultrasonic reflection map of the slurry will be explained in detail below.
[0075] To determine whether foreign objects exist within the ultrasonic energy compensation reflection map of the slurry, the map should be segmented into regions after generation, such as... Figure 1 As shown; specifically, when there are foreign objects in the ultrasonic energy compensation reflection map of the slurry, the foreign object region representing the presence of the foreign object can be obtained after region segmentation. It can be understood that when there are no foreign objects in the ultrasonic energy compensation reflection map of the slurry, the foreign object region will not be obtained after region segmentation.
[0076] In existing technologies, after a foreign object region is extracted, it is generally processed directly to calculate the size of the foreign object corresponding to the current foreign object region. Understandably, the accuracy of the calculated size is relatively low. To improve the accuracy of foreign object size detection, this invention performs size extraction and correction processing on the foreign object region, that is, corrects the size calculated based on the foreign object region. The corrected foreign object size obtained in this way has higher accuracy and can more closely approximate the actual size of the foreign object in the slurry.
[0077] In one embodiment of the present invention, when performing dimensional extraction and correction processing, the two-dimensional point diffusion function of the slurry during ultrasonic testing by the slurry detection system should be obtained first. Then, the dimensional correction of the foreign object region is calculated using the two-dimensional point diffusion function, thereby generating the corrected foreign object dimension. This improves the accuracy and reliability of the calculated foreign object dimension. The method of obtaining the two-dimensional point diffusion function and using it for calculation and correction will be explained in detail below.
[0078] In one embodiment of the present invention, when the ring array probe is configured in a plane wave ultrasonic scanning state, the ultrasonic detection of the slurry includes several sequential interval ultrasonic scans, wherein...
[0079] Perform interval ultrasonic scanning, select the corresponding array element 3 in the ring array probe as a group of interval scanning substrates, and configure the timing of all array elements 3 in the interval scanning substrate to emit ultrasonic signals to the inner ring of the ring array probe, so that the wavefront of the ultrasonic signals emitted by all array elements 3 in the interval scanning substrate remains consistent after entering the slurry.
[0080] As explained above, ultrasonic testing of slurry is performed using plane wave scanning. Therefore, during ultrasonic testing, the ring array probe should be configured in plane wave ultrasonic scanning mode. The ultrasonic testing process generally includes several sequential interval ultrasonic scans. For each interval scan, the corresponding array element 3 within the ring array probe should be selected as a set of interval scanning substrates. Subsequently, an ultrasonic scan of the slurry is performed using the selected interval scanning substrates. During the ultrasonic scan, the timing of the ultrasonic signals emitted by the array element 3 within the interval scanning substrates to the slurry should be configured. When performing ultrasonic testing of the slurry using the ring array probe, the ring array probe is generally mounted on the slurry conveying pipe. Therefore, when reflecting ultrasonic signals to the slurry, the ultrasonic signals are emitted towards the inner ring of the ring array probe.
[0081] It should be noted that the method for selecting the substrate for interval scanning can be consistent with existing technologies, such as the relevant description of the external probe substrate for interval scanning mentioned in CN118465055A. Figure 2 The figure illustrates an embodiment of the interval scanning substrate of the present invention. As shown in the figure, each interval scanning substrate may include 7 array elements 3, which are arranged sequentially. When performing one interval scan, the 7 array elements 3 generally emit ultrasonic signals to the slurry. Figure 2 The effective area 4 is the area through which the slurry flows.
[0082] To ensure the uniformity of the ultrasonic reflection pattern of the slurry generated by ultrasonic testing, the wavefronts of the ultrasonic signals emitted by all array elements 3 should be kept consistent after entering the slurry. Specifically, "all array elements 3" refers to array elements 3 within the same scanning matrix region. To further ensure this consistency, the ultrasonic signals emitted by array elements 3 within the same scanning matrix region should be subject to time delay control. An example of this time delay control method is provided below.
[0083] right Figure 2 The middle section scans seven adjacent array elements 3 within the matrix. Using the positions of the two end array elements 3 as references, the distances of the other five array elements 3 from the end array elements 3 are calculated. The seven array elements are then arranged according to... Figure 2 When sorting from left to right, it is necessary to adjust the time of delay to ensure that the wavefronts of the ultrasonic signals emitted by the first to seventh array elements remain consistent after entering the slurry. In other words, it is necessary to adjust the timing of the ultrasonic signals emitted by different array elements 3 in the scanning matrix.
[0084] When multiple adjacent array elements 3 are selected and their transmission timing is controlled to ensure that the ultrasonic waves emitted by each array element 3 arrive at the effective area simultaneously, the sound field density varies in the surrounding area of the ring array probe due to the timing differences among the multiple array elements 3. To overcome this problem of uneven sound field density, in one embodiment of the present invention, a sound field covering ring 2 is fitted onto the ring array probe to shield the sound field in the outer edge area of the ring array probe.
[0085] When ultrasonically testing the slurry flowing through the ring array probe, the ultrasonic signal emitted by the array element 3 enters the inner ring of the ring array probe after passing through the sound field coverage ring, and the configuration makes the sound field of the ultrasonic signal emitted by different array elements 3 uniform.
[0086] In practical implementation, the sound field covering ring 2 can be a rubber ring of the same thickness, or other forms, depending on whether it affects the ultrasonic testing of the slurry. The sound field covering ring 2 can shield the problem of uneven sound field density in the outer edge region of the ring array probe. Furthermore, the image area at the location of the sound field covering ring 2 can be considered an invalid area in the slurry image, thus eliminating the problem of uneven sound field density in the outer edge region of the ring array probe. This ensures a uniform sound field within the effective area 4, resulting in the same image size for the same target object at different locations. Additionally, when the sound field covering ring 2 is a rubber ring, it can also protect the ring array probe from corrosion by the slurry.
[0087] When performing delay control, assume that the propagation speed of the ultrasonic signal in the sound field covering ring 2 is v2 and the propagation speed in the slurry is v1. Considering that the slurry concentration changes and its fixed speed cannot be controlled, the sound field covering ring 2 should be made of a soft and corrosion-resistant rubber material with a similar sound speed. A suitable delay curve needs to be designed according to the geometric coordinate relationship to ensure that the wavefront of the ultrasonic wave is always on the same horizontal line during the propagation of the ultrasonic wave inside the slurry. This will ensure the uniformity of the ultrasonic reflection pattern of the slurry generated later. If the corresponding sound speeds of the sound field covering ring 2 and the slurry are the same, the delay curve will be horizontal.
[0088] In one embodiment of the present invention, the delay control of each array element 3 is designed by adjusting the delay curve. Specifically, the delay curve is designed at a distance Rr from the array element, where R is the radius of the ring array probe, that is, the distance from the center of the ring array probe to the sound field coverage ring 2, and r is the radius of the effective area 4.
[0089] In practical implementation, the central array element 3 emits ultrasonic signals, and the opposing array element 3 receives the transmitted signals. Based on the sampling frequency Fs and the number of sampling points Num of the transmitted waveform, the propagation time t of the sound wave along the entire path can be calculated, t = Num / Fs. After the material of the sound field coverage ring 2 is determined, the propagation speed of the ultrasonic wave inside the sound field coverage ring 2 can be measured in advance and denoted as v2. Specifically, when the interval scanning matrix includes 7 array elements 3, the central array element is the fourth array element, and the opposing array element 3 is the array element directly corresponding to the fourth array element. Figure 2 As shown. Based on the above explanation, we have: Furthermore, based on the above explanation, the propagation speed v1 of the ultrasonic wave in the slurry can be calculated.
[0090] In practice, the delay curve divides the distance between each array element 3 and the slurry. The distance from each array element 3 to the delay curve is equal and equal to Rr. Specifically, the delay τ of each array element 3 relative to the central array element 3 is positive if τ is positive. In this case, the ultrasonic signal should be emitted later than the central array element. Otherwise, the ultrasonic signal needs to be emitted earlier. The time for emitting the ultrasonic signal later or earlier is τ. Where R and r are known.
[0091] The following example uses the calculation of the delay τ between the first and fourth array elements to illustrate the specific calculation process:
[0092]
[0093] Specifically, the values of R and r can be found in the above explanation, and the values of L, xl, xl1, xl2, and S can be found in [the following text is incomplete and requires further context]. Figure 2 The corresponding illustration. (From) Figure 2As can be seen, once the order of the first and fourth array elements is determined, the corresponding angle θ can be determined. Subsequently, the corresponding delay τ can be calculated according to the above calculation formula. The delay τ of other array elements 3 relative to the central array element 3 can be calculated with reference to the explanation here, and will not be explained one by one.
[0094] In practical implementation, when configuring the interval scanning substrate to perform one interval scan, the corresponding ultrasonic reflection signal and ultrasonic transmission signal can be acquired simultaneously. After all interval scans are completed, a slurry plane wave reflection image can be generated based on the obtained ultrasonic reflection signals. In addition, for all ultrasonic transmission signals, a corresponding slurry plane wave transmission image can be obtained by CT back projection reconstruction. The specific method and process of obtaining the slurry plane wave transmission image through CT back projection reconstruction can be consistent with existing technologies and will not be elaborated here. Of course, the method and process of generating the slurry plane wave reflection image based on all ultrasonic reflection signals can also be consistent with existing technologies, such as weighted summation at the same location based on the ultrasonic reflection signals acquired by the interval scan. Examples will not be given here.
[0095] In one embodiment of the present invention, after ultrasonic testing of the slurry based on a ring array probe in a plane wave ultrasonic scanning state, a plane wave reflection image of the slurry and a corresponding plane wave transmission image of the slurry are generated.
[0096] A mask is created based on the plane wave transmission image of the slurry, and the mask is used to remove artifacts from the plane wave reflection image of the slurry, so as to generate an ultrasonic reflection image of the slurry after artifact removal.
[0097] In specific implementation, after obtaining the plane wave reflection image and the corresponding plane wave transmission image of the slurry, the plane wave transmission image can be configured as a mask. Subsequently, artifact removal is performed on the plane wave reflection image, and the ultrasonic reflection image of the slurry according to this invention can be generated after artifact removal. Specifically, after generating the plane wave transmission image, the plane wave transmission image can be binarized and segmented to create a mask. A mask segmentation threshold is selected based on the plane wave transmission image. The mask segmentation threshold can be an empirical value, or it can be determined using methods commonly used in this technical field based on the imaging state of the plane wave transmission image, such as performing grayscale histogram statistics and selecting the corresponding grayscale value as the mask segmentation threshold based on the grayscale histogram statistics results.
[0098] After determining the mask segmentation threshold, on the slurry plane wave transmission image, pixels with gray values lower than the mask segmentation threshold are filled with 1, otherwise, the corresponding pixels are filled with 0. Generally, the area with gray values lower than the mask segmentation threshold is the area of the target object; the area filled with 0 can generally be regarded as the background area of the slurry plane wave transmission image. After filling each pixel, the mask is completed.
[0099] When removing artifacts from a plane wave reflection image of slurry using a mask, the mask is multiplied by the slurry plane wave reflection image. After multiplication, the corresponding zero-filled areas are replaced with background noise, thus generating an ultrasonic reflection image of the slurry, which completes the artifact removal. The background noise is explained in the relevant descriptions below and will not be repeated here. Of course, other methods can also be used to create the mask and remove artifacts, which will not be illustrated here.
[0100] As can be seen from the above description, when performing size correction, the present invention should obtain the two-dimensional point spread function of the ring array probe. The following is an example illustrating the method and process of obtaining the two-dimensional point spread function of the ring array probe. Specifically, one feasible method is as follows:
[0101] Provide a standard block 5 and place the standard block 5 at the exact center of the ring array probe. The standard block 5 can be a uniform solid metal cylinder.
[0102] A ring array probe is configured to perform ultrasonic testing on standard block 5. The ultrasonic testing method for standard block 5 can be consistent with the ultrasonic testing method for slurry described above, such as performing several sequential interval ultrasonic scans on standard block 5, and the number of interval ultrasonic scans performed is consistent with the number of interval ultrasonic scans performed on slurry.
[0103] The difference lies in the fact that when performing a single interval ultrasound scan on standard block 5, the centerline data of the current interval ultrasound scan should be selected. As mentioned above, each interval scan matrix includes 7 array elements 3, so the ultrasonic wave reflected signal received by the fourth array element according to the above order is the centerline data. After determining the centerline data, the maximum sampling value point within the centerline data is determined. Then, a segment of data is extracted before and after the maximum sampling value point to serve as the basic data for point spread function reconstruction. For example, the sampling values of 10 sampling points can be extracted before and after the maximum sampling value point to form the corresponding basic data for point spread function reconstruction.
[0104] After performing ultrasonic testing on standard block 5, a two-dimensional point spread function can be reconstructed based on the basic data reconstructed from all the point spread functions. Figure 3As can be seen, due to the inconsistency of array element 3 itself, the sound waves are inconsistent, so the point spread function is not a standard Gaussian type. This invention preferably reconstructs the two-dimensional point spread function based on the inverse Radon transform, a method consistent with existing technologies. Of course, other methods can also be used to reconstruct the corresponding two-dimensional point spread function; the specific reconstruction method can be selected as needed, and will not be illustrated here.
[0105] Figure 5 An embodiment of standard block 5 is shown. It can be understood that the maximum value of the centerline data represents the reflection peak at the center of standard block 5, and the number of sampling points before and after the maximum sampling value corresponds to the spatial resolution. If there is no loss during information transmission, the image edges should be step-shaped. However, information loss inevitably occurs during actual transmission, so the cylindrical edge region of the image is a Gaussian slope shape. Here, transmission refers to transmission within the ultrasound system, which may include a ring array probe and an ultrasound detection processor; that is, the ultrasound system is a system capable of performing ultrasound scanning and ultrasound signal processing. Furthermore, based on the above description, the reconstructed two-dimensional point spread function should include several spread function lengths, each corresponding to the centerline data of the interval ultrasound scan performed on standard block 5. In addition, Figure 6 This is an example of a reflection image generated after ultrasonic testing of standard block 5. As can be seen from the figure, if the size is calculated directly using the reflection image, there will be a deviation. That is, the size correction performed by this invention is very necessary.
[0106] In one embodiment of the present invention, the foreign object correction dimension includes the foreign object area, wherein,
[0107] When the foreign object correction dimension is the foreign object area, the calculation of the foreign object correction dimension includes:
[0108] The center of the foreign object region is determined, and the foreign object region is divided into N sector regions based on the number N array elements 3 in the ring array probe, and the region radius of each sector region is determined.
[0109] For each sector region, extract the length of the diffusion function corresponding to the two-dimensional point diffusion function within the two-dimensional point diffusion function;
[0110] When calculating the sector area of the corresponding sector region using the region radius, the size correction is performed using the diffusion function length to calculate the corrected sector area of the generated sector region.
[0111] Based on the sector correction area of all sector regions, the foreign object area of the foreign object region is generated.
[0112] It should be understood that the foreign object correction dimension can be a typical characteristic dimension of the foreign object, such as its area or length. When the foreign object correction dimension is the area of the foreign object, the center of the foreign object region should be determined first. Generally, the shape of a foreign object in the reflected image is circular or similar to a circle. Figure 10 An embodiment of the foreign object region is shown. Therefore, for each foreign object region, the center of the foreign object region can be determined using techniques commonly used in this technical field. The center is similar to the center of a circle in the foreign object region.
[0113] After determining the center of the foreign object region, to correct the calculated foreign object area, the region can be divided into N sector regions. The number N should correspond to the number of array elements 3 within the ring array probe. Each sector region should also correspond to one interval ultrasonic scan performed on the slurry; the specific correspondence can be found in the above description. For each sector region, its corresponding radius can be determined. For example, the maximum value from the center to the outer edge of the sector region can be used as the region radius. Of course, other methods can also be used to determine the region radius.
[0114] As explained above, each sector corresponds to a sequential interval of ultrasound scanning. Based on the method for obtaining the two-dimensional point spread function, each sector interval should correspond to a spread function length. After determining the interval ultrasound scan corresponding to the sector region, the corresponding spread function length can be extracted. Subsequently, when calculating the sector area of the corresponding sector region using the region radius, the spread function length is used for size correction to calculate the corrected sector area of the generated sector region. Specifically, when calculating the corrected sector area of the generated sector region, the following applies:
[0115]
[0116] Where s is the sector correction area, Υ is the region radius of the sector, and I is the length of the diffusion function corresponding to the sector.
[0117] After calculating the sector correction area of all sector regions, the sector correction areas can be summed to obtain the foreign object area of the foreign object region. Figure 11 The text shows the... Figure 10 One embodiment after dimensional correction of the foreign object area in the sample. Figure 11 In this context, the area of the foreign object should be the area enclosed by the inner black ring. It is understood that when the foreign object correction dimension is another type of dimension, the calculation and correction can be performed referring to this explanation; examples will not be provided here.
[0118] In one embodiment of the present invention, when performing energy compensation on the ultrasonic reflectance pattern of the slurry, the following steps are included:
[0119] Configure an energy compensation network corresponding to the ultrasonic reflection pattern of the slurry. The energy compensation network includes several concentrically distributed energy compensation rings, and each energy compensation ring includes several energy compensation grids.
[0120] One energy compensation grid within the outermost energy compensation ring is configured as a standard block grid, and the grid attribute information of the standard block grid is configured. The grid attribute information includes grid background information and grid foreground information. The grid background information includes the background noise generated based on the ring array probe, and the grid foreground information is generated based at least on the two-dimensional point spread function of the ring array probe performing ultrasonic scanning on the standard block 5.
[0121] Based on the grid attribute information of the standard block grid, the corresponding energy compensation threshold information is calculated and generated, wherein the energy compensation threshold information includes the gray-level mean threshold and the gray-level variance threshold.
[0122] For energy compensation grids other than the standard block grid in the energy compensation ring, calculate the basic energy compensation information for each grid, and compare the calculated basic energy compensation information with the energy compensation threshold information to determine the energy compensation type for each grid.
[0123] The basic information for energy compensation includes the mean gray level and the variance of gray level.
[0124] The energy compensation types include noise block, target block, and transition block;
[0125] For any energy compensation grid of type target block, when there is an energy compensation grid of type transition block around the energy compensation grid, at least a merging process is performed to generate an energy compensation region after merging. Each energy compensation region includes a target block, a transition block around the target block, and a noise block adjacent to the target block and / or the transition block.
[0126] For any energy-compensated region, pixel grayscale values are mapped based on the grid attribute information of the standard block grid to generate an energy-compensated region after pixel grayscale value mapping.
[0127] Based on all the energy-compensated regions, an ultrasonic compensation reflection map of the slurry is generated.
[0128] As explained above, without energy compensation for the ultrasonic reflectance of the slurry, the response intensity of the same target object at different depths will vary. Figure 8 As shown, Figure 8In the diagram, the positions of the marked targets are the grayscale histograms corresponding to the three target objects. Black is the histogram of standard block 5, green is the grayscale histogram of target object 1, and red is the grayscale histogram of target object 2. As can be seen from the diagram, the difference in intensity will also lead to different calculated foreign object correction dimensions.
[0129] During energy compensation, an energy compensation network should be constructed that corresponds directly to the ultrasonic reflectance pattern of the slurry. Figure 7 The diagram illustrates one embodiment of constructing an energy compensation network. As shown, the energy compensation network may include several energy compensation rings arranged concentrically. Specifically, along the direction from the center to the outer edge of the slurry's ultrasonic reflectance pattern, compensation base rings with progressively increasing radii can be set on the slurry's ultrasonic reflectance pattern. Furthermore, several dividing lines intersecting and connecting with the compensation base rings should also be set. These dividing lines can extend outward from the innermost compensation base ring, specifically to form... Figure 7 The energy compensation network in the system shall prevail. Figure 7 It can be seen that after the energy compensation network is formed, it can include several energy compensation grids. Generally, an energy compensation ring can be formed between two adjacent compensation base rings, and each energy compensation ring can be divided into a network compensation grid by two adjacent dividing lines.
[0130] Generally, within the energy compensation network, the energy compensation rings at the edges should correspond to the aforementioned sound field coverage ring 2. The positions of these corresponding energy compensation rings are generally not used for foreign object detection; therefore, an energy compensation grid can be selected as the standard block grid. For the standard block grid, its grid attribute information should be configured. Figure 8 The area with white dots distributed within the outermost energy compensation ring is the standard block mesh. When configuring mesh attribute information, the mesh background information and mesh foreground information of the standard block mesh should be configured. When configuring the mesh background information, the background noise of the ring array probe can be filled into the standard block mesh; that is, the grayscale value of each pixel within the standard block mesh is configured as the background noise. When configuring the mesh foreground information, the two-dimensional point spread function generated by ultrasonic testing of standard block 5 can be used. As explained above, ultrasonic testing of standard block 5 yields several corresponding basic data for point spread function reconstruction. The point spread function of all scanning intervals can be used to generate corresponding point spread function images using a back-projection reconstruction algorithm. These point spread function images are used as the mesh foreground information; that is, the standard block mesh can be considered as a superposition of the image based on the background noise and the point spread function image.
[0131] Regarding the background noise of the ring array probe, the ultrasonic signal acquired under the condition that the ultrasonic emission function of the ring array probe is turned off can generally be used as the background noise value. The background noise value reflects the basic properties of the ring array probe. Other methods can also be used to obtain the background noise, which can be selected according to the needs, and will not be elaborated here.
[0132] By configuring the grid attribute information of the standard block grid, the corresponding energy compensation threshold information can be calculated and generated. Generally, the energy compensation threshold information should include the gray-level mean threshold and the gray-level variance threshold. Specifically, the corresponding gray-level mean threshold can be calculated based on the gray-level values of all pixels filled with background noise and the gray-level values of the point spread function image within the standard grid block. Similarly, the corresponding gray-level variance threshold can be calculated. In addition, the gray-level mean threshold and gray-level variance threshold can be manually set based on empirical values.
[0133] In practice, for energy compensation grids other than the energy compensation ring where the standard block grid is located, the basic energy compensation information corresponding to each energy compensation grid should be calculated. The basic energy compensation information includes the gray-scale mean and gray-scale variance. Specifically, since each energy compensation grid corresponds to the corresponding area of the slurry ultrasonic reflection map, after determining the position of the energy compensation grid, the gray-scale value of the pixel in the corresponding area of the slurry ultrasonic reflection map can be extracted, and then the corresponding gray-scale mean and gray-scale variance can be calculated.
[0134] The basic energy compensation information for each energy compensation grid is calculated, and this information is compared with the energy compensation threshold information to determine the energy compensation type of each grid. Specifically, if the gray-level mean of the energy compensation grid is less than the gray-level mean threshold and the corresponding gray-level variance is also less than the gray-level variance threshold, then the corresponding energy compensation grid should be considered a noise block. If the gray-level mean of the energy compensation grid is greater than the gray-level mean threshold and the corresponding gray-level variance is also greater than the gray-level variance threshold, then the corresponding energy compensation grid should be considered a target block. Other cases are referred to as transition blocks. Figure 8 The illustrated embodiment shows one example of two target blocks.
[0135] Since the transition block may be segmented by the grid due to its small size or positional deviation, the transition block should be considered as part of the target block. In order to avoid affecting the subsequent size correction accuracy, in one embodiment of the present invention, for any energy compensation grid of the target block type, when there is an energy compensation grid of the transition block type around the energy compensation grid, at least a merging process is performed to generate an energy compensation area after merging. The energy compensation area includes a target block, a transition block located around the target block, and a noise block adjacent to the target block and / or the transition block.
[0136] Specifically, the energy compensation grid surrounding the energy compensation grid refers to two energy compensation grids being at least adjacent. For example, if there are 8 energy compensation grids around target object 2, during the merging process, at least one of these 8 energy compensation networks must be a transition block in terms of energy compensation type. Other cases can be referred to the explanation here. Furthermore, to improve the reliability of energy compensation, noise blocks adjacent to the target block and transition blocks should also be merged during the merging process. Figure 7 In the process, if there are transition blocks in the eight energy compensation grids surrounding the target object 2, then the noise blocks adjacent to the transition blocks will also be merged. Furthermore, if there are noise blocks in all eight energy compensation grids, then the noise blocks should also be merged. Of course, noise blocks that are not adjacent to the target block or the transition blocks should not be merged.
[0137] Furthermore, before performing the above merging process, the target objects can be clustered. If multiple target objects exist simultaneously in the ultrasonic reflection image of the slurry, the clustering process can automatically distinguish the target objects. During the clustering process, commonly used clustering methods can be used. After clustering, the position of each target object can be obtained. This position often falls within the target block. Based on the position of each target object, its adjacent transition blocks can be determined, and the grid regions belonging to the same target object can be accurately selected.
[0138] For any energy-compensated region, pixel grayscale values are mapped based on the grid attribute information of a standard block grid to generate an energy-compensated region. In one embodiment of the present invention, the pixel grayscale mapping includes:
[0139] Construct the standard block grayscale histogram normalization curve 10 for the standard block grid, and construct the grayscale histogram normalization curve 20 for each energy compensation region.
[0140] For any gray value to be compensated within the energy compensation area, the corresponding histogram normalization function value is searched and determined on the gray histogram normalization curve 20 of the compensation area, and the corresponding standard block gray value is determined on the standard block gray histogram normalization curve 10 based on the determined histogram normalization function value.
[0141] Replace the grayscale values of all energy-compensated regions with the corresponding standard block grayscale values to generate energy-compensated regions.
[0142] Based on the above description of the standard block grid, a corresponding standard block grayscale histogram normalization curve 10 can be constructed. The method for constructing the standard block grayscale histogram normalization curve 10 can be consistent with existing technologies, such as statistically analyzing the grayscale values of all pixels in the standard block grid based on the grid attribute information of the labeled block grid. Subsequently, the corresponding standard block grayscale histogram normalization curve 10 can be constructed. Similarly, a grayscale histogram normalization curve 20 for each energy compensation region can be constructed. Figure 9 The figure outputs an embodiment of constructing a standard block grayscale histogram normalization curve 10 and a compensation area grayscale histogram normalization curve 20. In the figure, the horizontal axis is the grayscale value and the vertical axis is the proportion normalization value corresponding to each grayscale value.
[0143] As explained above, when constructing the gray-level histogram normalization curve 20 for the compensation area, the gray-level histogram within the energy compensation area should be statistically analyzed. Therefore, all pixel gray-level values within the energy compensation area can be determined, and each gray-level value is used as the gray-level value to be compensated. During pixel gray-level mapping, based on the gray-level value to be compensated, the corresponding histogram normalization function value can be searched and determined on the gray-level histogram normalization curve 20 for the compensation area. Subsequently, based on the determined histogram normalization function value, the corresponding standard block gray-level value is determined on the standard block gray-level histogram normalization curve 10, such as... Figure 9 In this context, idx is the grayscale value to be compensated, and ind is the grayscale value of the standard block corresponding to the grayscale value idx.
[0144] For grayscale values belonging to the same energy compensation region, the corresponding standard block grayscale values can be determined using the method described above. After obtaining the standard block grayscale values corresponding to all grayscale values to be compensated, the grayscale values to be compensated in all energy compensation regions can be replaced with the corresponding standard block grayscale values to generate the energy-compensated region. For example, the grayscale value corresponding to the grayscale value idx to be compensated can be replaced with the standard block grayscale value ind.
[0145] As can be seen from the above description, after pixel grayscale mapping, the energy of the target object at different depths and positions can be basically unified, thereby improving the accuracy and reliability of the foreign object region obtained by subsequent region segmentation.
[0146] As explained above, after energy compensation, the ultrasonically compensated reflectance map of the slurry needs to be segmented into regions in order to extract the foreign matter region within the ultrasonically compensated reflectance map. In one embodiment of the present invention, the region segmentation of the ultrasonically compensated reflectance map of the slurry includes:
[0147] Construct a statistical histogram of compensated reflections from the ultrasonic compensated reflection map of the slurry;
[0148] Within the compensated reflection statistical histogram, the maximum statistical value and the gray value corresponding to the maximum statistical value are determined, and the gray value is configured as the segmentation threshold.
[0149] The ultrasonic compensation reflection map of the slurry was binarized and segmented using a segmentation threshold, and the background was removed to extract the foreign object region.
[0150] As explained above, the ultrasonic compensation reflection image of the slurry is a grayscale image. When segmenting the grayscale image, the selection of the segmentation threshold is crucial. This is because there is a transition zone between the background and foreground in the grayscale image. If the segmentation threshold is too low, the background area will be classified as the foreground, resulting in the target object being larger than its actual size. If the segmentation threshold is too high, some target objects will be classified as the background, resulting in the target object being smaller than its actual size. In traditional methods, when segmenting based on grayscale thresholds, using a threshold of 2 is most reasonable. Figure 6 As shown, in practice, the blank area between the background and the target object is often used as the segmentation threshold. At this time, the actual target size of the target object is not accurate. Although many algorithms have been proposed to find the position of the threshold 2, the algorithms are often time-consuming and unstable, making it difficult to meet the actual needs.
[0151] In one embodiment of the present invention, in order to obtain a segmentation threshold, a statistical histogram of compensated reflection of the ultrasonic compensated reflection map of the slurry should be constructed. Then, within the statistical histogram of compensated reflection, the maximum statistical value and the gray value corresponding to the maximum statistical value are determined, and the gray value is configured as the segmentation threshold, that is, the gray value corresponding to the maximum statistical value can be used as the background. After determining the segmentation threshold, the ultrasonic compensated reflection map of the slurry can be binarized using the segmentation threshold. During binarization segmentation, it can be consistent with existing technology. For example, for the gray value of each pixel in the ultrasonic compensated reflection map of the slurry, if the gray value of the pixel is lower than the segmentation threshold, then the current pixel is used as a background pixel; otherwise, the current pixel is used as a foreground pixel. When a pixel is a foreground pixel, then the current pixel should be a pixel within the foreign object region.
[0152] After binarization segmentation using the above method, the background can be cropped, leaving the foreign object region, thus enabling the extraction of the foreign object region. Of course, other methods can also be used to extract foreign objects; the specific extraction methods and processes will not be illustrated here.
[0153] From the above description, a size correction system suitable for ultrasonic testing of slurries can be obtained. In one embodiment of the present invention, it includes a ring array probe and an ultrasonic testing processor adapted and connected to the ring array probe, wherein...
[0154] The ultrasonic testing processor performs dimensional correction on the slurry ultrasonic reflection map generated using the ring array probe using the dimensional correction method described above.
[0155] Specifically, the ultrasonic testing processor can be any existing terminal equipment capable of ultrasonic data processing. The type of ultrasonic testing processor can be selected as needed, and will not be elaborated here. The methods for generating the ultrasonic reflection map of the slurry, as well as the methods and processes for dimensional correction, can be referred to the corresponding descriptions above, and will not be repeated here.
Claims
1. A dimensional correction method suitable for ultrasonic testing of slurries, characterized in that, The size correction method includes: A ring array probe is provided for ultrasonic testing of slurry, and the ring array probe is configured to perform ultrasonic testing on the slurry to generate an ultrasonic reflection map of the slurry after ultrasonic testing. Energy compensation is performed on the ultrasonic reflection map of the slurry to generate an ultrasonic compensation reflection map of the slurry after energy compensation; The ultrasonic compensation reflection map of the slurry is segmented into regions. When there are foreign objects in the ultrasonic compensation reflection map of the slurry, the foreign object region representing the presence of foreign objects is extracted in the ultrasonic compensation reflection map of the slurry after region segmentation. For any foreign object region, the corrected foreign object size of the region is calculated after size extraction and correction processing, wherein, When performing size extraction and correction processing, the following are included: The two-dimensional point diffusion function of the slurry during ultrasonic testing by the ring array probe is obtained, and the size of the foreign object region is calculated and corrected using the two-dimensional point diffusion function to generate the foreign object correction size. When performing energy compensation on the ultrasonic reflectance of the slurry, the following is included: Configure an energy compensation network corresponding to the ultrasonic reflection pattern of the slurry. The energy compensation network includes several concentrically distributed energy compensation rings, and each energy compensation ring includes several energy compensation grids. One energy compensation grid within the outermost energy compensation ring is configured as a standard block grid, and the grid attribute information of the standard block grid is configured. The grid attribute information includes grid background information and grid foreground information. The grid background information includes the background noise generated based on the ring array probe, and the grid foreground information is generated at least based on the two-dimensional point spread function of the ring array probe performing ultrasonic scanning on the standard block. Based on the grid attribute information of the standard block grid, the corresponding energy compensation threshold information is calculated and generated, wherein the energy compensation threshold information includes the gray-level mean threshold and the gray-level variance threshold. For energy compensation grids other than the standard block grid in the energy compensation ring, calculate the basic energy compensation information for each grid, and compare the calculated basic energy compensation information with the energy compensation threshold information to determine the energy compensation type for each grid. The basic information for energy compensation includes the mean gray level and the variance of gray level. The energy compensation types include noise block, target block, and transition block; For any energy compensation grid of type target block, when there is an energy compensation grid of type transition block around the energy compensation grid, at least a merging process is performed to generate an energy compensation region after merging. Each energy compensation region includes a target block, a transition block around the target block, and a noise block adjacent to the target block and / or the transition block. For any energy-compensated region, pixel grayscale values are mapped based on the grid attribute information of the standard block grid to generate an energy-compensated region after pixel grayscale value mapping. Based on all the energy-compensated regions, an ultrasonic compensation reflection map of the slurry is generated.
2. The size correction method suitable for ultrasonic testing of slurry according to claim 1, characterized in that, The foreign object correction dimension includes the foreign object area, wherein, When the foreign object correction dimension is the foreign object area, the calculation of the foreign object correction dimension includes: The center of the foreign object region is determined, and the foreign object region is divided into N sector regions based on the number N array elements in the ring array probe, and the radius of each sector region is determined. For each sector region, extract the length of the diffusion function corresponding to the two-dimensional point diffusion function within the two-dimensional point diffusion function; When calculating the sector area of the corresponding sector region using the region radius, the size correction is performed using the diffusion function length to calculate the corrected sector area of the generated sector region. Based on the sector correction area of all sector regions, the foreign object area of the foreign object region is generated.
3. The size correction method suitable for ultrasonic testing of slurry according to claim 2, characterized in that, When calculating the sector correction area of the generated sector region, we have: in, For the sector correction area, Let be the radius of the sector-shaped region. This represents the length of the diffusion function corresponding to the sector region.
4. The size correction method suitable for ultrasonic testing of slurry according to claim 1, characterized in that, When performing pixel grayscale mapping, the following is included: Construct the standard block grayscale histogram normalization curve of the standard block grid, and construct the grayscale histogram normalization curve of the compensation area for each energy compensation region; For any gray value to be compensated within the energy compensation area, the corresponding histogram normalization function value is determined by searching on the gray histogram normalization curve of the compensation area, and the corresponding standard block gray value is determined on the standard block gray histogram normalization curve based on the determined histogram normalization function value. Replace the grayscale values of all energy-compensated regions with the corresponding standard block grayscale values to generate energy-compensated regions.
5. The size correction method suitable for ultrasonic testing of slurry according to claim 1, characterized in that, When segmenting the ultrasonic compensation reflection map of the slurry into regions, the following steps are included: Construct a statistical histogram of compensated reflections from the ultrasonic compensated reflection map of the slurry; Within the compensated reflection statistical histogram, the maximum statistical value and the gray value corresponding to the maximum statistical value are determined, and the gray value is configured as the segmentation threshold. The ultrasonic compensation reflection map of the slurry was binarized and segmented using a segmentation threshold, and the background was removed to extract the foreign object region.
6. The size correction method suitable for ultrasonic testing of slurry according to any one of claims 1 to 5, characterized in that, in A sound field coverage ring is fitted onto the ring array probe to shield the sound field in the outer edge region of the probe. When ultrasonically testing the slurry flowing through the ring array probe, the ultrasonic signals emitted by the array elements pass through the sound field coverage ring before entering the inner ring of the ring array probe, and the configuration makes the sound field of the ultrasonic signals emitted by different array elements uniform.
7. The size correction method suitable for ultrasonic testing of slurry according to claim 6, characterized in that, When performing ultrasonic testing on slurry, the ring array probe is configured to be in plane wave ultrasonic scanning mode; After ultrasonic testing of the slurry using a ring array probe in plane wave ultrasonic scanning state, plane wave reflection images and corresponding plane wave transmission images of the slurry are generated. A mask is created based on the plane wave transmission image of the slurry, and the mask is used to remove artifacts from the plane wave reflection image of the slurry, so as to generate an ultrasonic reflection image of the slurry after artifact removal.
8. The size correction method suitable for ultrasonic testing of slurry according to claim 6, characterized in that, When the ring array probe is configured for plane wave ultrasonic scanning, the ultrasonic testing of the slurry includes several sequential interval ultrasonic scans, wherein... Perform interval ultrasonic scanning, select the corresponding array elements in the ring array probe as a group of interval scanning substrates, and configure the timing of all array elements in the interval scanning substrate to emit ultrasonic signals to the inner ring of the ring array probe, so that the wavefront of the ultrasonic signals emitted by all array elements remains consistent after entering the slurry.
9. A dimensional correction system suitable for ultrasonic testing of slurries, characterized in that, It includes a ring array probe and an ultrasonic testing processor adapted and connected to the ring array probe, wherein, For the ultrasonic reflection map of the slurry generated by the ring array probe, the ultrasonic testing processor performs dimensional correction using the dimensional correction method described in any one of claims 1 to 8.