Core rod defect detection method based on three-dimensional point cloud

By combining multi-level filtering and fitting techniques with morphological operations, the problems of high efficiency and accuracy in mandrel surface defect detection are solved, realizing automated identification and quantitative evaluation of mandrel surface defects, which is suitable for online production scenarios.

CN121095249AActive Publication Date: 2025-12-09NORTHEASTERN UNIV CHINA

Patent Information

Application Number
CN202511639428.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-11
Publication Date
2025-12-09
Estimated Expiration
2045-11-11

AI Technical Summary

Technical Problem

Existing technologies are insufficient for efficiently and accurately detecting mandrel surface defects, especially minute defects, under conditions of high-temperature oxidation and surface contamination. Traditional methods are inefficient and highly subjective, making them unsuitable for the testing needs of modern high-speed production lines.

Method used

Multiple 3D linear scan cameras are used to simultaneously scan and acquire 3D point cloud data. Combined with laser intensity masking and local density analysis, multi-level filtering and fitting are performed. By utilizing prior geometric constraints and morphological operations, the automatic identification and quantitative evaluation of defects on the mandrel surface are achieved.

Benefits of technology

It achieves high-precision and high-efficiency automated detection of defects on the mandrel surface, and can promptly identify and locate defects such as cracks and pits, providing reliable intelligent quality control, and is suitable for online production scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121095249A_ABST
    Figure CN121095249A_ABST
Patent Text Reader

Abstract

The invention provides a core rod defect detection method based on a three-dimensional point cloud, and the method achieves the high-precision and automatic recognition of surface defects through the preprocessing, multi-stage filtering, weighted fitting and residual analysis of three-dimensional point cloud data collected in a production field in combination with a prior geometric constraint and a dynamic threshold criterion. The method does not need to depend on a standard sample template or a deep learning model, has the advantages of high calculation efficiency, strong anti-noise capability, less manual intervention and the like, and can meet the real-time detection requirement in an online high-speed production environment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of industrial surface defect detection, and relates to a mandrel defect detection method based on three-dimensional point cloud. BACKGROUND

[0002] As a key basic material in the modern industrial system, seamless steel pipes are widely used in major fields such as oil and gas exploration, high-pressure boilers, nuclear power equipment, aerospace and transportation, and the quality thereof is directly related to energy transportation safety, major equipment operation reliability and public infrastructure durability. Especially in deep well drilling and high temperature and high pressure service environments, seamless steel pipes need to have excellent strength, toughness and sealing performance, and any small surface or internal defect may evolve into a crack propagation source in long-term use, causing leakage, pipe explosion accidents, and huge economic losses and safety risks. Therefore, high-precision and high-reliability seamless steel pipe quality detection is not only the core link of the manufacturing process, but also a strategic demand to ensure the safety of national energy and major engineering operation.

[0003] In the production process of seamless steel pipes, the mandrel, as one of the core forming dies, directly participates in the shaping process of the inner wall of the steel pipe, and the geometric precision, surface integrity and wear state of the outer surface thereof will directly affect the quality consistency and surface finish of the inner wall of the steel pipe. With the repeated action of high temperature, high contact stress and cyclic cooling medium in the continuous rolling process, fatigue cracks, pits, scratches or local peeling defects are easily generated on the surface of the mandrel. These surface damages will be "copied" to the inner wall of the steel pipe in the subsequent rolling process, forming corresponding protrusions, depressions or scratches, which not only reduces the surface quality of the steel pipe, but also may become stress concentration points, weakening the pressure-bearing capacity and service life thereof.

