Author Contributions
Conceptualization, X.W. and M.Y.; methodology, X.W. and M.Y.; software, L.Q. and M.Y.; validation, L.Q., M.Y. and X.W.; formal analysis, L.Q. and M.Y.; investigation, X.W. and M.Y.; data curation, L.Q. and M.Y.; writing—original draft preparation, S.Z.; writing—review and editing, S.Z., X.W., M.Y., L.Q. and N.W.; visualization, L.Q. and M.Y.; supervision, N.W.; project administration, N.W. All authors have read and agreed to the published version of the manuscript.
Figure 1.
Overall workflow of the proposed point-cloud-based framework for drainage pipeline defect reconstruction and volume quantification.
Figure 1.
Overall workflow of the proposed point-cloud-based framework for drainage pipeline defect reconstruction and volume quantification.
Figure 2.
CPCGAN network architecture. In the figure, “*” is retained as a tensor-dimension separator (e.g., 3296 and 2048*3), while “x” in 32x and 64x denotes the expansion or repetition factor rather than a multiplication sign. Arrows indicate the direction of data flow, the ellipsis (…) represents repeated MLP branches, and “+” denotes the addition operation. Blue-toned elements represent the structural point-cloud pathway, whereas green-toned elements represent the complete point-cloud pathway. The upper and lower background regions correspond to the generator and discriminator components, respectively, and the dashed outlines delimit the Structural Generative Network and Final Generative Network.
Figure 2.
CPCGAN network architecture. In the figure, “*” is retained as a tensor-dimension separator (e.g., 3296 and 2048*3), while “x” in 32x and 64x denotes the expansion or repetition factor rather than a multiplication sign. Arrows indicate the direction of data flow, the ellipsis (…) represents repeated MLP branches, and “+” denotes the addition operation. Blue-toned elements represent the structural point-cloud pathway, whereas green-toned elements represent the complete point-cloud pathway. The upper and lower background regions correspond to the generator and discriminator components, respectively, and the dashed outlines delimit the Structural Generative Network and Final Generative Network.
Figure 3.
Architecture of the local-warping module. Global encoding and local feature encoding are fused with the predefined prior point cloud and subsequently processed by MLP layers to generate the concatenated feature output. Arrows indicate the direction of data flow. Yellow elements denote global-feature encoding and feature-fusion operations, blue denotes local-feature encoding, gray denotes the predefined prior point cloud, and green denotes the MLP processing and output stages.
Figure 3.
Architecture of the local-warping module. Global encoding and local feature encoding are fused with the predefined prior point cloud and subsequently processed by MLP layers to generate the concatenated feature output. Arrows indicate the direction of data flow. Yellow elements denote global-feature encoding and feature-fusion operations, blue denotes local-feature encoding, gray denotes the predefined prior point cloud, and green denotes the MLP processing and output stages.
Figure 4.
Network architecture of the WCPC-GAN auxiliary generator. Features from the primary generator are processed through the self-attention and local-warping branches before being fused to produce the auxiliary-generator output. In the figure, “*” is retained as a tensor-dimension separator (e.g., 3296 and 2048*3), while “x” in 64x denotes the expansion or repetition factor rather than a multiplication sign. Arrows indicate the direction of data flow, “+” denotes feature addition, and the ellipsis (…) indicates repeated parallel MLP branches where applicable. Different colors distinguish the primary-generator input, feature-processing branches, expansion operations, and fused output.
Figure 4.
Network architecture of the WCPC-GAN auxiliary generator. Features from the primary generator are processed through the self-attention and local-warping branches before being fused to produce the auxiliary-generator output. In the figure, “*” is retained as a tensor-dimension separator (e.g., 3296 and 2048*3), while “x” in 64x denotes the expansion or repetition factor rather than a multiplication sign. Arrows indicate the direction of data flow, “+” denotes feature addition, and the ellipsis (…) indicates repeated parallel MLP branches where applicable. Different colors distinguish the primary-generator input, feature-processing branches, expansion operations, and fused output.
Figure 5.
Schematic of a spatial cylinder.
Figure 5.
Schematic of a spatial cylinder.
Figure 6.
Schematic of three-dimensional Delaunay triangulation. Red points represent the sampled vertices, gray lines denote the Delaunay edges connecting neighboring vertices, and the cyan triangular face illustrates a representative triangular facet of the constructed mesh.
Figure 6.
Schematic of three-dimensional Delaunay triangulation. Red points represent the sampled vertices, gray lines denote the Delaunay edges connecting neighboring vertices, and the cyan triangular face illustrates a representative triangular facet of the constructed mesh.
Figure 7.
Surface reconstruction results for defective regions.
Figure 7.
Surface reconstruction results for defective regions.
Figure 8.
Real data of pipeline defects: (a) representative rectangular defects; (b) representative circular defects; (c) representative triangular defects; (d) Microsoft Azure Kinect DK depth camera used for point-cloud acquisition.
Figure 8.
Real data of pipeline defects: (a) representative rectangular defects; (b) representative circular defects; (c) representative triangular defects; (d) Microsoft Azure Kinect DK depth camera used for point-cloud acquisition.
Figure 9.
Comparison of point-cloud augmentation results generated by different networks: (a) TreeGAN; (b) CPCGAN; (c) WarpingGAN; (d) WCPC-GAN.
Figure 9.
Comparison of point-cloud augmentation results generated by different networks: (a) TreeGAN; (b) CPCGAN; (c) WarpingGAN; (d) WCPC-GAN.
Figure 10.
Representative defect point clouds augmented by WCPC-GAN. The color variation is used only for 3D visualization of the generated point-cloud geometry and does not represent different defect classes or quantitative values.
Figure 10.
Representative defect point clouds augmented by WCPC-GAN. The color variation is used only for 3D visualization of the generated point-cloud geometry and does not represent different defect classes or quantitative values.
Figure 11.
Structure of the PointNeXt model. Yellow/orange blocks denote MLP and set-abstraction operations, gray-blue blocks denote inverted residual MLP (InvResMLP) modules, and blue blocks denote feature-propagation stages. Arrows indicate the direction of feature flow, while the long connecting lines represent multiscale skip connections between the encoder and decoder stages.
Figure 11.
Structure of the PointNeXt model. Yellow/orange blocks denote MLP and set-abstraction operations, gray-blue blocks denote inverted residual MLP (InvResMLP) modules, and blue blocks denote feature-propagation stages. Arrows indicate the direction of feature flow, while the long connecting lines represent multiscale skip connections between the encoder and decoder stages.
Figure 12.
Comparison of point clouds before and after statistical filtering: (a) point cloud before statistical filtering; (b) point cloud after statistical filtering.The white contour indicating the region containing prominent outliers targeted by the filtering procedure.
Figure 12.
Comparison of point clouds before and after statistical filtering: (a) point cloud before statistical filtering; (b) point cloud after statistical filtering.The white contour indicating the region containing prominent outliers targeted by the filtering procedure.
Figure 13.
Water-displacement reference measurement: (a) commercially available alginate impression material; (b) solidified defect-region cast; (c) water-displacement volume reading in a measuring cylinder.
Figure 13.
Water-displacement reference measurement: (a) commercially available alginate impression material; (b) solidified defect-region cast; (c) water-displacement volume reading in a measuring cylinder.
Figure 14.
Volumetric comparison for circular defects: (a) signed volume error of the four reconstruction methods across five independently fabricated specimens; (b) mean volume accuracy (mean ± SD) of the four reconstruction methods. Different colors, line styles, and markers distinguish the reconstruction methods, as identified by the labels in each panel.
Figure 14.
Volumetric comparison for circular defects: (a) signed volume error of the four reconstruction methods across five independently fabricated specimens; (b) mean volume accuracy (mean ± SD) of the four reconstruction methods. Different colors, line styles, and markers distinguish the reconstruction methods, as identified by the labels in each panel.
Figure 15.
Volumetric comparison for triangular defects: (a) signed volume error of the four reconstruction methods across five independently fabricated specimens; (b) mean volume accuracy (mean ± SD) of the four reconstruction methods. Different colors, line styles, and markers distinguish the reconstruction methods, as identified by the labels in each panel.
Figure 15.
Volumetric comparison for triangular defects: (a) signed volume error of the four reconstruction methods across five independently fabricated specimens; (b) mean volume accuracy (mean ± SD) of the four reconstruction methods. Different colors, line styles, and markers distinguish the reconstruction methods, as identified by the labels in each panel.
Figure 16.
Volumetric comparison for rectangular defects: (a) signed volume error of the four reconstruction methods across five independently fabricated specimens; (b) mean volume accuracy (mean ± SD) of the four reconstruction methods. Different colors, line styles, and markers distinguish the reconstruction methods, as identified by the labels in each panel.
Figure 16.
Volumetric comparison for rectangular defects: (a) signed volume error of the four reconstruction methods across five independently fabricated specimens; (b) mean volume accuracy (mean ± SD) of the four reconstruction methods. Different colors, line styles, and markers distinguish the reconstruction methods, as identified by the labels in each panel.
Table 1.
Technical specifications of Microsoft Azure Kinect DK.
Table 1.
Technical specifications of Microsoft Azure Kinect DK.
| Technical Specification | Microsoft Azure Kinect DK |
|---|
| RGB camera resolution | 3840 × 2160 pixels |
| Depth camera resolution | 1024 × 1024 pixels |
| Maximum depth range | 5.46 m |
| Minimum depth range | 0.25 m |
| Vertical field of view | 120° |
| Horizontal field of view | 120° |
Table 2.
(a) Comparison of WCPC-GAN with point-cloud generative baselines. (b) Sensitivity of WCPC-GAN to loss-weight settings.
Table 2.
(a) Comparison of WCPC-GAN with point-cloud generative baselines. (b) Sensitivity of WCPC-GAN to loss-weight settings.
| (a) |
| Model | Params (M) | Inference Time (s) | JSD ↓ | COV-EMD ↑ | MMD-CD ↓ |
| TreeGAN | 11.33 | 9.1 | 0.0634 | 46.13 | 0.00039 |
| CPCGAN | 2.14 | 3.4 | 0.0416 | 46.36 | 0.00036 |
| WarpingGAN | 6.34 | 5.3 | 0.0571 | 45.72 | 0.00043 |
| WCPC-GAN (ours) | 3.11 | 4.9 | 0.0352 | 48.63 | 0.00035 |
| (b) |
| λstitch | λGP | JSD ↓ | COV-EMD ↑ | MMD-CD ↓ |
| 0.25 | 10 | 0.0384 | 47.61 | 0.00038 |
| 0.50 | 10 | 0.0352 | 48.63 | 0.00035 |
| 1.00 | 10 | 0.0368 | 48.10 | 0.00036 |
| 0.50 | 5 | 0.0415 | 45.30 | 0.00041 |
| 0.50 | 20 | 0.0374 | 47.20 | 0.00037 |
Table 3.
Effect of synthetic augmentation on the fixed real-only test set.
Table 3.
Effect of synthetic augmentation on the fixed real-only test set.
| Training Set | Accuracy (%) | mIoU (%) |
|---|
| 120 real + 0 synthetic | 92.52 | 83.53 |
| 120 real + 50 synthetic | 92.87 | 83.49 |
| 120 real + 120 synthetic | 94.53 | 89.98 |
| 120 real + 200 synthetic | 93.46 | 88.25 |
Table 4.
Relative error analysis of circular defects in drainage pipes.
Table 4.
Relative error analysis of circular defects in drainage pipes.
| Methodology | Metric | Sample 1 | Sample 2 | Sample 3 | Sample 4 | Sample 5 | Mean ± SD |
|---|
| Water Displacement | True Volume (cm3) | 461.6 | 803.8 | 763 | 1193.2 | 1557.8 | 955.9 |
| Poisson Reconstruction | Calculated Volume (cm3) | 431.6 | 869.1 | 814.4 | 1104.7 | 1451.2 | 934.2 |
| Accuracy (%) | 93.5 | 91.9 | 93.3 | 92.6 | 93.2 | 92.9 ± 0.7 |
| Error (%) | 6.5 | 8.1 | 6.7 | 7.4 | 6.8 | 7.1 ± 0.7 |
| Conventional Alpha Shape | Calculated Volume (cm3) | 496.0 | 736.1 | 837.3 | 1098.3 | 1420.1 | 917.6 |
| Accuracy (%) | 92.5 | 91.6 | 90.3 | 92.1 | 91.2 | 91.5 ± 0.9 |
| Error (%) | 7.5 | 8.4 | 9.7 | 8.0 | 8.8 | 8.5 ± 0.9 |
| CAP-UDF | Calculated Volume (cm3) | 437.4 | 855.1 | 727.7 | 1136.5 | 1643.5 | 960.0 |
| Accuracy (%) | 94.76 | 93.62 | 95.37 | 95.25 | 94.50 | 94.70 ± 0.70 |
| Error (%) | 5.24 | 6.38 | 4.63 | 4.75 | 5.50 | 5.30 ± 0.70 |
| Proposed Method | Calculated Volume (cm3) | 445.5 | 781.5 | 736.5 | 1143.8 | 1628.0 | 947.1 |
| Accuracy (%) | 96.5 | 97.2 | 96.5 | 95.9 | 95.5 | 96.3 ± 0.7 |
| Error (%) | 3.5 | 2.8 | 3.5 | 4.1 | 4.5 | 3.7 ± 0.7 |
Table 5.
Relative error analysis of triangular defects in drainage pipes.
Table 5.
Relative error analysis of triangular defects in drainage pipes.
| Methodology | Metric | Sample 1 | Sample 2 | Sample 3 | Sample 4 | Sample 5 | Mean ± SD |
|---|
| Water Displacement | True Volume (cm3) | 398.6 | 658.2 | 542.9 | 754.3 | 846.4 | 640.1 |
| Poisson Reconstruction | Calculated Volume (cm3) | 426.4 | 609.3 | 579.7 | 699.0 | 918.0 | 646.5 |
| Accuracy (%) | 93.0 | 92.6 | 93.2 | 92.7 | 91.5 | 92.6 ± 0.7 |
| Error (%) | 7.0 | 7.4 | 6.8 | 7.3 | 8.5 | 7.4 ± 0.7 |
| Conventional Alpha Shape | Calculated Volume (cm3) | 362.0 | 590.8 | 499.8 | 820.3 | 919.7 | 638.5 |
| Accuracy (%) | 90.8 | 89.8 | 92.1 | 91.2 | 91.3 | 91.0 ± 0.8 |
| Error (%) | 9.2 | 10.2 | 7.9 | 8.8 | 8.7 | 9.0 ± 0.8 |
| CAP-UDF | Calculated Volume (cm3) | 425.0 | 621.9 | 514.7 | 802.6 | 797.5 | 632.3 |
| Accuracy (%) | 93.38 | 94.48 | 94.81 | 93.60 | 94.22 | 94.10 ± 0.60 |
| Error (%) | 6.62 | 5.52 | 5.19 | 6.40 | 5.78 | 5.90 ± 0.60 |
| Proposed Method | Calculated Volume (cm3) | 385.7 | 685.0 | 528.9 | 728.2 | 823.2 | 630.2 |
| Accuracy (%) | 96.8 | 95.9 | 97.4 | 96.5 | 97.3 | 96.8 ± 0.6 |
| Error (%) | 3.2 | 4.1 | 2.6 | 3.5 | 2.7 | 3.2 ± 0.6 |
Table 6.
Relative error analysis of rectangular defects in drainage pipes.
Table 6.
Relative error analysis of rectangular defects in drainage pipes.
| Methodology | Metric | Sample 1 | Sample 2 | Sample 3 | Sample 4 | Sample 5 | Mean ± SD |
|---|
| Water Displacement | True Volume (cm3) | 249.3 | 526.8 | 897.5 | 1368.4 | 1686 | 945.6 |
| Poisson Reconstruction | Calculated Volume (cm3) | 230.8 | 569.7 | 831.7 | 1276.3 | 1824.9 | 946.7 |
| Accuracy (%) | 92.6 | 91.9 | 92.7 | 93.3 | 91.8 | 92.4 ± 0.6 |
| Error (%) | 7.5 | 8.1 | 7.3 | 6.7 | 8.2 | 7.6 ± 0.6 |
| Conventional Alpha Shape | Calculated Volume (cm3) | 273.7 | 481.4 | 979.7 | 1507.9 | 1540.8 | 956.7 |
| Accuracy (%) | 90.2 | 91.4 | 90.9 | 89.8 | 91.4 | 90.7 ± 0.7 |
| Error (%) | 9.8 | 8.6 | 9.2 | 10.2 | 8.6 | 9.3 ± 0.7 |
| CAP-UDF | Calculated Volume (cm3) | 266.6 | 497.6 | 951.1 | 1463.6 | 1591.7 | 954.1 |
| Accuracy (%) | 93.06 | 94.46 | 94.03 | 93.04 | 94.41 | 93.80 ± 0.70 |
| Error (%) | 6.94 | 5.54 | 5.97 | 6.96 | 5.59 | 6.20 ± 0.70 |
| Proposed Method | Calculated Volume (cm3) | 242.4 | 510.1 | 865.1 | 1406.6 | 1629.0 | 930.6 |
| Accuracy (%) | 97.2 | 96.8 | 96.4 | 97.2 | 96.6 | 96.9 ± 0.4 |
| Error (%) | 2.8 | 3.2 | 3.6 | 2.8 | 3.4 | 3.2 ± 0.4 |
Table 7.
Paired-bootstrap analysis of volumetric error reduction.
Table 7.
Paired-bootstrap analysis of volumetric error reduction.
| Morphology | Conventional Error (%) | Proposed Error (%) | Reduction (pp) | 95% Bootstrap CI (pp) |
|---|
| Circular | 8.48 | 3.68 | 4.80 | [3.98, 5.68] |
| Triangular | 8.95 | 3.22 | 5.74 | [5.43, 6.03] |
| Rectangular | 9.27 | 3.14 | 6.13 | [5.38, 6.94] |
| Overall | 8.90 | 3.35 | 5.56 | [5.17, 5.97] |
Table 8.
Volume-accuracy sensitivity to the RANSAC inlier threshold.
Table 8.
Volume-accuracy sensitivity to the RANSAC inlier threshold.
| Threshold | Circular (%) | Triangular (%) | Rectangular (%) | Overall (%) |
|---|
| 2.0 mm | 96.54 ± 0.67 | 97.00 ± 0.60 | 97.07 ± 0.36 | 96.87 ± 0.57 |
| 2.5 mm | 96.32 ± 0.67 | 96.78 ± 0.60 | 96.86 ± 0.37 | 96.65 ± 0.57 |
| 3.0 mm | 95.79 ± 0.67 | 96.24 ± 0.60 | 96.32 ± 0.37 | 96.12 ± 0.57 |