[0004] Therefore, high-precision, online or quasi-online surface defect detection of the mandrel is not only an important means to extend its service life, optimize the replacement cycle and reduce production costs, but also a key link to control the quality of the inner wall of seamless steel pipes from the source and improve product consistency. However, the detection of the mandrel faces many real challenges: its surface is in a high-temperature oxidation environment for a long time, often covered with loose oxide skin, oil film or cooling residues, resulting in uneven laser reflection, dense and scattered noise points in point cloud data; at the same time, the limited detection space, visual angle obstruction and background stray light interference further exacerbate the decline in imaging quality, making it easy for small defect signals to be overwhelmed by noise. Traditional manual visual or simple measurement methods are not only inefficient, subjective and poorly reproducible, but also difficult to meet the requirements of modern high-speed production lines. Although there are currently many three-dimensional detection techniques for the surface defects of steel pipes, there are still few systematic detection schemes specifically for the mandrel, especially how to effectively suppress interference and improve the detectability of weak anomalies under complex working conditions, and there is still a lack of effective solutions that take into account precision, robustness and real-time performance. Therefore, it is urgent to develop an intelligent detection method that can adapt to high-temperature residues, surface contamination and strong noise environments to realize automatic identification and quantitative evaluation of the surface defects of the mandrel and provide solid technical support for high-quality and efficient production of seamless steel pipes. SUMMARY

[0005] To solve the above technical problems, the purpose of the present application is to provide a mandrel defect detection method based on three-dimensional point cloud.

[0006] The mandrel defect detection method based on three-dimensional point cloud of the present application comprises:

[0007] Step 1: Use multiple three-dimensional line array cameras to surround and arrange, synchronously scan the surface of the moving mandrel, obtain three-dimensional point cloud data and laser intensity information of the mandrel under the real world coordinate system, and form a structured point cloud data set;

[0008] Step 2: Preprocess and format the point cloud data set, check the data integrity and convert it into a tensor structure suitable for GPU parallel computing, provide input for subsequent high-precision fitting and anomaly detection;

[0009] Step 3: Perform weighted least squares circle fitting on each circular arc contour line, combine laser intensity mask and local density anomaly analysis method to preliminarily identify and remove abnormal noise points;

[0010] Step 4: Calculate the real radial distance of each point based on the first fitting result, introduce prior geometric constraints to construct a radius tolerance band-shaped region, and filter out abnormal points that deviate significantly from the theoretical circular arc contour line;

[0011] Step 5: Based on the geometric filtering in Step 4, apply the statistical 3σ principle to fine-screen the residuals, further improving the quality and consistency of the effective point set;

[0012] Step 6: Based on the high-quality point set after multi-level filtering, perform a second weighted least squares circle fitting on each contour line to obtain high-precision center, radius, and residual information;

[0013] Step 7: Calculate the radial deviation according to the results of the second fitting. If the radial deviation is less than the threshold, output the core rod defect-free result. Otherwise, generate an abnormal mask binary matrix, and through morphological opening and closing operation, repair the broken area, eliminate isolated noise points, and enhance the spatial connectivity of the abnormal area;

[0014] Step 8: Construct a k-d tree index on the abnormal point set after morphological processing, and perform fast density clustering. If the number of points in all clusters is less than the threshold, output the core rod defect-free result. Otherwise, only keep the clusters with a number greater than the threshold, and realize automatic segmentation and group labeling of the abnormal area;

[0015] Step 9: Output the defect detection results, including the size, depth, and position information of the defects, supporting the visualization presentation, quantitative analysis, and quality traceability of the defects.

[0016] The core rod defect detection method based on three-dimensional point cloud has the following beneficial effects: the present application introduces laser intensity mask and local density anomaly analysis mechanism, constructs multi-level collaborative filtering strategy, significantly reduces the interference of noise points and edge weak signal points on the fitting process, and improves the robustness of initial contour fitting. On this basis, a quadratic iterative weighted least squares circle fitting framework is adopted, the first fitting is used to generate a priori geometric model, and the second fitting is based on the high-quality point set filtered by the multi-level filtering to perform high-precision parameter estimation, effectively suppressing the deviation accumulation of the abnormal points on the calculation of the center and the radius. Further, the priori geometric constraint based radius tolerance band shape region filtering method is proposed by using the priori knowledge that the core rod physical structure has a stable radius, and the points with a real radial distance deviating from the theoretical radius too much are removed, and the identification ability of non-ideal circular arc points is strengthened. In order to realize the connectivity repair and boundary integrity enhancement of the abnormal area, the morphological opening and closing operation is introduced to perform topological optimization on the preliminary residual error abnormal graph, effectively solving the fracture problem of adjacent abnormal areas caused by sparse sampling or local shielding, and preliminarily realizing the fusion connection of abnormal fragments. In the abnormal area segmentation stage, the k-d tree is constructed to accelerate the spatial neighborhood query, which significantly improves the efficiency of the neighborhood search of abnormal points in large-scale point cloud, and meets the real-time demand in the online high-speed production scene; then, the fast density clustering algorithm is used to generate initial defect clusters, and then all the clustering clusters are subjected to significance screening to exclude non-substantial point groups formed by residual noise or slight disturbance. The method realizes high-precision, high-efficiency and automatic detection of small defects on the surface of the core rod or pipe, can timely identify and locate typical defects such as cracks and pits, and provides a reliable and traceable intelligent quality control solution for enterprises. The method can also be applied to the detection of other pipe and rod surface defects. BRIEF DESCRIPTION OF DRAWINGS

[0017] Figure 1 is a flowchart of the core rod defect detection method based on three-dimensional point cloud of the present application. DETAILED DESCRIPTION

[0018] As shown in Figure 1 , the core rod defect detection method based on three-dimensional point cloud of the present application comprises:

[0019] Step 1: A plurality of three-dimensional linear array cameras are arranged around to synchronously scan the surface of the moving core rod, three-dimensional point cloud data and laser intensity information of the core rod in the real world coordinate system are obtained, and a structured point cloud data set is formed.

[0020] In specific implementation, four three-dimensional linear array cameras are used in hardware, the cameras are arranged at intervals of about 90 degrees, the moving core rod is surrounded in the middle, the depth of field and other parameters are adjusted, the cameras are fixed, and then the camera parameters are calibrated, so that the camera obtains the point cloud data set of the outer surface of the core rod.

[0021] Step 2: Preprocessing and formatting of point cloud data set, checking data integrity and converting to tensor structure suitable for GPU parallel computing, providing input for subsequent high-precision fitting and anomaly detection, specifically:

[0022] For the point cloud data set collected by the camera, data type checking, null value checking and critical value checking based on prior knowledge are performed, and then the data is formatted into a tensor matrix that can be directly processed by the GPU.

[0023] Step 3: Weighted least squares fitting of each circular arc contour line, combined with laser intensity mask and local density anomaly analysis method, to preliminarily identify and remove abnormal noise points, specifically:

[0024] Step 3.1: For a circular arc contour line in the point cloud data set, the weighted least squares problem can be represented by equation (1):

[0025] (1)

[0026] where is the coordinate of the mth point on the circular arc, represents the weight factor of the point, a, b, and c are the parameters of the circular arc to be fitted, and C is the number of points on the circular arc contour line.

[0027] Let , , , , then equation (1) is rewritten as:

[0028] (2)

[0029] Solve the matrix in equation (2), since is a diagonal weight matrix, let , then equation (3) is obtained as follows:

[0030] (3)

[0031] In order to obtain the fitted circular arc parameters , solve equation (3) to get:

[0032] (4)

[0033] Expand and calculate the elements on both sides of equation (4) and , then get equations (5) and (6):

[0034] (5)

[0035] (6)

[0036] By substituting the points on the arc, we can obtain the arc parameters a, b, and c. Subsequently, we can obtain the fitted center o, the fitted radius r, and the residuals res at each point. m :

[0037] (7)

[0038] Step 3.2: In this fitting process, considering the impact of laser line intensity on the reliability of the data source, and addressing the issue of unreliable data where the laser intensity on both sides of the core rod within the camera's field of view is weak and prone to noise, a laser intensity mask matrix is ​​introduced during the fitting process. The values ​​of this matrix are:

[0039] (8)

[0040] in, To change the laser intensity at point m on the arc, The laser intensity mask matrix is ​​a pre-set laser intensity threshold. Point cloud data is considered valid only if the laser intensity exceeds this threshold. By using the weight matrix in the least squares fit The method of taking the union takes effect.

[0041] Step 3.3: To address the issue of abnormal noise, a local density analysis anomaly detection method based on prior knowledge is adopted. One-dimensional convolution is used to statistically analyze the neighborhood of each time point within its local sliding window to identify potential abnormal noise points in the effective data points whose effective sampling density in their neighborhood is significantly lower than a pre-set prior threshold. Specifically, for a circular arc contour to be fitted, an effective height mask matrix Vz is constructed based on the height z value of its fitting points.

[0042] (9)

[0043] (10)

[0044] in, This represents the height value of the m-th point on the arc to be fitted. A sliding window of size w_size is used to perform local density statistics on Vz. A one-dimensional convolution kernel k of width w_size is defined:

[0045] (11)

[0046] Vz is convolved using one-dimensional convolution, with zero padding to ensure the matrix dimensions remain unchanged after convolution.

[0047] (12)

[0048] Normalize the convolution result D to represent the density ratio. :

[0049] (13)

[0050] Define the rules for determining outliers, assuming that when A point on the density scaling matrix Less than the density threshold When this point is considered an outlier, an effective point mask matrix based on local density statistics is obtained. :

[0051] (14)

[0052] (15)

[0053] Valid point mask matrix It takes effect by taking the union of the weight matrix W in the least squares fit.

[0054] Step 4: Perform radius mask filtering based on prior geometric constraints. Specifically, calculate the true radial distance of each point based on the initial fitting results, introduce prior geometric constraints to construct a radius tolerance band region, and filter out outliers that significantly deviate from the theoretical circular arc contour line.

[0055] Based on the weighted least squares fitting results obtained in step 3, the fitting center and fitting radius can be obtained for each circular arc contour to be fitted. By substituting the effective point cloud data involved in the fitting back into the implicit circle equation formed by the fitting center and fitting radius, the Euclidean distance from each point to the center of the circle can be calculated, denoted as the true radial distance d. m By utilizing the prior knowledge that the mandrel structure has a physically stable radius, a reasonable radius tolerance threshold r is set. threshold Construct a dynamic radius-shaped region:

[0056] (16)

[0057] in, This represents the radius mask matrix along a certain circular arc contour line. This represents the fitting radius of a given circular arc to be fitted, only if it satisfies the true distance. exist[ , Only points within the specified range are considered valid and included in subsequent fitting operations; otherwise, they are treated as abnormal noise and discarded.

[0058] Step 5: Based on the geometric filtering in Step 4, the statistical 3σ principle is applied to refine the screening of residuals, further improving the quality and consistency of the effective point set. Specifically:

[0059] Based on the valid point set filtered in step 4, obtain the residual set res corresponding to each point. m The mean of the statistical residual set with standard deviation Based on the 3σ principle under the assumption of normality, approximately 99.7% of the data should fall within the range of mean ± 3 standard deviations. Therefore, the statistical validity criterion is defined as follows:

[0060] (17)

[0061] in, This represents the effective mask matrix that satisfies a normal distribution on all cross-sections. Only points that satisfy this condition are retained as the final high-quality input point set for the next round of iterative fitting.

[0062] Step 6: Based on the high-quality point set after multi-level filtering, perform a second weighted least-squares circle fitting on each contour line to obtain high-precision circle center, radius, and residual information. Specifically:

[0063] Step 6.1: Based on the mask matrix obtained from the multi-stage filtering calculations in Steps 4 and 5, design the weight matrix for the second least-squares circle fitting:

[0064] (18)

[0065] in, This represents the radius mask matrix based on prior geometric constraints in step 4. This represents the effective mask matrix satisfying the 3σ criterion on all cross-sections in step 5. Then, it represents the weight matrix in the second weighted least squares fitting process.

[0066] Step 6.2: [The sentence is incomplete and requires more context to be translated accurately.] It participates in the second weighted least squares fitting process to obtain high-precision information on the center, radius, and residuals of the circle.

[0067] Step 7: Calculate the radial deviation based on the results of the second fitting. If the radial deviation is less than the threshold, output a defect-free result for the core rod; otherwise, generate an anomaly mask binary matrix and repair the fracture area, eliminate isolated noise points, and enhance the spatial connectivity of the anomaly area through morphological opening and closing operations. Specifically:

[0068] Step 7.1: For a certain circular arc profile to be fitted, after the second fitting is completed, recalculate the radial deviation res2 of all points based on the fitting parameters. m That is, the real point p m To each fitted circle center o2 m The distance between each fitted radius r2 m The difference reflects the degree to which each point deviates from the ideal circular arc:

[0069] (19)

[0070] Determine if the radial deviation is less than a set threshold. If it is less than the threshold, output a result indicating no defects in the core rod; otherwise, generate an anomaly mask binary matrix B, as shown in the following formula:

[0071] (20)

[0072] (twenty one)

[0073] in, This is the threshold for deep anomaly detection. This is the anomaly mask value for a point on the arc contour line to be fitted.

[0074] Step 7.2: Based on the anomaly mask binary matrix, topology repair and boundary smoothing are performed using a sequence of binary morphological opening and closing operations based on structuring elements. First, morphological opening operations are performed, defined as erosion followed by dilation.

[0075] (twenty two)

[0076] in, This indicates an erosion operation where the center pixel is kept as 1 only when the structuring element K completely covers the foreground region. As the structuring element K slides on the binary matrix B, it can effectively eliminate isolated points smaller than the structuring element K. The dilation operation is the opposite of the erosion operation. When the structuring element K slides on the binary matrix B, the center pixel will be set to 1 as long as there is an overlap. This can fill small holes or link broken objects and realize the link between adjacent abnormal points. In this embodiment, the K structuring matrix adopts a 5×5 square matrix.

[0077] Step 8: Construct a kd-tree index for the morphologically processed set of anomalies, perform fast density clustering, and perform saliency screening on the multiple independent clusters obtained. If the number of points in all clusters is less than the threshold, output the result that the core rod is defect-free; otherwise, only retain the clusters with a number greater than the threshold to achieve automatic segmentation and group labeling of the anomaly region.

[0078] In specific implementation, step 8 involves constructing a kd-tree index for the morphologically processed set of outliers and performing fast density clustering, specifically as follows:

[0079] Step 8.1: The outlier set Q obtained from the opening operation above, where each point contains three-dimensional coordinates x, y, z, is constructed into a kd-tree to achieve efficient neighborhood query; for point q... k In contrast, the set of indices of all points within a spherical region centered at R and having a radius of R is represented as:

[0080] (twenty three)

[0081] in, This means finding point q. k and points The Euclidean distance.

[0082] Step 8.2: After completing the construction of the kd-tree and implementing efficient neighborhood query, a fast clustering process based on spatial connectivity is executed. This process selects a starting point from all unprocessed outliers in sequence, and uses the kd-tree to quickly retrieve all neighboring points within a specified radius to form an initial point set.

[0083] Step 8.3: Determine whether the point set intersects with any existing clusters that have been generated, i.e., whether there are points that are commonly contained in each other.

[0084] Step 8.4: If there is overlap, merge the current point set with all intersecting clusters to form a larger connected region; if there is no intersection, add it as a new independent cluster to the cluster set; throughout the process, all points that have been included in a cluster are marked as "visited" to prevent duplicate processing, thereby ensuring that each point participates in the clustering decision only once.

[0085] Step 8, which involves merging neighboring clusters and filtering significant point groups, specifically includes:

[0086] Step 8.5: Set a minimum point count threshold. If the number of points in all clusters is less than the threshold, the output result is that the core rod is defect-free. Otherwise, only independent clusters with more than the threshold are retained as valid abnormal regions, and the remaining clusters are regarded as invalid noise and are removed to eliminate non-substantial point groups formed by residual noise or minor disturbances.

[0087] Step 8.6: For each valid cluster that is retained, assign it a unique group identifier and append the identifier to the feature data of the corresponding point.

[0088] Step 9: Output the defect detection results, including the size, depth and location information of the defects, supporting the visualization, quantitative analysis and quality traceability of defects.

[0089] The above description is only a preferred embodiment of the present invention and is not intended to limit the ideas of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for detecting defects in a mandrel based on three-dimensional point clouds, characterized in that, include: Step 1: Use multiple 3D linear scan cameras arranged in a circle to synchronously scan the surface of the moving mandrel, obtain the 3D point cloud data and laser intensity information of the mandrel in the real world coordinate system, and form a structured point cloud data set. Step 2: Preprocess and format the point cloud dataset, verify data integrity, and convert it into a tensor structure suitable for GPU parallel computing to provide input for subsequent high-precision fitting and anomaly detection; Step 3: Perform weighted least-squares circle fitting on each arc contour line, and combine laser intensity masking and local density anomaly analysis methods to initially identify and remove abnormal noise points; Step 4: Calculate the true radial distance of each point based on the initial fitting results, introduce prior geometric constraints to construct a radius tolerance zone, and filter out outliers that significantly deviate from the theoretical circular arc contour line; Step 5: Based on the geometric filtering in Step 4, the statistical 3σ principle is applied to refine the screening of residuals, further improving the quality and consistency of the effective point set; Step 6: Based on the high-quality point set after multi-level filtering, perform a second weighted least squares circle fitting on each contour line to obtain high-precision circle center, radius and residual information; Step 7: Calculate the radial deviation based on the results of the second fitting. If the radial deviation is less than the threshold, output the result that the core rod is defect-free; otherwise, generate an anomaly mask binary matrix and repair the fracture area, eliminate isolated noise points, and enhance the spatial connectivity of the anomaly area through morphological opening and closing operations. Step 8: Construct a kd-tree index for the morphologically processed set of outliers, perform fast density clustering, and output a defect-free result for the core rod if the number of points in all clusters is less than the threshold; otherwise, only retain clusters with a number greater than the threshold to achieve automatic segmentation and group labeling of outlier regions. Step 9: Output the defect detection results, including the size, depth and location information of the defects, supporting the visualization, quantitative analysis and quality traceability of defects.

2. The mandrel defect detection method based on three-dimensional point cloud according to claim 1, characterized in that, The preprocessing and formatting in step 2 specifically include: The point cloud data set acquired by the camera will be validated for data type, null value, and critical value based on prior knowledge. The data will then be formatted into a tensor matrix that can be directly processed by the GPU.

3. The mandrel defect detection method based on three-dimensional point cloud according to claim 1, characterized in that, Step 3 specifically involves: Step 3.1: For a certain circular arc contour line in the point cloud dataset, the weighted least squares problem can be represented by equation (1): (1) in, These are the coordinates of the m-th point on the arc. The weighting factor for this point is represented by a, b, and c, which are the parameters of the arc to be fitted, and C is the number of points on the arc contour line. make , , , Then equation (1) can be rewritten as: (2) Solving for the matrix in equation (2), since Let be a diagonal weight matrix, then let Then we get equation (3) as follows: (3) In order to obtain the parameters of the circular arc to be fitted Solving equation (3) yields: (4) Both sides of equation (4) and Expanding the calculation element by element yields equations (5) and (6): (5) (6) By substituting the points on the arc, we can obtain the arc parameters a, b, and c. Subsequently, we can obtain the fitted center o, the fitted radius r, and the residuals res at each point. m : (7) Step 3.2: In this fitting process, considering the impact of laser line intensity on the reliability of the data source, and addressing the issue of unreliable data where the laser intensity on both sides of the core rod within the camera's field of view is weak and prone to noise, a laser intensity mask matrix is ​​introduced during the fitting process. The values ​​of this matrix are: (8) in, To change the laser intensity at point m on the arc, The laser intensity mask matrix is ​​a pre-set laser intensity threshold. Point cloud data is considered valid only if the laser intensity exceeds this threshold. By using the weight matrix in the least squares fit The method of taking the union of sets takes effect; Step 3.3: To address the issue of abnormal noise, a local density analysis anomaly detection method based on prior knowledge is adopted. One-dimensional convolution is used to statistically analyze the neighborhood of each time point within its local sliding window to identify potential abnormal noise points in the effective data points whose effective sampling density in their neighborhood is significantly lower than a pre-set prior threshold. Specifically, for a circular arc contour to be fitted, an effective height mask matrix Vz is constructed based on the height z value of its fitting points. (9) (10) in, This represents the height value of the m-th point on the arc to be fitted. A sliding window of size w_size is used to perform local density statistics on Vz. A one-dimensional convolution kernel k of width w_size is defined: (11) Vz is convolved using one-dimensional convolution, with zero padding to ensure the matrix dimensions remain unchanged after convolution. (12) Normalize the convolution result D to represent the density ratio. : (13) Define the rules for determining outliers, assuming that when A point on the density scaling matrix Less than the density threshold When this point is considered an outlier, an effective point mask matrix based on local density statistics is obtained. : (14) (15) Valid point mask matrix It takes effect by taking the union of the weight matrix W in the least squares fit.

4. The mandrel defect detection method based on three-dimensional point cloud according to claim 1, characterized in that, Step 4 specifically involves: Based on the weighted least squares fitting results obtained in step 3, the fitting center and fitting radius can be obtained for each circular arc contour to be fitted. By substituting the effective point cloud data involved in the fitting back into the implicit circle equation formed by the fitting center and fitting radius, the Euclidean distance from each point to the center of the circle can be calculated, denoted as the true radial distance d. m By utilizing the prior knowledge that the mandrel structure has a physically stable radius, a reasonable radius tolerance threshold r is set. threshold Construct a dynamic radius-shaped region: (16) in, This represents the radius mask matrix along a certain circular arc contour line. This represents the fitting radius of a given circular arc to be fitted, only if it satisfies the true distance. exist[ , Only points within the specified range are considered valid and included in subsequent fitting operations; otherwise, they are treated as abnormal noise and discarded.

5. The mandrel defect detection method based on three-dimensional point cloud according to claim 4, characterized in that, Step 5 specifically involves: Based on the valid point set filtered in step 4, obtain the residual set res corresponding to each point. m The mean of the statistical residual set with standard deviation Based on the 3σ principle under the assumption of normality, approximately 99.7% of the data should fall within the range of mean ± 3 standard deviations. Therefore, the statistical validity criterion is defined as follows: (17) in, This represents the effective mask matrix that satisfies a normal distribution on all cross-sections. Only points that satisfy this condition are retained as the final high-quality input point set for the next round of iterative fitting.

6. The mandrel defect detection method based on three-dimensional point cloud according to claim 5, characterized in that, Step 6 specifically involves: Step 6.1: Based on the mask matrix obtained from the multi-stage filtering calculations in Steps 4 and 5, design the weight matrix for the second least-squares circle fitting: (18) in, This represents the radius mask matrix based on prior geometric constraints in step 4. This represents the effective mask matrix satisfying the 3σ criterion on all cross-sections in step 5. This represents the weight matrix in the second weighted least squares fitting process; Step 6.2: [The sentence is incomplete and requires more context to be translated accurately.] It participates in the second weighted least squares fitting process to obtain high-precision information on the center, radius, and residuals of the circle.

7. The mandrel defect detection method based on three-dimensional point cloud according to claim 5, characterized in that, Step 7 specifically involves: Step 7.1: For a certain circular arc profile to be fitted, after the second fitting is completed, recalculate the radial deviation res2 of all points based on the fitting parameters. m That is, the real point p m To each fitted circle center o2 m The distance between each fitted radius r2 m The difference reflects the degree to which each point deviates from the ideal circular arc: (19) Determine if the radial deviation is less than a set threshold. If it is less than the threshold, output a result indicating no defects in the core rod; otherwise, generate an anomaly mask binary matrix B, as shown in the following formula: (20) (21) in, This is the threshold for deep anomaly detection. This is the anomaly mask value for a point on the arc contour line to be fitted. Step 7.2: Based on the anomaly mask binary matrix, topology repair and boundary smoothing are performed using a sequence of binary morphological opening and closing operations based on structuring elements. First, morphological opening operations are performed, defined as erosion followed by dilation. (22) in, This indicates an erosion operation where the center pixel is kept as 1 only when the structuring element K completely covers the foreground region. As the structuring element K slides on the binary matrix B, it can effectively eliminate isolated points smaller than the structuring element K. The dilation operation is the opposite of the erosion operation. When the structuring element K slides on the binary matrix B, the center pixel will be set to 1 as long as there is an overlap. It can fill small holes or link broken objects and realize the link between adjacent anomalies. The K structuring matrix adopts a 5×5 square matrix.

8. The method for detecting mandrel defects based on three-dimensional point clouds according to claim 1, characterized in that, In step 8, a kd-tree index is constructed for the morphologically processed set of outliers, and fast density clustering is performed. Specifically: Step 8.1: The outlier set Q obtained from the opening operation above, where each point contains three-dimensional coordinates x, y, z, is constructed into a kd-tree to achieve efficient neighborhood query; for point q... k In contrast, the set of indices of all points within a spherical region centered at R and having a radius of R is represented as: (23) in, This means finding point q. k and points The Euclidean distance; Step 8.2: After completing the construction of the kd-tree and implementing efficient neighborhood query, a fast clustering process based on spatial connectivity is executed. This process selects a starting point from all unprocessed outliers in sequence, and uses the kd-tree to quickly retrieve all neighboring points within a specified radius to form an initial point set. Step 8.3: Determine whether the point set intersects with any existing clusters that have been generated, i.e., whether there are points that are commonly contained in each other; Step 8.4: If there is overlap, merge the current point set with all intersecting clusters to form a larger connected region; if there is no intersection, add it as a new independent cluster to the cluster set; throughout the process, all points that have been included in a certain cluster are marked as "visited" to prevent duplicate processing, thereby ensuring that each point participates in the clustering decision only once.

9. The mandrel defect detection method based on three-dimensional point cloud according to claim 8, characterized in that, Step 8, which involves merging neighboring clusters and filtering significant point groups, specifically includes: Step 8.5: Set a minimum point count threshold. If the number of points in all clusters is less than the threshold, the output result is that the core rod is defect-free. Otherwise, only independent clusters with more than the threshold are retained as valid abnormal regions, and the remaining clusters are regarded as invalid noise and are removed to eliminate non-substantial point groups formed by residual noise or minor disturbances. Step 8.6: For each valid cluster that is retained, assign it a unique group identifier and append the identifier to the feature data of the corresponding point.

Citation Information

Patent Citations

  • Two-dimensional and three-dimensional fused round steel surface imaging system

    CN114414487A

  • Tube panel weld defect detection device

    CN114689609A

  • Filtering method for cast pipe surface three-dimensional point cloud data

    CN117274102A

  • Three-dimensional imaging detection method for surface defects of connector

    CN120703106A

  • Method for three-dimensional reconstruction of the thread of the holes for the studs of the main connector of the reactor pressure vessel and automatic identification of defects

    RU2791416C1

Cited By

  • Method for detecting and quantifying concave-convex anomaly of surface contour line of workpiece

    CN121705972A